PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

supersample linking issue in PF0.7?

Greetings;

I'm using PF0.7, eVC++ 3, and stlport 4.5.3. I can compile PocketFrog and most samples fine, with the exception of supersample. I get linking errors during compilation (shown at the end of this message). Both the pf library and the supersample targets are WCE x86 so I can see them in the emulator.

Any ideas?
Thanks!
Rep.

--

--------------------Configuration: supersample - Win32 (WCE x86) Release--------------------
Compiling resources...
Compiling...
FilledPolysScreen.cpp
SuperSample.cpp
VGATextScreen.cpp
Linking...
SuperSample.obj : error LNK2019: unresolved external symbol "private: void __thiscall supersample::BlitRotatedStretchScreenGameLoop(class Frog::DisplayDevice *)" (?BlitRotatedStretchScreenGameLoop@supersample@@AAEXPAVDisplayDevice@Frog@@@Z) referenc
ed in function "public: virtual void __thiscall supersample::GameLoop(void)" (?GameLoop@supersample@@UAEXXZ)
SuperSample.obj : error LNK2019: unresolved external symbol "private: void __thiscall supersample::BlitRotatedStretchScreenStylusDown(class Frog::Point)" (?BlitRotatedStretchScreenStylusDown@supersample@@AAEXVPoint@Frog@@@Z) referenced in function "
public: virtual void __thiscall supersample::StylusDown(class Frog::Point)" (?StylusDown@supersample@@UAEXVPoint@Frog@@@Z)
SuperSample.obj : error LNK2019: unresolved external symbol "private: void __thiscall supersample::BlitRotatedStretchScreenStylusMove(class Frog::Point)" (?BlitRotatedStretchScreenStylusMove@supersample@@AAEXVPoint@Frog@@@Z) referenced in function "
public: virtual void __thiscall supersample::StylusMove(class Frog::Point)" (?StylusMove@supersample@@UAEXVPoint@Frog@@@Z)
SuperSample.obj : error LNK2019: unresolved external symbol "private: void __thiscall supersample::BlitRotatedStretchScreenStylusUp(class Frog::Point)" (?BlitRotatedStretchScreenStylusUp@supersample@@AAEXVPoint@Frog@@@Z) referenced in function "publ
ic: virtual void __thiscall supersample::StylusUp(class Frog::Point)" (?StylusUp@supersample@@UAEXVPoint@Frog@@@Z)
SuperSample.obj : error LNK2019: unresolved external symbol "private: void __thiscall supersample::BlitRotatedStretchScreenButtonDown(int)" (?BlitRotatedStretchScreenButtonDown@supersample@@AAEXH@Z) referenced in function "public: virtual void __thi
scall supersample::ButtonDown(int)" (?ButtonDown@supersample@@UAEXH@Z)
SuperSample.obj : error LNK2019: unresolved external symbol "private: void __thiscall supersample::BlitRotatedStretchScreenButtonUp(int)" (?BlitRotatedStretchScreenButtonUp@supersample@@AAEXH@Z) referenced in function "public: virtual void __thiscal
l supersample::ButtonUp(int)" (?ButtonUp@supersample@@UAEXH@Z)
X86Rel/supersample.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

supersample.exe - 7 error(s), 0 warning(s)
Repentant · 28 Jun 2004, 20:17 UTC — D'oh!
That's what I get for not looking too closely :)

Apparently the BlitRotatedStretchScreen.cpp file was not included in the (included) workspace file. A simple adding of the file made for an easy compilation.
My first guess is that you have not got the correct PF .lib built & that's why the other samples work as they use regular PF features but not the extras Frank added?
Hehe, sorry'bout that :)