 |
Linux Format forums Help, discussion, magazine feedback and more
|
| View previous topic :: View next topic |
| Author |
Message |
genux
Joined: Thu Mar 25, 2010 10:18 am Posts: 1
|
Posted: Thu Mar 25, 2010 10:23 am Post subject: Hanging chad |
|
|
Was wondering if anyone has got the full source code for hanging chad, I got one but I am getting errors trying to compile it.
| Code: |
In file included from chad.cpp:1:
chad.h:1:19: error: Ogre.h: No such file or directory
chad.h:3:27: error: SDL/SDL_mixer.h: No such file or directory
In file included from chad.h:7,
from chad.cpp:1:
chadframelistener.h:1:32: error: OgreFrameListener.h: No such file or directory
chadframelistener.h:2:33: error: OgreEventListeners.h: No such file or directory
In file included from chad.cpp:1:
chad.h:5: error: ‘Ogre’ is not a namespace-name
chad.h:5: error: expected namespace-name before ‘;’ token
In file included from chad.h:7,
from chad.cpp:1:
chadframelistener.h:4: error: expected class-name before ‘,’ token
chadframelistener.h:4: error: expected class-name before ‘,’ token
chadframelistener.h:4: error: expected class-name before ‘{’ token
chadframelistener.h:6: error: expected ‘)’ before ‘*’ token
chadframelistener.h:12: error: ISO C++ forbids declaration of ‘FrameEvent’ with no type
chadframelistener.h:12: error: expected ‘,’ or ‘...’ before ‘&’ token
chadframelistener.h:20: error: ISO C++ forbids declaration of ‘FrameEvent’ with no type
chadframelistener.h:20: error: expected ‘,’ or ‘...’ before ‘&’ token
chadframelistener.h:24: error: ‘MouseEvent’ has not been declared
chadframelistener.h:25: error: ‘MouseEvent’ has not been declared
chadframelistener.h:26: error: ‘MouseEvent’ has not been declared
chadframelistener.h:28: error: ‘MouseEvent’ has not been declared
chadframelistener.h:29: error: ‘MouseEvent’ has not been declared
chadframelistener.h:31: error: ‘MouseEvent’ has not been declared
chadframelistener.h:36: error: ‘MouseEvent’ has not been declared
chadframelistener.h:42: error: ISO C++ forbids declaration of ‘InputReader’ with no type
|
I did notice that someone else said that there should be a ORGE directory but I do not have that ?
I was just wondering if anyone had the full source code ? PM if you want to the source code if it is not the best place to have as a attachment..
thanks genux _________________ codingfriends |
|
| Back to top |
|
 |
nelz Moderator

Joined: Mon Apr 04, 2005 12:52 pm Posts: 8002 Location: Warrington, UK
|
Posted: Thu Mar 25, 2010 1:55 pm Post subject: |
|
|
You don't say which distro you're using but it looks like you may be missing the -dev or -devel packages for ogre and sdl. Check which of these libraries are installed in your package manager then install the corresponding develop files/ _________________ Unix is user-friendly. It's just very selective about who it's friends are. |
|
| Back to top |
|
 |
| View previous topic :: View next topic |
|
|
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 vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|