This site is no longer active and is available for archival purposes only. Registration and login is disabled.

PF/PH does not work correctly with Visual.NET 2003 - solved


PF/PH does not work correctly with Visual.NET 2003 - solved

Postby Marco » Mar 10, 2005 @ 4:14pm

PocketFrog/PocketHal 0.8.1 does not work with Visual Studio .NET 2003 on Release config...
After i tried to compile several samples that came with PF/PH the outcome is the same.
In Debug config, everything runs OK, but in Release config (i left all settings orginial and did not change

anything, ) there are errors...

It seems that it has something to do with Frog::Rasterizer::Clear and Frog::Rasterizer::SetBlending functions

Is there anyone who has tried to compile alpha, blit, ... projects shipped with PocketFrog 0.8.1 on VS.NET 2003 ?

Thank you.



here comes build log from alpha sample:


------- Build started: Project: alpha, Configuration: Release|Win32 -------


Creating temporary file "d:\Windows CE Tools\MyProjects\PocketFrog\samples\alpha\Release\RSP000003.rsp" with

contents
[
/O2 /I "../.." /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /FD /EHsc /MT /YX"stdafx.h" /Fp".\Release/Alpha.pch"

/Fo".\Release/" /Fd".\Release/" /W3 /c
".\Alpha.cpp"
]
Creating command line "cl.exe @"d:\Windows CE Tools\MyProjects\PocketFrog\samples\alpha\Release\RSP000003.rsp"

/nologo"
Creating command line "rc.exe /d "NDEBUG" /l 0x409 /fo".\Release/alpha.res" ".\alpha.rc""
Creating temporary file "d:\Windows CE Tools\MyProjects\PocketFrog\samples\alpha\Release\RSP000004.rsp" with

contents
[
/OUT:".\Release/Alpha.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"../../lib" /PDB:".\Release/Alpha.pdb"

/SUBSYSTEM:WINDOWS /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib

shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
".\Release\alpha.obj"
".\Release\alpha.res"
]
Creating command line "link.exe @"d:\Windows CE Tools\MyProjects\PocketFrog\samples\alpha\Release\RSP000004.rsp""

Compiling...
Alpha.cpp
Compiling resources...
Linking...
alpha.obj : error LNK2019: unresolved external symbol "public: void __thiscall

Frog::Rasterizer::SetBlending(unsigned char)" (?SetBlending@Rasterizer@Frog@@QAEXE@Z) referenced in function

"public: virtual void __thiscall alphaSample::GameLoop(void)" (?GameLoop@alphaSample@@UAEXXZ)
alpha.obj : error LNK2019: unresolved external symbol "public: void __thiscall Frog::Rasterizer::Clear(unsigned

short)" (?Clear@Rasterizer@Frog@@QAEXG@Z) referenced in function "public: virtual bool __thiscall

alphaSample::GameInit(void)" (?GameInit@alphaSample@@UAE_NXZ)
.\Release/Alpha.exe : fatal error LNK1120: 2 unresolved externals

Build log was saved at "file://d:\Windows CE Tools\MyProjects\PocketFrog\samples\alpha\Release\BuildLog.htm"
alpha - 3 error(s), 0 warning(s)
Last edited by Marco on Mar 10, 2005 @ 6:10pm, edited 1 time in total.
User avatar
Marco
pm Member
 
Posts: 3
Joined: Mar 10, 2005 @ 1:30pm
Location: Slovakia


Postby fast_rx » Mar 10, 2005 @ 5:00pm

Have you rebuilt the PF libraries with the VS net compiler?
User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


It's working :)

Postby Marco » Mar 10, 2005 @ 6:06pm

I tried to open sample projects using make/PocketFrog.dsw which is provided as a part of PF installation - it covers all sample projects and pocketfrog sources within 1 solution and tadaaaaaaa.... now compiles every sample project even on release config.

:oops:

problem solved... :D
User avatar
Marco
pm Member
 
Posts: 3
Joined: Mar 10, 2005 @ 1:30pm
Location: Slovakia


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron