#include<irrlicht.h>
int main() { IrrlichtDevice *device; return 0; };
That is the simplist right? gcc does not say anything about not finding irrlicht.h. oh right, errors:
Sorry, i cant get the errors, but IrrlichtDevice is undeclared, thats the problem whats wrong with gcc
Last edited by Dr.Bunshin on Sat Aug 11, 2007 5:11 pm, edited 2 times in total.
Dr.Bunshin wrote:oh right, errors:
grr, I cant get it to do redirect in dsl and I dont have middle mouse button. any tips?
Sure, you can use that thing called keyboard. It's maybe not as comfortable as the middle mouse button, but still usable in emergency situations like this one.
lol thanks but If there is a stroke for copy from xterm, tell me cause i dont know. ctrl + c does not work to my experience. also, i dont like the mouse, at home i prefer VR glove.
Also don't forget to link irrlicht library.
Oh, and one another thing - if you are booting DSL from pendrive - that's ok, but if you installed it and boot from hdd - swap to some "full" distro - I recommend Ubuntu
Well, Im using DSL cause it runs well on this antique laptop, thats all. I did link against the irrlicht library but i still have a small linker problem. Its something to do with irrlichts allocator. One of the errors goes something like this "Undefined refrence to operator delete(void*)"
Any ideas?
Thanks in advance, even if you dont fix it.
Last edited by Dr.Bunshin on Thu Aug 09, 2007 3:36 pm, edited 1 time in total.
Linking against the proper C library maybe? Or stdc++ library? Make sure that you name your C++ files .cpp or .cc such that gcc chooses the correct mode, and use g++ when linking the app.
Just use doxygen to create a html set or even a pdf from the actual sources from SDK. You can use the doxygen config file from scripts/, just enable the parts you want.
I would prefer to build my own html documentation, so where is this scripts/ you speak of? Its not in my irrlicht sdk nor is it in the doxygen as far as i can tell. Thanks some more for the help guys.
Edit: Also, I got a funny linker error. Its a undefined refrence to the createDevice() function. Sup with that?