Double Precision Problem

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

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
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.
You do not have the required permissions to view the files attached to this post.
User avatar
Dr.Shepherd
Posts: 168
Joined: Tue Jan 04, 2011 11:47 pm

Re: Double Precision Problem

Post by Dr.Shepherd »

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

Cheers.