You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build ITK master with the afl-clang-fast++ compiler and hit a link error right at the very end:
ld: Undefined symbols:
std::exception_ptr::__from_native_exception_pointer(void*), referenced from:
std::exception_ptr std::make_exception_ptr[abi:ne180100]<std::__1::future_error>(std::__1::future_error) in libITKCommon.a[98](itkPoolMultiThreader.cxx.o)
___cxa_init_primary_exception, referenced from:
std::exception_ptr std::make_exception_ptr[abi:ne180100]<std::__1::future_error>(std::__1::future_error) in libITKCommon.a[98](itkPoolMultiThreader.cxx.o)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/itkTestDriver] Error 1
make[1]: *** [Modules/Core/TestKernel/src/CMakeFiles/itkTestDriver.dir/all] Error 2
make: *** [all] Error 2
Searching the codebase for itkTestDriver, I found a build setting named DO_NOT_BUILD_ITK_TEST_DRIVER, which if I set to 1 results in that thing not being built and therefore no link error. (Looks like I'm not the first to not want it, but interestingly that string appears exactly once.)
I'm configuring with:
BUILD_TESTING = OFF
DISABLE_MODULE_TESTS = ON
Which I thought disabled all testing stuff. Assuming so, why is itkTestDriver even being built? From its name, it seems like it should not be needed given my build options.
The text was updated successfully, but these errors were encountered:
itkTestDriver is an executable that is installed. Other projects that depend on ITK may use it for their testing even though they may not want to test ITK themselves.
I'm trying to build ITK master with the
afl-clang-fast++
compiler and hit a link error right at the very end:Searching the codebase for
itkTestDriver
, I found a build setting namedDO_NOT_BUILD_ITK_TEST_DRIVER
, which if I set to1
results in that thing not being built and therefore no link error. (Looks like I'm not the first to not want it, but interestingly that string appears exactly once.)I'm configuring with:
Which I thought disabled all testing stuff. Assuming so, why is
itkTestDriver
even being built? From its name, it seems like it should not be needed given my build options.The text was updated successfully, but these errors were encountered: