JuliaOpt / CoinOptServices.jl

Julia interface to COIN-OR Optimization Services https://projects.coin-or.org/OS
Other
16 stars 4 forks source link

Error building CoinOptServices on Ubuntu 17.04 #36

Open Kratos009 opened 6 years ago

Kratos009 commented 6 years ago

In file included from /usr/include/c++/6/string:52:0, from /root/.julia/v0.5/Cbc/deps/usr/include/coin/CoinError.hpp:9, from /root/.julia/v0.5/Cbc/deps/usr/include/coin/CoinHelperFunctions.hpp:25, from ../../../../Couenne/src/problem/../readnl/readnl.cpp:17: /usr/include/c++/6/bits/basic_string.h: In function 'double std::cxx11::stod(const string&, std::size_t*)': /usr/include/c++/6/bits/basic_string.h:5458:31: error: 'strtod_ASL' is not a member of 'std' { return __gnu_cxx::stoa(&std::strtod, "stod", __str.c_str(), __idx); } ^~~ /usr/include/c++/6/bits/basic_string.h:5458:31: note: suggested alternative: In file included from ../../../../Couenne/src/problem/../readnl/readnl.cpp:11:0: /root/.julia/v0.5/Ipopt/deps/usr/include/coin/ThirdParty/asl.h:1107:16: note: 'strtod_ASL' extern double strtod_ASL(Const char, char); ^~~~~~ Makefile:503: recipe for target 'readnl.lo' failed make[2]: [readnl.lo] Error 1 make[2]: Leaving directory '/root/.julia/v0.5/CoinOptServices/deps/src/OS-2.9.2/build/Couenne/src/problem' Makefile:476: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/root/.julia/v0.5/CoinOptServices/deps/src/OS-2.9.2/build/Couenne' Makefile:310: recipe for target 'all-recursive' failed make: [all-recursive] Error 1