You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I download this project and try to make it but failed on the macbook(M1 air)
The detailed error message is as follows:
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:2069:58: note: expanded from macro 'DOCTEST_CHECK_THROWS_WITH_AS'
#define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, VA_ARGS)
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:2029:13: note: expanded from macro 'DOCTEST_ASSERT_THROWS_AS'
DOCTEST_ASSERT_LOG_AND_REACT(_DOCTEST_RB);
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:1727:9: note: expanded from macro 'DOCTEST_ASSERT_LOG_AND_REACT'
DOCTEST_BREAK_INTO_DEBUGGER();
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:351:47: note: expanded from macro 'DOCTEST_BREAK_INTO_DEBUGGER'
#define DOCTEST_BREAK_INTO_DEBUGGER() asm("int $3\n" : :)
^
:1:2: note: instantiated into assembly here
int $3
^
3 errors generated.
make[2]: *** [_deps/nlohmann_json-build/test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o] Error 1
make[1]: *** [_deps/nlohmann_json-build/test/CMakeFiles/test-udt_macro.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Maybe caused by different version of cmake dependency nlohmann/json, in pchgs/lib/CMakeLists.txt, change nlohmann_json from 3.9.1 to 3.11.3. It works for my machine (macOS 14.5, M3) :).
I download this project and try to make it but failed on the macbook(M1 air)
The detailed error message is as follows:
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:2069:58: note: expanded from macro 'DOCTEST_CHECK_THROWS_WITH_AS'
#define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, VA_ARGS)
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:2029:13: note: expanded from macro 'DOCTEST_ASSERT_THROWS_AS'
DOCTEST_ASSERT_LOG_AND_REACT(_DOCTEST_RB);
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:1727:9: note: expanded from macro 'DOCTEST_ASSERT_LOG_AND_REACT'
DOCTEST_BREAK_INTO_DEBUGGER();
^
/Users/feiaiyue/euro-meets-neurips-2022/pchgs/build/_deps/nlohmann_json-src/test/thirdparty/doctest/doctest.h:351:47: note: expanded from macro 'DOCTEST_BREAK_INTO_DEBUGGER'
#define DOCTEST_BREAK_INTO_DEBUGGER() asm("int $3\n" : :)
^
:1:2: note: instantiated into assembly here
int $3
^
3 errors generated.
make[2]: *** [_deps/nlohmann_json-build/test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o] Error 1
make[1]: *** [_deps/nlohmann_json-build/test/CMakeFiles/test-udt_macro.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: