[Insight-users] Problems Compiling on Solaris

Chris Gammage damage at wayne.edu
Thu Jul 22 00:26:51 EDT 2004


Hi, I've created a command line application that uses the ITK segmentation 
libraries on images. It also uses mpich. I created a CMakeLists.txt file that 
works properly, and then I modified it to include mpi libraries and includes. 
For the mpi, I need to compile with mpiCC so I replaced all the c++ calls in 
the Makefile to the location of mpiCC, but sometimes the Makefile gets 
rewritten by CMake, does anyone know how to set mpiCC as the default for 
CMake and how set includes and libraries in CMakeLists.txt?    

My Second question.
I've compiled the program successfully on a linux box with gcc 3.3
but, now i've loaded it onto a Solaris box and I keep getting a bunch of these 
compile errors.

"/export/home3/berator/InsightToolkit-1.6.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h", 
line 352: Error: A member cannot be initialized except in a constructor.

all the errors are this or like

"/export/home3/berator/InsightToolkit-1.6.0/Utilities/vxl/core/vnl/vnl_numeric_traits.h" 
Error: Use ";" to terminate declarations.

Any help is appreciated!
thanks in advance

Chris


More information about the Insight-users mailing list