PocketMatrix forums

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

compiling error

Dear All,
I'm new with PocketFrog. I got some source code and I'd like to compile it. I'm working with eMbedded VC++ 4.0 and PocketFrog 0.8.1 below my problem:
In a class there is the fallowing definition

Frog::DisplayDevice* m_display;

but in compilation time I get:

error C2039: 'DisplayDevice' : is not a member of 'Frog'

Where am I wrong?
Thanks.
Conan · 30 Nov 2004, 12:49 UTC — DisplayDevice is now Display
see this thread http://www.pocketmatrix.com/forums/viewtopic.php?t=17619&postdays;=0&postorder;=asc&start;=15

Also from that thread:-
Things I noticed different so far (for those who haven't tried porting an older pocketFrog program)...

DisplayDevice is now Display
Change ORIENTATION_NORTH, etc., to ORIENTATION_NORMAL

PocketPC::GetModel is missing, although I'm not really sure what it was ever used for.

The KeyList variable is already defined as m_keys, so you can remove the code that is something like
'const InputDevice::KeyList& keys = GetInput()->GetKeyList();'

Also, I had to move the pocketfrog.h file from pocketfrog/pocketfrog/ back one level to get it where it seemed like it needed to be (since it references things inside the source folder). Maybe it's something to do with how I've got my directories set up.
It sounds like you are trying to use pre-HAL code. The newer version of PF changed quite a few things and iirc, DisplayDevice was changed to Display.

Try changing it to this:

Code:
Frog::Display* m_display