Is it there any other library I should be linking on Windows that I don't need in OS X?undefined reference to `CProfileManager::Start_Profile(char const*)'
Linker errors in MinGW
-
- Posts: 6
- Joined: Thu Jul 26, 2007 9:27 am
- Location: Madrid, Spain
Linker errors in MinGW
I built Bullet under Windows 7 Beta using the last binary packages of CMake (to generate the Makefiles) and MinGW. During compilations, some demos which were using the GLU library failed to link (while that lib is available in my MinGW installation), but that's fine since I just need the Bullet static libraries. The problem is that when I link my application (using the libraries BulletCollision, BulletDynamics and LinearMath, the same ones I link on Mac OS X without problems), I get several linking errors reagardings the class CProfileManager, just like:
-
- Posts: 508
- Joined: Fri May 30, 2008 2:51 am
- Location: Ossining, New York
Re: Linker errors in MinGW
That should be found in btQuickProf.cpp which should be in the math library
-
- Posts: 508
- Joined: Fri May 30, 2008 2:51 am
- Location: Ossining, New York
Re: Linker errors in MinGW
Alternatively maybe you are compiling half of Bullet with BT_NO_PROFILE and half without
-
- Posts: 6
- Joined: Thu Jul 26, 2007 9:27 am
- Location: Madrid, Spain
Re: Linker errors in MinGW
I don't know, I am just compiling using "mingw32-make" over the Makefile generated by CMake.
-
- Posts: 508
- Joined: Fri May 30, 2008 2:51 am
- Location: Ossining, New York
Re: Linker errors in MinGW
You could try using jam instead, or the visual studio project files
-
- Posts: 6
- Joined: Thu Jul 26, 2007 9:27 am
- Location: Madrid, Spain
Re: Linker errors in MinGW
I'll try using Jam to build Bullet then, since Visual Studio is not an option. I am working on several platforms (Mac OS X, Windows, Linux), and I'm using CodeLite as the IDE in all of them, because using a different editor on each platform would be a nightmare.
-
- Posts: 6
- Joined: Thu Jul 26, 2007 9:27 am
- Location: Madrid, Spain
Re: Linker errors in MinGW
Uhmm... do I need ntmake from Visual C++ in order to build jam itself? :S
-
- Posts: 508
- Joined: Fri May 30, 2008 2:51 am
- Location: Ossining, New York
Re: Linker errors in MinGW
I'm not sure as i went for the 'different editor per platform' approach