[vtkusers] Re: [vtk-developers] VTK on a Cray XT3

Randall Hand randall.hand at gmail.com
Mon Sep 26 15:06:08 EDT 2005


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.

Also, my Cmake version is 2.2 beta.

rhand:azurite% /usr/bin/g++ --version
g++ (GCC) 3.3.1 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rhand:azurite% c++ --version
c++ (GCC) 3.3.1 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rhand:azurite% gcc --version
gcc (GCC) 3.3.1 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


On 9/26/05, Randall Hand <randall.hand at gmail.com> wrote:
>
>
>
> On this particular machine, GNU Make 3.08 is what i'm using, and gmake is
> symlinked to the same binary as make.
>
> rhand:azurite% make --version
> GNU Make 3.80
> Copyright (C) 2002 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> rhand:azurite%
>
> Doing a 'make VERBOSE=1' dumps alot of output, and just prior to crash I
> see:
>
> make[2]: Leaving directory `/u/rhand/src/VTK/comp'
> make -f Common/vtkCommon.dir/build.make Common/vtkCommon.dir/build
> make[2]: Entering directory `/u/rhand/src/VTK/comp'
> Building CXX object Common/vtkCommon.dir/vtkCommonInstantiator.o
> 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
> Common/vtkCommonInstantiator.cxx:1:35: vtkCommonInstantiator.h: No such
> file or directory
> Common/vtkCommonInstantiator.cxx:3: error: syntax error before `*' token
> Common/vtkCommonInstantiator.cxx:4: error: syntax error before `*' token
>
> Find the CMakeCache.txt attached.
>
> PS: 2nd time.. grrr at the 100k limit...
>
>
>
> On 9/26/05, Mathieu Malaterre <mathieu.malaterre at kitware.com > wrote:
> >
> > Randy,
> >
> > Could you run :
> >
> > $ make VERBOSE=1
> >
> > So that we see if the -L back to VTK/Common is there or not. I suspect
> > this is a problem with the make command you are using. If you have
> > access to GNU make, please use this one instead (you'll need to change
> > CMAKE_MAKE_PROGRAM in your cmake cache).
> >
> > HTH
> > Mathieu
> >
> > David Cole wrote:
> > > Randall Hand wrote:
> > >
> > >> Ok then, found it.
> > >>
> > >> So can't cmake/gmake find it then? I'm doing an out-of-core build, as
> > >> was previously recommended. Has this changed, and we're back to
> > >> in-core builds?
> > >>
> > >> On 9/26/05, *Amy Squillacote* < amy.squillacote at kitware.com
> > >> <mailto: amy.squillacote at kitware.com>> wrote:
> > >>
> > >> At 12:57 PM 9/26/2005, Randall Hand wrote:
> > >> >I'm trying to get VTK to compile on a Cray XT3, using the VTK-5-0
> > >> >branch, and not having much luck. The cmake works just fine
> > >> >(configured to use the GNU compilers, gcc/g++), but when compiling I
> >
> > >> >get an initial error in vtkCommonInstantiator.cxx that
> > >> >vtkCommonInstantiator.h cannot be found, then hundreds of errors
> > >> >related to that.
> > >> >
> > >> >I've tried adding -I/u/rhand/src/VTK/comp to all the compiler lines
> > >> >and that gets a little further, but then it fails not finding
> > >> >"vtkInstantiator.h", which I can't find anywhere. Where does this
> > >> >file come from, and why don't I have it?
> > >>
> > >> vtkInstantiator.h is in the VTK source tree in the Common directory.
> > >>
> > >> - Amy
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> Randall Hand
> > >> Visualization Scientist,
> > >> ERDC-MSRC Vicksburg, MS
> > >> Homepage: http://www.yeraze.com
> > >>
> > >>
> > ------------------------------------------------------------------------
> > >>
> > >> _______________________________________________
> > >> vtk-developers mailing list
> > >> vtk-developers at vtk.org
> > >> http://www.vtk.org/mailman/listinfo/vtk-developers
> > >>
> > >>
> > >
> > > _______________________________________________
> > > This is the private VTK discussion list. Please keep messages
> > on-topic.
> > > Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> > > Follow this link to subscribe/unsubscribe:
> > > http://www.vtk.org/mailman/listinfo/vtkusers
> > >
> >
> >
>
>
> --
> Randall Hand
> Visualization Scientist,
> ERDC-MSRC Vicksburg, MS
> Homepage: http://www.yeraze.com
>
>
>
> --
> Randall Hand
> Visualization Scientist,
> ERDC-MSRC Vicksburg, MS
> Homepage: http://www.yeraze.com
>
>


--
Randall Hand
Visualization Scientist,
ERDC-MSRC Vicksburg, MS
Homepage: http://www.yeraze.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtk-developers/attachments/20050926/b02b1699/attachment.htm>


More information about the vtk-developers mailing list