Amine Ifri
2017-05-25 20:33:18 UTC
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
"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)
Best Regards,
Amine
Hello QL community,
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)
Note that I have set up the correct QL Preprocessor flag to use the specific constructors QL::Date(const boost::posix_time::time& ). I am using the standard library libc++ and gnu++0X as a compiler. I have successfully built the other project on Eclipse in the past, but for some reason I canât get it to build using Xcode.
Your help is much appreciated.
Thanks
Amine
Your help is much appreciated.
Thanks
Amine