Hi, using cmake instead of make for compilation should help with the issues related to linking to the external libraries. M.
On Tue, Jun 22, 2021, 19:30 Philippe Vernant <[email protected]> wrote: > Hi Martin, > > It worked ok for xtherion with the latest commit in the master branch. I > just have to deal with a vtkHybrid library that doesn’t seems to exist for > VTK8 or VTK9 releases and I will also have loch. > > Thanks a lot for your help ! > Phil > > > > On 18 Jun 2021, at 18:33, Martin Budaj <[email protected]> wrote: > > > > Hi, > > > > try to compile the latest commit in the master branch, which contains > > the updated Catch2 library – not sure if the issue has been fixed, > > though. > > You can also use cmake to link to the system Catch2 library (details > > on cmake compilation are in the thbook). > > > > Martin > > > > On Thu, Jun 17, 2021 at 10:51 PM Philippe Vernant > > <[email protected]> wrote: > >> > >> Hi guys, > >> > >> Has anyone been successful compiling xtherion on a Mac with the M1 chip > and Big Sur ? I can compile and run therion but I have the following error > message and fail to compile xtherion : > >> > >> extern/catch2/catch.hpp:8205:13: error: unrecognized instruction > mnemonic, did you mean: bit, cnt, hint, ins, not? > >> CATCH_BREAK_INTO_DEBUGGER(); > >> ^ > >> extern/catch2/catch.hpp:7916:83: note: expanded from macro > 'CATCH_BREAK_INTO_DEBUGGER' > >> #define CATCH_BREAK_INTO_DEBUGGER() []{ if( > Catch::isDebuggerActive() ) { CATCH_TRAP(); } }() > >> > ^ > >> extern/catch2/catch.hpp:7881:34: note: expanded from macro 'CATCH_TRAP' > >> #define CATCH_TRAP() __asm__("int $3\n" : : ) /* NOLINT */ > >> ^ > >> <inline asm>:1:2: note: instantiated into assembly here > >> int $3 > >> ^ > >> 1 error generated. > >> make: *** [utest-main.o] Error 1 > >> > >> Thanks, > >> Phil > >> > >> _______________________________________________ > >> Therion mailing list > >> [email protected] > >> https://mailman.speleo.sk/listinfo/therion > > _______________________________________________ > > Therion mailing list > > [email protected] > > https://mailman.speleo.sk/listinfo/therion > > _______________________________________________ > Therion mailing list > [email protected] > https://mailman.speleo.sk/listinfo/therion >
_______________________________________________ Therion mailing list [email protected] https://mailman.speleo.sk/listinfo/therion
