-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I am trying to compile the library on an Apple Silicon machine.
I follow the following instruction with only modification of
if (APPLE)
set(CMAKE_CXX_COMPILER "/usr/bin/g++")
elseif (UNIX)
set(CMAKE_CXX_COMPILER "/usr/bin/g++-12")
endif ()git clone --recursive https://github.com/ajpgarner/moment.git
cd moment
cmake . -DCMAKE_BUILD_TYPE=Release
cmake --build .and I get the following error
/Users/exaclior/projects/moment/cpp/mex_functions/errors.cpp:9:10: fatal error: 'mex.hpp' file not found
9 | #include "mex.hpp"
| ^~~~~~~~~
1 error generated.
gmake[2]: *** [cpp/mex_functions/CMakeFiles/moment_mex.dir/build.make:93: cpp/mex_functions/CMakeFiles/moment_mex.dir/errors.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:577: cpp/mex_functions/CMakeFiles/moment_mex.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels