Using Dev-C++ (QuantLib.dev coming with the distribution) to compile Quantlib-0.3.12, I got those
error. I have boost 1.33 installed and I was able to use the same method to build Quantlib-0.3.11 before. ------------------------------------------ Compiler: Default compiler Building Makefile: "D:\QuantLib-0.3.12\Makefile.win" Executing make... mingw32-make -f "D:\QuantLib-0.3.12\Makefile.win" all g++.exe -c ql/voltermstructure.cpp -o ./build/mingw/voltermstructure.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Dev-Cpp/include/c++/3.4.2" -I"D:/Dev-Cpp/include" -I"D:/Dev-Cpp/include/boost" -I"D:/QuantLib-0.3.12" -I"D:/QuantLib-0.3.12/ql" -I"." -Wall -fexceptions -fexpensive-optimizations -O2 g++.exe -c ql/calendar.cpp -o ./build/mingw/calendar.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Dev-Cpp/include/c++/3.4.2" -I"D:/Dev-Cpp/include" -I"D:/Dev-Cpp/include/boost" -I"D:/QuantLib-0.3.12" -I"D:/QuantLib-0.3.12/ql" -I"." -Wall -fexceptions -fexpensive-optimizations -O2 ql/calendar.cpp:145: error: `class QuantLib::Calendar::OrthodoxImpl' has not been declared mingw32-make: *** [build/mingw/calendar.o] Error 1 Execution terminated __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
I figured out the problem. The wrong order of include directory cause the Makefile.win entry
points to the 3.11 version of .hpp files. --- Yongming <[hidden email]> wrote: > Using Dev-C++ (QuantLib.dev coming with the distribution) to compile Quantlib-0.3.12, I got > those > error. I have boost 1.33 installed and I was able to use the same method to build > Quantlib-0.3.11 before. > ------------------------------------------ > Compiler: Default compiler > Building Makefile: "D:\QuantLib-0.3.12\Makefile.win" > Executing make... > mingw32-make -f "D:\QuantLib-0.3.12\Makefile.win" all > g++.exe -c ql/voltermstructure.cpp -o ./build/mingw/voltermstructure.o > -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Dev-Cpp/include/c++/3.4.2/backward" > -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Dev-Cpp/include/c++/3.4.2" > -I"D:/Dev-Cpp/include" -I"D:/Dev-Cpp/include/boost" -I"D:/QuantLib-0.3.12" > -I"D:/QuantLib-0.3.12/ql" -I"." -Wall -fexceptions -fexpensive-optimizations -O2 > > g++.exe -c ql/calendar.cpp -o ./build/mingw/calendar.o > -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Dev-Cpp/include/c++/3.4.2/backward" > -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Dev-Cpp/include/c++/3.4.2" > -I"D:/Dev-Cpp/include" -I"D:/Dev-Cpp/include/boost" -I"D:/QuantLib-0.3.12" > -I"D:/QuantLib-0.3.12/ql" -I"." -Wall -fexceptions -fexpensive-optimizations -O2 > > ql/calendar.cpp:145: error: `class QuantLib::Calendar::OrthodoxImpl' has not been declared > > mingw32-make: *** [build/mingw/calendar.o] Error 1 > > Execution terminated > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > QuantLib-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/quantlib-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
Free forum by Nabble | Edit this page |