Hi,

I managed to build and install TULIP on macOS Sierra. Unfortunately, it seems that I cannot compile the tutorials from the webpage given that I am having this:

Undefined symbols for architecture x86_64:
  "tlp::saveGraph(tlp::Graph*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, tlp::PluginProgress*)", referenced from:
      _main in tutorial001-2bf0f5.o
  "operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, tlp::Graph const*)", referenced from:
      _main in tutorial001-2bf0f5.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have tried the following (more about this in my StackOverflow question):

  1. Executing install_name_tool -id "@/usr/local/lib/requiredlib.dylib" /usr/local/lib/requiredlib.dylib
  2. Adding -L/usr/local/lib to the compilation options.
  3. Adding all the dylib paths explicitly to the compilation options.
  4. Try to add DYLD_LIBRARY_PATH unsuccessfully since Sierra doesn't allow to set that variable for security reasons (Apple's SIP).

I know that g++ is not able to find the compiled the dylibs (installed at /usr/local/include) since the error also mentions a lot of specific symbols that are part of the dylibs.

How is it possible to overcome this obstacle?