Ok.. Just got this resolved, thanks to Mathieu's help.<br>
<br>
Seems that the Relative Paths option no longer works in CMake
2.2+. I simply turned this back off, and the compile is
working. <br><br><div><span class="gmail_quote">On 9/26/05, <b class="gmail_sendername">Randall Hand</b> <<a href="mailto:randall.hand@gmail.com">randall.hand@gmail.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;">
Ok.. I just now noticed this. Why is it stating c++ when I
explicitly set my compilers to gcc/g++ ? Is that verbose output
coming from echo's in the makefile, or from the compiler itself?
c++ is symlinked to g++ on this system.<br>
<br>
Also, my Cmake version is 2.2 beta.<br><br>
<div style="margin-left: 40px;">rhand:azurite% /usr/bin/g++ --version<br>
g++ (GCC) 3.3.1 (SuSE Linux)<br>
Copyright (C) 2003 Free Software Foundation, Inc.<span class="q"><br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
<br></span>
rhand:azurite% c++ --version<br>
c++ (GCC) 3.3.1 (SuSE Linux)<br>
Copyright (C) 2003 Free Software Foundation, Inc.<span class="q"><br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
<br></span>
rhand:azurite% gcc --version<br>
gcc (GCC) 3.3.1 (SuSE Linux)<br>
Copyright (C) 2003 Free Software Foundation, Inc.<span class="q"><br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
</span></div><div><span class="e" id="q_10693d3e4c3999d8_7">
<br>
<br><div><span class="gmail_quote">On 9/26/05, <b class="gmail_sendername">Randall Hand</b> <<a href="mailto:randall.hand@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">randall.hand@gmail.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;">
<span><span class="gmail_quote"><br><br></span>On this particular machine, GNU Make 3.08 is what i'm using, and gmake is symlinked to the same binary as make.<br><br>
<div style="margin-left: 40px;">rhand:azurite% make --version<br>
GNU Make 3.80<br>
Copyright (C) 2002 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions.<br>
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>
PARTICULAR PURPOSE.<br>
rhand:azurite%<br>
</div>
<br>
Doing a 'make VERBOSE=1' dumps alot of output, and just prior to crash I see:<br>
<br>
<div style="margin-left: 40px;">make[2]: Leaving directory `/u/rhand/src/VTK/comp'<br>
make -f Common/vtkCommon.dir/build.make Common/vtkCommon.dir/build<br>
make[2]: Entering directory `/u/rhand/src/VTK/comp'<br>
Building CXX object Common/vtkCommon.dir/vtkCommonInstantiator.o<br>
c++ -o Common/vtkCommon.dir/vtkCommonInstantiator.o
-DvtkCommon_EXPORTS -Wno-deprecated -fPIC -I..
-I../Utilities -I../VolumeRendering -I../Rendering -I../../src/Parallel
-I../../src/VolumeRendering -I../../src/Hybrid -I../../src/Widgets
-I../../src/Rendering -I../../src/Rendering/Testing/Cxx -I../../src/IO
-I../../src/Imaging -I../../src/Graphics -I../../src/GenericFiltering
-I../../src/Filtering -I../../src/Common -I../../src/Utilities
-I../../src/Common/Testing/Cxx -I../Utilities/DICOMParser
-I../../src/Utilities/DICOMParser -I../Utilities/vtkfreetype/include
-I../../src/Utilities/vtkfreetype/include -I../Utilities/vtknetcdf
-I../../src/Utilities/vtknetcdf -I../Utilities/vtkexodus2/include
-I../../src/Utilities/vtkexodus2/include -I../Utilities/vtkfreetype
-I../../src/Utilities/ftgl/src -I../Utilities/ftgl
-I/usr/X11R6/include -DVTK_IN_VTK -c
Common/vtkCommonInstantiator.cxx<br>
Common/vtkCommonInstantiator.cxx:1:35: vtkCommonInstantiator.h: No such file or directory<br>
Common/vtkCommonInstantiator.cxx:3: error: syntax error before `*' token<br>
Common/vtkCommonInstantiator.cxx:4: error: syntax error before `*' token<br>
</div></span>
<br>
Find the CMakeCache.txt attached.<br>
<br>
PS: 2nd time.. grrr at the 100k limit...<div><span><br>
<div><span><br>
<br>
<br><div><span class="gmail_quote">On 9/26/05, <b class="gmail_sendername">Mathieu Malaterre</b> <<a href="mailto:mathieu.malaterre@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mathieu.malaterre@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;">
Randy,<br><br> Could you run :<br><br>$ make VERBOSE=1<br><br> So that we see if the -L back to VTK/Common is there or not. I suspect<br>this is a problem with the make command you are using. If you have<br>
access to GNU make, please use this one instead (you'll need to change<br>CMAKE_MAKE_PROGRAM in your cmake cache).<br><br>HTH<br>Mathieu<br><br>David Cole wrote:<br>> Randall Hand wrote:<br>><br>>> Ok then, found it.
<br>>><br>>> So can't cmake/gmake find it then? I'm doing an out-of-core build, as<br>>> was previously recommended. Has this changed, and we're back to<br>>> in-core builds?<br>>><br>>> On 9/26/05, *Amy Squillacote* <
<a href="mailto:amy.squillacote@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">amy.squillacote@kitware.com</a><br>>> <mailto:<a href="mailto:amy.squillacote@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
amy.squillacote@kitware.com</a>>> wrote:<br>>><br>>> At 12:57 PM 9/26/2005, Randall Hand wrote:
<br>>> >I'm trying to get VTK to compile on a Cray XT3, using the VTK-5-0<br>>> >branch, and not having much luck. The cmake works just fine<br>>> >(configured to use the GNU compilers, gcc/g++), but when compiling I
<br>>> >get an initial error in vtkCommonInstantiator.cxx that<br>>> >vtkCommonInstantiator.h cannot be found, then hundreds of errors<br>>> >related to that.<br>>> ><br>
>> >I've tried adding -I/u/rhand/src/VTK/comp to all the compiler lines<br>>> >and that gets a little further, but then it fails not finding<br>>> >"vtkInstantiator.h", which I can't find anywhere. Where does this
<br>>> >file come from, and why don't I have it?<br>>><br>>> vtkInstantiator.h is in the VTK source tree in the Common directory.<br>>><br>>> - Amy<br>>><br>>><br>
>>
<br>>><br>>> --<br>>> Randall Hand<br>>> Visualization Scientist,<br>>> ERDC-MSRC Vicksburg, MS<br>>> Homepage: <a href="http://www.yeraze.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.yeraze.com</a><br>>><br>
>> ------------------------------------------------------------------------<br>>><br>>> _______________________________________________<br>>> vtk-developers mailing list<br>>> <a href="mailto:vtk-developers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vtk-developers@vtk.org</a><br>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtk-developers
</a><br>>><br>>><br>><br>> _______________________________________________
<br>> This is the private VTK discussion list. Please keep messages on-topic.<br>> Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>> Follow this link to subscribe/unsubscribe:
<br>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>><br><br></blockquote></div><br>
<br clear="all"><br>-- <br>Randall Hand<br>Visualization Scientist, <br>
ERDC-MSRC Vicksburg, MS<br>Homepage: <a href="http://www.yeraze.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.yeraze.com</a>
</span></div><br clear="all"><br clear="all"><br></span></div>-- <div><span><br>Randall Hand<br>Visualization Scientist, <br>ERDC-MSRC Vicksburg, MS<br>Homepage: <a href="http://www.yeraze.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.yeraze.com</a>
</span></div><br clear="all"></blockquote></div><br><br clear="all"><br></span></div>-- <div><span class="e" id="q_10693d3e4c3999d8_9"><br>Randall Hand<br>Visualization Scientist, <br>ERDC-MSRC Vicksburg, MS<br>Homepage:
<a href="http://www.yeraze.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.yeraze.com</a>
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Randall Hand<br>Visualization Scientist, <br>ERDC-MSRC Vicksburg, MS<br>Homepage: <a href="http://www.yeraze.com">http://www.yeraze.com</a>