|
Re: Precompiled headers in Momentics
|
03/30/2011 9:25 PM
post84441
|
Re: Precompiled headers in Momentics
Right now my problem is that I have a static library which is successfully now building using precompiled header.
When I include this library from an application I am getting all sorts of errors about float variants of functions in <
math.h>
Ex.
make.exe[2]: Leaving directory `C:/depot/dev/graphics/qnx/autobahn_demo/arm/o-le-v7-g'
C:/depot/dev/graphics/qnx/autobahn/BoundingSphere.cpp:498: undefined reference to `sqrtf'
make.exe[1]: Leaving directory `C:/depot/dev/graphics/qnx/autobahn_demo/arm'
C:/depot/dev/graphics/qnx/autobahn/arm/a-le-v7-g\libautobahn_g.a(Quaternion.o): In function `Autobahn::Quaternion::
normalize(Autobahn::Quaternion*)':
C:/depot/dev/graphics/qnx/autobahn/Quaternion.cpp:182: undefined reference to `sqrtf'
C:/depot/dev/graphics/qnx/autobahn/arm/a-le-v7-g\libautobahn_g.a(Quaternion.o): In function `cosf':
C:/BBNDK100/target/qnx6/usr/include/math.h:655: undefined reference to `_FSin'
C:/depot/dev/graphics/qnx/autobahn/arm/a-le-v7-g\libautobahn_g.a(Quaternion.o): In function `sinf':
C:/BBNDK100/target/qnx6/usr/include/math.h:675: undefined reference to `_FSin'
C:/depot/dev/graphics/qnx/autobahn/arm/a-le-v7-g\libautobahn_g.a(Quaternion.o): In function `std::acos(float)':
C:/BBNDK100/target/qnx6/usr/include/math.h:699: undefined reference to `acosf'
cc: C:/BBNDK100/host/win32/x86/usr/bin/ntoarm-ld caught signal 1
|
|
|