I am trying to compile quantlib in eclipse using cdt 3.0.2. I got quantlib to compile on another machine using CDT 2.x.x version
Now I get the following error in the make for the sobolrsg.cpp. ./ql/RandomNumbers/sobolrsg.o: In function `_ZN8QuantLib8SobolRsgC2EjmNS0_17DirectionIntegersE': /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1276: undefined reference to `_PrimitivePolynomials' /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1280: undefined reference to `_PrimitivePolynomials' ./ql/RandomNumbers/sobolrsg.o: In function `_ZN8QuantLib8SobolRsgC1EjmNS0_17DirectionIntegersE': /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1276: undefined reference to `_PrimitivePolynomials' /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1280: undefined reference to `_PrimitivePolynomials' collect2: ld returned 1 exit status make: *** [Quantlib.dll] Error 1 Any thoughts? Thank you Joe A man is not the center of his universe, rather those he loves are. So his focus should always be on them for they will provide him with love and happiness all of his life - Anonymous
Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. |
Joe,
I had this same issue... the quick fix is to change the
extension on the file primitivepolynomials.c to .cpp. The default for C++
projects in CDT ignore C files. Alternatively you can change the C++ project
settings to include.c files.
-Ari From: [hidden email] [mailto:[hidden email]] On Behalf Of Joe Byers Sent: Thursday, March 02, 2006 11:31 AM To: [hidden email] Subject: [Quantlib-users] compiling Quantlib Eclipse with CDT 3.0.2 Now I get the following error in the make for the sobolrsg.cpp. ./ql/RandomNumbers/sobolrsg.o: In function `_ZN8QuantLib8SobolRsgC2EjmNS0_17DirectionIntegersE': /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1276: undefined reference to `_PrimitivePolynomials' /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1280: undefined reference to `_PrimitivePolynomials' ./ql/RandomNumbers/sobolrsg.o: In function `_ZN8QuantLib8SobolRsgC1EjmNS0_17DirectionIntegersE': /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1276: undefined reference to `_PrimitivePolynomials' /cygdrive/c/dwork/workspace/Quantlib/Debug/../ql/RandomNumbers/sobolrsg.cpp:1280: undefined reference to `_PrimitivePolynomials' collect2: ld returned 1 exit status make: *** [Quantlib.dll] Error 1 Any thoughts? Thank you Joe A man is not the center of his universe, rather those he loves are. So his focus should always be on them for they will provide him with love and happiness all of his life - Anonymous
Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. ------------------------------------------------------------------------------ |
Free forum by Nabble | Edit this page |