SuperElastix / SimpleElastix

Multi-lingual medical image registration library
http://simpleelastix.github.io
Apache License 2.0
513 stars 149 forks source link

issue of compiling on macOS #352

Open 20zzyw opened 4 years ago

20zzyw commented 4 years ago

Hello! As I was trying to compile SimpleElastix on macOS 10.15 and entering command in terminal as follow: cmake -DCMAKE_CXX_COMPILER:STRING=/usr/bin/clang++ -DCMAKE_C_COMPILER:STRING=/usr/bin/clang /Users/zhangyuwei/SimpleElastix/SuperBuild

It returned: Performing Test Weak Link MODULE -> SHARED (gnu_ld_ignore) - Failed

Could you please tell me how can I overcome this issue? thx.

Screen Shot 2020-02-07 at 5 48 07 PM

kaspermarstal commented 4 years ago

Have tried running make -j4? If not, try to run this command in the build directory after you have run the cmake command. Let me know how it goes!

20zzyw commented 2 years ago

Have tried running make -j4? If not, try to run this command in the build directory after you have run the cmake command. Let me know how it goes!

Yes! It works. Thanks a lot.