If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Leopard2A5
Posts: 2 Joined: Thu Jul 10, 2008 12:21 pm
Location: Germany
Post
by Leopard2A5 » Thu Jul 10, 2008 12:24 pm
Hi guys!
I just downloaded the engine and tried to compile the HelloWorld example but i get this kinds of errors:
undefined reference to XOpenDisplay.
I use Ubuntu Hardy with gcc, IDE is Code::Blocks.
Can anybody help me?
THX in advance!
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Thu Jul 10, 2008 12:42 pm
There are no project files for the examples with C::B under Linux, but you can just take the Makefiles which are all working as expected. If you IDE cannot use external Makefiles you should at least use the information about additional libraries necessary for compilation from the Makefiles.
randomMesh
Posts: 1186 Joined: Fri Dec 29, 2006 12:04 am
Post
by randomMesh » Thu Jul 10, 2008 12:46 pm
Add the following libraries:
GL
Xxf86vm
Xext
X11
Leopard2A5
Posts: 2 Joined: Thu Jul 10, 2008 12:21 pm
Location: Germany
Post
by Leopard2A5 » Thu Jul 10, 2008 12:57 pm
Adding the libraries worked!
THX