Hi Matt, It would help if you could include some details about OS, version of ParaView, compiler and compiler version.
(By the way, you only need to compile ParaView yourself to be able to build plugins as long as the ParaView development release is not yet available. But you probably knew that already.) Karl Matthew Sinclair wrote, On 24.11.2011 16:12: > Hi, > > I'm trying to use the plugin Superquadric Tensor Glyph Filter with > ParaView, which requires Paraview to be built from source. I followed > the instructions on the website: > > http://www.vtk.org/Wiki/ParaView:Build_And_Install > <https://kclmail.kcl.ac.uk/owa/redir.aspx?C=7c62667ea12c4bf0a54c84e3939be0ff&URL=http%3a%2f%2fwww.vtk.org%2fWiki%2fParaView%3aBuild_And_Install> > > > and have the Paraview source from git. I was hoping to get some help > with an error I encountered right at the end of compiling: > > > [100%] Built target ParaViewOnlineHelp > [100%] Generating ui_ParaViewMainWindow.h > [100%] Generating qrc_paraview_generated.cxx > [100%] Generating qrc_paraview_configuration.cxx > [100%] Generating qrc_paraview_help.cxx > [100%] Generating moc_ParaViewMainWindow.cxx > Scanning dependencies of target paraview > [100%] Building CXX object > Applications/ParaView/CMakeFiles/paraview.dir/paraview_main.cxx.o > /home/Matt/Apps/ParaView_bin/Applications/ParaView/paraview_main.cxx: In > function ‘int main(int, char**)’: > /home/Matt/Apps/ParaView_bin/Applications/ParaView/paraview_main.cxx:58: > error: ‘getenv’ was not declared in this scope > make[2]: *** > [Applications/ParaView/CMakeFiles/paraview.dir/paraview_main.cxx.o] Error 1 > make[1]: *** [Applications/ParaView/CMakeFiles/paraview.dir/all] Error 2 > make: *** [all] Error 2 > > > Of interest is the fourth line from the bottom, containing " error: > ‘getenv’ was not declared in this scope " > > The source of this error seems to be that the file paraview_main.cxx > does not have the command: #include <stdlib.h>. However, > paraview_main.cxx is automatically generated every time I build > Paraview, therefore manually including the aforementioned command has no > effect. Any suggestions? > > > Regards, > > Matt _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
