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)