[vtkusers] FW: VTK visualization
Jothybasu Selvaraj
jothybasu at gmail.com
Tue May 1 13:39:53 EDT 2012
Have you also included INCPATH in the make file?
Jothy
On Tue, May 1, 2012 at 5:55 PM, <L.Ding at surrey.ac.uk> wrote:
> ** **
>
> Dear VTK community. ****
>
> ** **
>
> I am writing to look for some help. My research just got stuck and a bit
> helpless. ****
>
> ** **
>
> ** **
>
> I am now having a piece of code to visualise my result using VTK. This
> code is good and mature. All I need to do is compile this code and link it
> to the VTK library. However, this is where I got stuck. I am having trouble
> in modifying the Makefile in order to compile and link it to VTK library in
> supercomputer. ****
>
> ** **
>
> I found that there is VTK module in supercomputer. When I type module show
> xe-vtk, it gives me correct VTK library link. ****
>
> I tried to modify the Makefile library link. ****
>
> ** **
>
> CC = g++****
>
> CLINKER = g++****
>
> ** **
>
> CFLAGS = -I/usr/local/packages/nag/VTK/5.8.0/GNU/include/vtk-5.8
> -Wall –O3 -g****
>
> LIBS = -L/usr/local/packages/nag/VTK/5.8.0/GNU/lib/vtk-5.8
> -lvtkImaging -lvtkFiltering -lvtkGraphics -lvtkHybrid -lvtkVolumeRendering
> -lvtkRendering -lvtkCommon -lvtkIO -lvtkftgl -lvtksys -lvtkverdict
> -lvtkexoIIc -lvtkfreetype -lvtkNetCDF -lvtkDICOMParser -lvtkNetCDF_cxx
> -lvtkmetaio -lvtksqlite -lvtkpng -lvtkzlib -lvtkjpeg -lvtktiff -lvtkexpat
> -ldl -lpthread –lm****
>
> ** **
>
> …****
>
> …****
>
> ** **
>
> When I type make, I always got the following error message: ****
>
> ** **
>
> /usr/local/packages/nag/VTK/5.8.0/GNU/lib/vtk-5.8/libvtkVolumeRendering.a(vtkVolumeMapper.cxx.o):(.rodata._ZTV15vtkVolumeMapper[vtable
> for vtkVolumeMapper]+0x1f8): undefined reference to
> `vtkAbstractMapper::SetClippingPlanes(vtkPlaneCollection*)'****
>
> collect2: ld returned 1 exit status****
>
> make: *** [simulate] Error 1****
>
> ** **
>
> Could someone teach me how to compile this code and link this code to VTK
> library in supercomputer?****
>
> ** **
>
> Many thanks for your time and help. ****
>
> ** **
>
> Best regards****
>
> Lifeng****
>
> ** **
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120501/d9b0b397/attachment.htm>
More information about the vtkusers
mailing list