Gillian_Seed
06-07-2008 11:39:16
Hi,
I've just succesfully compiled the "OgreNewt_Main" project, and I got a fresh new "libOgreNewt_Main.a" file in OgreNewt's lib directory.
(actually, I had to add "#include <stddef.h>" in order to make Newton compile, because, otherwise, I got an "undefined size_t type" error)
I use CodeBlocks, and I've configured the relevant paths to CodeBlocks' settings (for .h, for .lib, and for the resulting .a), but, actually I can't run the OgreNewt's demos, because I got the following error at the end of the successful compilations (demo1 and demo2) :
In the linker settings, I link OgreNewt before Newton, and I also tried the other way, but none of these settings work.
So I got 2 questions :
1) What's the problem with the linker, since I set the relevant path to "newton.lib", in CodeBlocks ?
2) for my project, what is the Newton lib do I have to choose among those in Newton SDK's numerous directories (dll, dll_double, lib_mt, lib_mt_double, lib_st, and lib_st_double) ???
Thanks a lot for your answers !
I've just succesfully compiled the "OgreNewt_Main" project, and I got a fresh new "libOgreNewt_Main.a" file in OgreNewt's lib directory.
(actually, I had to add "#include <stddef.h>" in order to make Newton compile, because, otherwise, I got an "undefined size_t type" error)
I use CodeBlocks, and I've configured the relevant paths to CodeBlocks' settings (for .h, for .lib, and for the resulting .a), but, actually I can't run the OgreNewt's demos, because I got the following error at the end of the successful compilations (demo1 and demo2) :
"cannot find -lnewton"
In the linker settings, I link OgreNewt before Newton, and I also tried the other way, but none of these settings work.
So I got 2 questions :
1) What's the problem with the linker, since I set the relevant path to "newton.lib", in CodeBlocks ?
2) for my project, what is the Newton lib do I have to choose among those in Newton SDK's numerous directories (dll, dll_double, lib_mt, lib_mt_double, lib_st, and lib_st_double) ???
Thanks a lot for your answers !