Hi,
I checked out the latest quantlib code from svn and built successfully the quantlib dll. When I tried to build CppWrapper dll using the quantlib.cpp, a file that gets generated by skwash plugin using the interfaces files preseint in Quantlib-SWIG/SWIG directory, for loading in java projects, the build has started failing with the following errors: cl /c /EHs /MD /Zi /IC:\Boost\include\boost-1_43 /IC:\Program Files\Java\jdk1.6.0_27\include /IC:\Program Files\Java\jdk1.6.0_27\include\win32 /IC:\work\quantlib\QuantLib /nologo /Foquantlib.obj ..\quantlib.cpp quantlib.cpp link /DLL /debug /nologo /libpath:C:\work\quantlib\QuantLib\lib /libpath:C:\program files\microsoft sdks\windows\v6.0a\lib /OUT:QuantLibCppWrapper.dll quantlib.obj QuantLib-vc100-mt-gd.lib Creating library QuantLibCppWrapper.lib and object QuantLibCppWrapper.exp quantlib.obj : error LNK2019: unresolved external symbol "public: __thiscall QuantLib::FixedRateLeg::operator class std::vector<class boost::shared_ptr<class QuantLib::CashFlow>,class std::allocator<class boost::shared_ptr<class QuantLib::CashFlow> > >(void)const " (??BFixedRateLeg@QuantLib@@QBE?AV?$vector@V?$shared_ptr@VCashFlow@QuantLib@@@boost@@V?$allocator@V?$shared_ptr@VCashFlow@QuantLib@@@boost@@@std@@@std@@XZ) referenced in function "class std::vector<class boost::shared_ptr<class QuantLib::CashFlow>,class std::allocator<class boost::shared_ptr<class QuantLib::CashFlow> > > __cdecl _FixedRateLeg(class QuantLib::Schedule const &,class QuantLib::DayCounter const &,class std::vector<double,class std::allocator<double> > const &,class std::vector<double,class std::allocator<double> > const &,enum QuantLib::BusinessDayConvention,class QuantLib::DayCounter const &)" (?_FixedRateLeg@@YA?AV?$vector@V?$shared_ptr@VCashFlow@QuantLib@@@boost@@V?$allocator@V?$shared_ptr@VCashFlow@QuantLib@@@boost@@@std@@@std@@ABVSchedule@QuantLib@@ABVDayCounter@4@ABV?$vector@NV?$allocator@N@std@@@2@2W4BusinessDayConvention@4@1@Z) I had earlier built the wrapper dll correctly and was able to load it in java. Can someone please let me know what has changed in the new interfaces files. regards, Manas ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |