<div dir="auto"><div>Hi, <div dir="auto">using cmake instead of make for compilation should help with the issues related to linking to the external libraries.<div dir="auto">M.</div></div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 22, 2021, 19:30 Philippe Vernant <<a href="mailto:phil.vernant@gmail.com">phil.vernant@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Martin,<br>
<br>
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.<br>
<br>
Thanks a lot for your help !<br>
Phil<br>
<br>
<br>
> On 18 Jun 2021, at 18:33, Martin Budaj <<a href="mailto:m.budaj@gmail.com" target="_blank" rel="noreferrer">m.budaj@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> try to compile the latest commit in the master branch, which contains<br>
> the updated Catch2 library – not sure if the issue has been fixed,<br>
> though.<br>
> You can also use cmake to link to the system Catch2 library (details<br>
> on cmake compilation are in the thbook).<br>
> <br>
> Martin<br>
> <br>
> On Thu, Jun 17, 2021 at 10:51 PM Philippe Vernant<br>
> <<a href="mailto:phil.vernant@gmail.com" target="_blank" rel="noreferrer">phil.vernant@gmail.com</a>> wrote:<br>
>> <br>
>> Hi guys,<br>
>> <br>
>> 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 :<br>
>> <br>
>> extern/catch2/catch.hpp:8205:13: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?<br>
>> CATCH_BREAK_INTO_DEBUGGER();<br>
>> ^<br>
>> extern/catch2/catch.hpp:7916:83: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'<br>
>> #define CATCH_BREAK_INTO_DEBUGGER() []{ if( Catch::isDebuggerActive() ) { CATCH_TRAP(); } }()<br>
>> ^<br>
>> extern/catch2/catch.hpp:7881:34: note: expanded from macro 'CATCH_TRAP'<br>
>> #define CATCH_TRAP() __asm__("int $3\n" : : ) /* NOLINT */<br>
>> ^<br>
>> <inline asm>:1:2: note: instantiated into assembly here<br>
>> int $3<br>
>> ^<br>
>> 1 error generated.<br>
>> make: *** [utest-main.o] Error 1<br>
>> <br>
>> Thanks,<br>
>> Phil<br>
>> <br>
>> _______________________________________________<br>
>> Therion mailing list<br>
>> <a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a><br>
>> <a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
> _______________________________________________<br>
> Therion mailing list<br>
> <a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a><br>
> <a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
<br>
_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank" rel="noreferrer">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div></div></div>