<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">Hi,</span><br style="font-family: monospace; font-size: 13px; "><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">I&#39;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: </span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><a href="https://kclmail.kcl.ac.uk/owa/redir.aspx?C=7c62667ea12c4bf0a54c84e3939be0ff&amp;URL=http%3a%2f%2fwww.vtk.org%2fWiki%2fParaView%3aBuild_And_Install" target="_blank" style="font-family: monospace; font-size: 13px; ">http://www.vtk.org/Wiki/ParaView:Build_And_Install</a><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; "> </span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">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:</span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Built target ParaViewOnlineHelp</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Generating ui_ParaViewMainWindow.h</span><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Generating qrc_paraview_generated.cxx</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Generating qrc_paraview_configuration.cxx</span><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Generating qrc_paraview_help.cxx</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Generating moc_ParaViewMainWindow.cxx</span><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">Scanning dependencies of target paraview</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">[100%] Building CXX object Applications/ParaView/CMakeFiles/paraview.dir/paraview_main.cxx.o</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">/home/Matt/Apps/ParaView_bin/Applications/ParaView/paraview_main.cxx: In function ‘int main(int, char**)’:</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">/home/Matt/Apps/ParaView_bin/Applications/ParaView/paraview_main.cxx:58: error: ‘getenv’ was not declared in this scope</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">make[2]: *** [Applications/ParaView/CMakeFiles/paraview.dir/paraview_main.cxx.o] Error 1</span><br style="font-family: monospace; font-size: 13px; ">
<span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">make[1]: *** [Applications/ParaView/CMakeFiles/paraview.dir/all] Error 2</span><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">make: *** [all] Error 2</span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">Of interest is the fourth line from the bottom, containing &quot; error: ‘getenv’ was not declared in this scope &quot;</span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">The source of this error seems to be that the file paraview_main.cxx does not have the command: #include &lt;stdlib.h&gt;. However, paraview_main.cxx is automatically generated every time I build Paraview, therefore manually including the aforementioned command has no effect. Any suggestions?</span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">Regards,</span><br style="font-family: monospace; font-size: 13px; ">
<br style="font-family: monospace; font-size: 13px; "><span class="Apple-style-span" style="font-family: monospace; font-size: 13px; ">Matt</span>