Double Precision Problem

Post Reply
User avatar
Dr.Shepherd
Posts: 168
Joined: Tue Jan 04, 2011 11:47 pm
Contact:

Double Precision Problem

Post by Dr.Shepherd »

I compiled the library in double-precision mode by editing the CMakeList.tex

Code: Select all

OPTION(USE_DOUBLE_PRECISION "Use double precision"      ON)
And in my project, I am using Codeblocks, and I added the option in #define:
define.png
define.png (38.68 KiB) Viewed 3399 times
But the project won't compile properly, the error says:

Code: Select all

GL_ShapeDrawer.cpp|| undefined reference to `btShapeHull::buildHull(float)'
Am I missing out something ? Cheers.
User avatar
Dr.Shepherd
Posts: 168
Joined: Tue Jan 04, 2011 11:47 pm
Contact:

Re: Double Precision Problem

Post by Dr.Shepherd »

Sorry, I think I found the reason, the libOpenGLSupport.a should be updated as well.

Cheers.
Post Reply