SuperElastix / SimpleElastix

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

error of compiling on linux #484

Open YinYunchao opened 1 year ago

YinYunchao commented 1 year ago

Hi,

I was trying to install SimpleElastix on a Linux system, and I got error about building SimpleITK after command line make -j4. I was using GCCcore-10.2.0, and please find the error below, can anyone help me with the error? and what is the Tcl_MainEx? Thanks in advance!

CMakeFiles/SimpleITKTclsh.dir/SimpleITKTCL_wrap.cxx.o:SimpleITKTCL_wrap.cxx:function main: error: undefined reference to 'Tcl_MainEx' collect2: error: ld returned 1 exit status make[5]: [Wrapping/Tcl/bin/SimpleITKTclsh] Error 1 make[4]: [Wrapping/Tcl/CMakeFiles/SimpleITKTclsh.dir/all] Error 2 make[3]: [all] Error 2 make[2]: [SimpleITK-prefix/src/SimpleITK-stamp/SimpleITK-build] Error 2 make[1]: [CMakeFiles/SimpleITK.dir/all] Error 2 make: [all] Error 2