|
From: Daniele C. <dca...@in...> - 2007-06-04 07:33:50
|
I have made a breakthrough. Now the compiling is correct but I have a linking error: 1>Linking... 1> Creating library ../../../SDK/Libraries/Windows/Stub/Quesa.lib and object ../../../SDK/Libraries/Windows/Stub/Quesa.exp 1>QOLights.obj : error LNK2019: unresolved external symbol "public: void __thiscall QORenderer::ShadowMarker::MarkShadowOfTriMesh ... 1>QOLights.obj : error LNK2019: unresolved external symbol "public: void __thiscall QORenderer::ShadowMarker::MarkShadowOfTriangle ... James Walker ha scritto: > James W. Walker wrote: > > >> It looks like INFINITY is from C99, not C++... is there a C99 >> compatibility option you can turn on? >> >> INFINITY is only used in QOLights.cpp, right? You could try adding this >> >> #ifndef INFINITY >> #define INFINITY std::numeric_limits<float>::infinity() >> #endif >> >> in that file just after the #includes. >> > > P.S. I have checked in changes to QOLights.cpp and E3Math.c, replacing > INFINITY with std::numeric_limits<float>::infinity() and including > <limits>. Let me know if that works for you. > |