[Nauty] Installation of OApackage failed on OSX

Saul Spatz saul.spatz at gmail.com
Wed May 15 02:22:34 AEST 2019


Hi,

I tried to install OApackage on OSX 10.14.4 (Mojave) with pip.
Installation failed at this point:

    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common
-dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include
-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers
-I. -Isrc -I/usr/local/lib/python3.7/site-packages/numpy/core/include
-I/usr/local/include -I/usr/local/opt/openssl/include
-I/usr/local/opt/sqlite/include
-I/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m
-c src/lmc.cpp -o build/temp.macosx-10.14-x86_64-3.7/src/lmc.o -DSWIGCODE
-DFULLPACKAGE -Isrc/nauty/ -DNOOMP -DUSEZLIB -O3 -Wno-unknown-pragmas
-Wno-sign-compare -Wno-return-type -Wno-unused-variable -Wno-unused-result
-fPIC -Wno-date-time

    src/lmc.cpp:23:9: error: no matching function for call to 'myassert'

            myassert (!x);

            ^~~~~~~~

    src/tools.h:79:6: note: candidate function not viable: requires 2
arguments, but 1 was provided

    void myassert (int condition, const char *error_message );

         ^

    1 error generated.

    error: command 'clang' failed with exit status 1


Is there a workaround?


Thanks,

Saul


More information about the Nauty mailing list