Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hanging chad

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
genux



Joined: Thu Mar 25, 2010 10:18 am
Posts: 1

PostPosted: Thu Mar 25, 2010 10:23 am    Post subject: Hanging chad Reply with quote

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
View user's profile Send private message Visit poster's website
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8464
Location: Warrington, UK

PostPosted: Thu Mar 25, 2010 1:55 pm    Post subject: Reply with quote

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/
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
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
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast