Hi. I have been advised my first email is too large. Managed to copy/paste the error messages and resend. Thanks for your help! Best Regards, Amine
Undefined symbols for architecture x86_64: "QuantLib::Date::Date(boost::posix_time::ptime const&)", referenced from: src::FileUtilities::assetfixings<double>::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in MainEntryMenu.o "QuantLib::operator==(QuantLib::Date const&, QuantLib::Date const&)", referenced from: src::FileUtilities::assetfixings<double>::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in MainEntryMenu.o "QuantLib::operator<(QuantLib::Date const&, QuantLib::Date const&)", referenced from: std::__1::__tree_node_base<void*>*& std::__1::__tree<std::__1::__value_type<QuantLib::Date, double>, std::__1::__map_value_compare<QuantLib::Date, std::__1::__value_type<QuantLib::Date, double>, std::__1::less<QuantLib::Date>, true>, std::__1::allocator<std::__1::__value_type<QuantLib::Date, double> > >::__find_equal<QuantLib::Date>(std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*&, QuantLib::Date const&) in MainEntryMenu.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
either your library does not have the required x86_64 architecture or you did not link the it properly in xcode. For xcode, it is better to use framework.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Just to check: - how did you set the preprocessor flag? Did you do it when compiling both the library and your project? - how are you adding QuantLib to your project? Luigi On Sat, May 27, 2017 at 10:04 AM CK TUNG <[hidden email]> wrote:
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |