Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dgtal does not build on Mac M1 because of Catch #1573

Closed
dcoeurjo opened this issue May 23, 2021 · 3 comments
Closed

Dgtal does not build on Mac M1 because of Catch #1573

dcoeurjo opened this issue May 23, 2021 · 3 comments

Comments

@dcoeurjo
Copy link
Member

In file included from /tmp/DGtal/examples/doc-examples/exampleCatch.cpp:48:
In file included from /tmp/DGtal/examples/doc-examples/DGtalCatch.h:10:
/tmp/DGtal/examples/doc-examples/catch.hpp:7868:13: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
CATCH_BREAK_INTO_DEBUGGER();
^
/tmp/DGtal/examples/doc-examples/catch.hpp:7582:79: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() []{ if( Catch::isDebuggerActive() ) { CATCH_TRAP(); } }()
^
/tmp/DGtal/examples/doc-examples/catch.hpp:7561:34: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() asm("int $3\n" : : ) /* NOLINT */
^
:1:2: note: instantiated into assembly here
int $3
^
1 error generated.
make[2]: *** [examples/doc-examples/CMakeFiles/exampleCatch.dir/exampleCatch.cpp.o] Error 1
make[1]: *** [examples/doc-examples/CMakeFiles/exampleCatch.dir/all] Error 2

@dcoeurjo
Copy link
Member Author

fixed in #1569

@dcoeurjo
Copy link
Member Author

Ok.. not fixed apparently. Catch2 2.13.6 not working on M1 as well

@dcoeurjo
Copy link
Member Author

Fixed #1590

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant