Changes between Version 46 and Version 47 of current-issues


Ignore:
Timestamp:
Aug 6, 2014 11:04:56 AM (6 years ago)
Author:
gidden
Comment:

per the discussion here: http://list.coin-or.org/pipermail/cbc/2014-August/001445.html

Legend:

Unmodified
Added
Removed
Modified
  • current-issues

    v46 v47  
    109109 * On '''MacOS X 10.9''', the default C++ standard library used by the Xcode compilers has changed to libc++ (LLVM/clang), rather than libstdc++ (GNU). This can cause strange link errors when linking C++ code into C or Fortran libraries or executables. The errors may be of the form "Undefined symbols for architecture x86_64" for many symbols that begin with {{{std::__1::}}}, which should be coming from libc++. BuildTools currently assumes the default C++ library is libstdc++ in most cases, [https://projects.coin-or.org/BuildTools/changeset/3045 this patch] will fix the issue but may take some time to be ready for release. There are two workarounds: either let BuildTools know that the C++ standard library is libc++ by configuring with {{{CXXLIBS=-lc++}}}, or tell the clang++ compiler to use libstdc++ as its standard library by configuring with {{{ADD_CXXFLAGS="-stdlib=libstdc++"}}}.
    110110
     111 * If you see an error like {{{error: 'CLP_VERSION' was not declared in this scope}}}, check to see if your {{{CPLUS_INCLUDE_PATH}}} is set; if so check to see if there is a {{{coin}}} directory in that path and remove it.
     112
    111113== Execution ==
    112114