Luis, <br>Thanks for your response. I've implemented your suggestions with no change in the results.<br>I've set CC and CXX to /usr/local/bin/gcc and /usr/local/bin/c++ respectively. I also set the ITK_SOURCE_DIR and ITK_BINARY_DIR variables for good measure although I've built fine without these set before. From the cvs checkout, I deleted and recreated the binary files and performed a make as before. I diff-ed the results and found them to be exactly the same. I repeated the entire operation with CXX set to /usr/local/bin/g++ - no changes in output.
<br>From the error file, the problem seems to be coming from problems in the system header files. I've not compiled on this machine before so I don't know if it's ever been configured properly. Thanks for your help and let me know if you have any other suggestions.
<br><br>Regards,<br>Matt<br><br><br><br><div><span class="gmail_quote">On 8/8/07, <b class="gmail_sendername">Luis Ibanez</b> <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi Matt,<br><br>Thanks for letting us know.<br><br>Please destroy the binary directory where you are building ITK,<br>and follow the build instructions described in the ITK Software Guide<br><br> <a href="http://www.itk.org/ItkSoftwareGuide.pdf">
http://www.itk.org/ItkSoftwareGuide.pdf</a><br><br>In particular, please make sure that you set the environment variables<br>CC and CXX to the C and C++ compilers respectively, *BEFORE* you run<br>ccmake.<br><br><br> Regards,
<br><br><br> Luis<br><br><br>----------------------<br>Matt Kelsey wrote:<br>> Hi Luis,<br>><br>> I'm using the latest cvs checkout (earlier today) of ITK and the output<br>> of the commands are:<br>
><br>> /grad2/kelsey-41> echo $CC<br>> CC: Undefined variable<br>> /grad2/kelsey-42> echo $CXX<br>> CXX: Undefined variable<br>><br>> however I see that in the advanced cmake configuration that:
<br>> CMAKE_CXX_COMPILER == /usr/local/bin/c++<br>> and<br>> CMAKE_C_COMPILER == /usr/local/bin/gcc<br>><br>> Any thoughts?<br>><br>> Thanks,<br>> Matt<br>><br>><br>><br>> On 8/8/07, *Luis Ibanez* <
<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a><br>> <mailto:<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>>> wrote:<br>><br>><br>> Hi Matt,<br>><br>>
<br>> 1) What version of ITK are you using ?<br>><br>><br>> 2) What are the output of the following commands?<br>><br>> echo $CC<br>> echo $CXX<br>><br>><br>><br>> It looks like you are using the C compiler instead
<br>> of the C++ compiler.<br>><br>><br>><br>> Please let us know about the two questions above.<br>><br>><br>> Thanks<br>><br>><br>> Luis<br>><br>><br>> ----------------
<br>> Matt Kelsey wrote:<br>> > Hello all,<br>> > I'm having trouble building ITK on a new machine. Here are the<br>> uname -a<br>> > specs.<br>> > SunOS arktos
5.10 Generic_125100-10 sun4u sparc SUNW,Sun-Fire-V445<br>> > Some other info:<br>> > make --version -> GNU Make 3.80<br>> > /usr/local/bin/gcc --version -> gcc (GCC) 3.3<br>> > /usr/local/bin/c++ --version -> c++ (GCC)
3.3<br>> ><br>> > I've configured the project with ccmake version 2.4-patch 6 and<br>> turned<br>> > Examples/Test/Shared Libs off, build type Release. No problems with<br>> > ccmake.
<br>> ><br>> > I run into trouble during the make on: Utilities/MetaIO/CMakeFiles<br>> > /ITKMetaIO.dir/metaUtils.o<br>> ><br>> > I've included the stdout and stderr. Any suggestions would be
<br>> appreciated.<br>> ><br>> > Thanks,<br>> > Matt Kelsey<br>> ><br>> > link to stderr<br>> > =========================================<br>> >
<a href="http://www.engr.siu.edu/grad2/kelsey/debug/make.err.txt">http://www.engr.siu.edu/grad2/kelsey/debug/make.err.txt</a><br>> > <<a href="http://www.engr.siu.edu/grad2/kelsey/debug/make.err.txt">http://www.engr.siu.edu/grad2/kelsey/debug/make.err.txt
</a><br>> <<a href="http://www.engr.siu.edu/grad2/kelsey/debug/make.err.txt">http://www.engr.siu.edu/grad2/kelsey/debug/make.err.txt</a>>><br>> ><br>> ><br>> > link to stdout
<br>> > =========================================<br>> > <a href="http://www.engr.siu.edu/grad2/kelsey/debug/make.output.txt">http://www.engr.siu.edu/grad2/kelsey/debug/make.output.txt</a><br>> <
<a href="http://www.engr.siu.edu/grad2/kelsey/debug/make.output.txt">http://www.engr.siu.edu/grad2/kelsey/debug/make.output.txt</a>><br>> ><br>> ><br>> ><br>> ------------------------------------------------------------------------
<br>> ><br>> > _______________________________________________<br>> > Insight-users mailing list<br>> > <a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a> <mailto:
<a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>><br>> > <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br>><br></blockquote>
</div><br>