[Insight-users] Building ITK with multiple cores

David Doria daviddoria+itk at gmail.com
Tue Oct 20 14:45:24 EDT 2009


Typically I build big projects with
make -j3

to utilize my dual core machine for the build process.

I tried building ITK today and I got this error:

Linking CXX static library ../../../../bin/libitkvnl.a
[ 32%] Built target itkvnl
make: *** [all] Error 2

where 'make' in a single thread worked just fine. I'm sure it is a
problem with something like "B depends on A so A must be built first"
- is there a way to specify these dependencies in the cmake file? Or
what (if anything) is typically done to allow these multi-thread
builds? Or do you guys just recommend not doing this and simply using
'make'?

Thanks,

David


More information about the Insight-users mailing list