czimaginginstitute / AreTomo2

BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

Compilation error #8

Open rdrighetto opened 9 months ago

rdrighetto commented 9 months ago

Hi,

I'm trying to compile AreTomo2 following instructions provided on the main GitHub page but am running into the following error:

/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libmrcfile.a(CLoadMrc.o): In function `Mrc::CLoadMrc::CLoadMrc()':
/home/shawn.zheng/Projs/Mrcfile/../../Projs/Mrcfile/App/CLoadMrc.cpp:14: undefined reference to `operator delete(void*, unsigned long)'
/home/shawn.zheng/Projs/Mrcfile/../../Projs/Mrcfile/App/CLoadMrc.cpp:15: undefined reference to `operator delete(void*, unsigned long)'
/home/shawn.zheng/Projs/Mrcfile/../../Projs/Mrcfile/App/CLoadMrc.cpp:16: undefined reference to `operator delete(void*, unsigned long)'
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libmrcfile.a(CLoadMrc.o): In function `Mrc::CLoadMrc::~CLoadMrc()':
/home/shawn.zheng/Projs/Mrcfile/../../Projs/Mrcfile/App/CLoadMrc.cpp:24: undefined reference to `operator delete(void*, unsigned long)'
/home/shawn.zheng/Projs/Mrcfile/../../Projs/Mrcfile/App/CLoadMrc.cpp:25: undefined reference to `operator delete(void*, unsigned long)'
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libmrcfile.a(CLoadMrc.o):/home/shawn.zheng/Projs/Mrcfile/../../Projs/Mrcfile/App/CLoadMrc.cpp:26: more undefined references to `operator delete(void*, unsigned long)' follow
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libutil.a(Util_LinEqs.o): In function `Util_LinEqs::DoIt(float*, float*, int)':
/home/shawn.zheng/Projs/Util/Util_LinEqs.cpp:26: undefined reference to `__cxa_throw_bad_array_new_length'
/home/shawn.zheng/Projs/Util/Util_LinEqs.cpp:27: undefined reference to `__cxa_throw_bad_array_new_length'
/home/shawn.zheng/Projs/Util/Util_LinEqs.cpp:28: undefined reference to `__cxa_throw_bad_array_new_length'
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libutil.a(Util_LinEqs.o): In function `Util_LinEqs::mSwapRows(float*, float*, int)':
/home/shawn.zheng/Projs/Util/Util_LinEqs.cpp:97: undefined reference to `__cxa_throw_bad_array_new_length'
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libutil.a(Util_Powell.o): In function `Util_Powell::~Util_Powell()':
/home/shawn.zheng/Projs/Util/Util_Powell.cpp:22: undefined reference to `operator delete(void*, unsigned long)'
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libutil.a(Util_Powell.o): In function `Util_Powell::Setup(int, int, float)':
/home/shawn.zheng/Projs/Util/Util_Powell.cpp:48: undefined reference to `__cxa_throw_bad_array_new_length'
/home/shawn.zheng/Projs/Util/Util_Powell.cpp:49: undefined reference to `__cxa_throw_bad_array_new_length'
/home/shawn.zheng/Projs/Util/Util_Powell.cpp:50: undefined reference to `__cxa_throw_bad_array_new_length'
/home/shawn.zheng/Projs/Util/Util_Powell.cpp:51: undefined reference to `__cxa_throw_bad_array_new_length'
/home/shawn.zheng/Projs/Util/Util_Powell.cpp:52: undefined reference to `__cxa_throw_bad_array_new_length'
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libutil.a(Util_Powell.o):/home/shawn.zheng/Projs/Util/Util_Powell.cpp:82: more undefined references to `__cxa_throw_bad_array_new_length' follow
/scicore/home/engel0006/GROUP/pool-engel/soft/aretomo/AreTomo2/Lib/libutil.a(Util_Thread.o): In function `Util_Thread::~Util_Thread()':
/home/shawn.zheng/Projs/Util/Util_Thread.cpp:18: undefined reference to `operator delete(void*, unsigned long)'

I have tried compiling both with CUDA toolkits v12.3.1 and v11.8.0.

Thanks for your help!