Page 1 of 1

linkage problem

Posted: Thu Jun 05, 2008 4:13 pm
by C++User
Hi for all

I'm testing the "CcdPhysicsDemo" app in my Code::Blocks. My OS is Windows XP Professional.
I created a new project, copied the files to them and link these dirs:
"src", "OpenGL" and "Glut" in my include paths.

Now the problem is the CodeBlocks is telling a lot of undefined references. One of the m is this:
In function "_Z41__static initialization_and_destruction_0ii'
"undefined reference to GLDebugDrawer::GLDebugDrawer()"

So, if someone have used CodeBlocks or not, tell me what's going on.


Thanks for all replies.

Re: linkage problem

Posted: Thu Jun 05, 2008 6:22 pm
by Erwin Coumans
You also need to add the Demos\OpenGL project (libbulletopenglsupport.vcproj).

Doesn't CMake have support to create Codeblocks projectfiles?
Thanks,
Erwin

Re: linkage problem

Posted: Thu Jun 19, 2008 9:17 pm
by C++User
Erwin, cmake have suppor for the codeblocks project. What I need to do now?

Re: linkage problem

Posted: Fri Jun 20, 2008 8:20 am
by Erwin Coumans
Please download cmake and generate codeblocks project files.

If you have problems using cmake or codeblocks, please ask the cmake and/or codeblocks community for help,
Thanks,
Erwin