[Nauty] Installation of OApackage failed on OSX

Brendan McKay Brendan.McKay at anu.edu.au
Wed May 15 11:33:45 AEST 2019


I have no idea since nauty does not contain a myassert() function or 
call one.

You need to ask the author of OApackage, apparently Pieter Eendebak.

Brendan.

On 15/5/19 2:22 am, Saul Spatz wrote:
> 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
> _______________________________________________
> Nauty mailing list
> Nauty at anu.edu.au
> http://mailman.anu.edu.au/mailman/listinfo/nauty



More information about the Nauty mailing list