-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Our system administrator is preventing us from running unsigned application, so I cannot run the compiled version available here.
I'm trying to compile it from source as described in the original documentation.
I've installed cmake with brew, however the latest version that I have access to is 3.28.3.
>>> make --version
cmake version 3.28.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
I've downloaded and extracted boost 1.76.0 into the project root folder then I've created a build folder, moved into it and run:
>>> cmake ../
...
-- Configuring done (19.4s)
-- Generating done (0.6s)
-- Build files have been written to: /Users/stefano/Workspace/2024/SAFRAN/build
No error was reported so I've run:
>>> make
...
/Users/stefano/Workspace/2024/SAFRAN/boost_1_76_0/boost/container_hash/hash.hpp:131:33: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
struct hash_base : std::unary_function<T, std::size_t> {};
~~~~~^~~~~~~~~~~~~~
__unary_function
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here
using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>;
^
3 warnings and 1 error generated.
make[2]: *** [CMakeFiles/lsafran.dir/src/ApplicationEngine.cpp.o] Error 1
make[1]: *** [CMakeFiles/lsafran.dir/all] Error 2
make: *** [all] Error 2
This command unfortunately failed. You suggested to use make (> 9.6.0) but I couldn't find any reference in Google about such version. Can you please share a link where to get such version of the tool?
If the version of cmake I have is ok, should I just update the code as suggested in the make command output? Shall I update the documentation to reflect the patch that must be applied in order to compile SAFRAN?
Thanks in advance for any help, looking forward to try out AnyBURL/SAFRAN!