SuperElastix / SimpleElastix

Multi-lingual medical image registration library

Home Page:http://simpleelastix.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error of compiling on linux

YinYunchao opened this issue · comments

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