Hello,
I know, it seems as laziness but i think it takes my days to try to compile.
thanks if somebody posts
Thanks very much, i could "make" the Box2d with some errors which i think about testbed.
it is not very important because i think testbed do not know my gl installation's place.
anyway my question is,
after "make", should not i have ".so" file or files to put them in my "/usr/lib" directory?
i know these are not box2d specific questions but i do not know what to do with those ".o" files.
thanks
The default is to make a static-link library which will be libBox2D.a - check in the build folders for this file.
You can then link this by adding -lBox2D to the command line when you build your executable.
If the compiler complains that the library cannot be found, you may have to specify an extra folder to search for libraries, which is done by adding -L/home/tuxia/coolstuff (change to wherever you put the libBox2D.a file) to the command line, or copy the .a file to /usr/lib or where ever is already being searched.
I am not familiar enough with cmake to know how to set it to build a dynamic-link .so file, but the above should get the job done if you don't mind linking Box2D into your executable.
thanks very much, i am going to try