I am guessing that this error is related to the error you mentioned below...
/home/ubuntu/ParaView-3.8.1/Utilities/Xdmf2/libsrc/utils/XdmfExodusReader.cxx:27:22: error: exodusII.h: No such file or directory I have no need for the exodusii reader, I didn't see anywhere that I could disable it in cmake On Fri, Feb 11, 2011 at 4:37 PM, Fabian, Nathan <[email protected]> wrote: > The OSMESA_LIBRARY should also point to libOSMesa.so > > (btw you can also compile leaving OPENGL_gl_LIBRARY and OPENGL_glu_LIBRARY > empty. I found I needed to do this when compiling static to avoid link > errors in, I think, the XDMF library). > > > On 2/11/11 6:32 PM, "Matthew Dillon" <[email protected]> wrote: > > Nathan, > Thanks for the reply. That cleared out most of the warnings. I am left > with: > > WARNING: Target "vtkRendering" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkRendering" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkVolumeRendering" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > > which seems kind of critical to me... I am sure i am missing something > else, but not sure what: > > From my cmake list - > OPENGL_INCLUDE_DIR /home/ubuntu/osmesa/include > OPENGL_gl_LIBRARY /home/ubuntu/osmesa/lib/libOSMesa.so > OPENGL_glu_LIBRARY /home/ubuntu/osmesa/lib/libGLU.so > OPENGL_xmesa_INCLUDE_DIR OPENGL_xmesa_INCLUDE_DIR-NOTFOUND > OSMESA_INCLUDE_DIR /home/ubuntu/osmesa/include > OSMESA_LIBRARY /home/ubuntu/osmesa/lib > > > On Fri, Feb 11, 2011 at 4:19 PM, Fabian, Nathan <[email protected]> > wrote: > > The cmake variable needs to point to the library itself like: > /home/ubuntu/osmesa/lib/libOSMesa.so > > > On 2/11/11 6:16 PM, "Matthew Dillon" <[email protected] < > http://[email protected]> > wrote: > > Hmm, I was greeted with a few warnings when generating the cmake build > files: > > </begin quote> > WARNING: Target "vtkRendering" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkRendering" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkVolumeRendering" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "icet" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "icet_mpi" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "icet_mpi" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "icet_strategies" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "icet_strategies" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVFilters" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVFiltersCS" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVFiltersPython" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVFiltersPythonD" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "ServersFiltersPrintSelf" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "TestExtractHistogram" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "TestExtractScatterPlot" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "TestMPI" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVServerManager" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVServerManagerPython" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVServerManagerPythonD" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkSMExtractDocumentation-real" requests linking to > directory "/home/ubuntu/osmesa/lib". Targets may link only to libraries. > CMake is dropping the item. > WARNING: Target "ServerManagerStateLoader" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "ServersServerManagerPrintSelf" requests linking to > directory "/home/ubuntu/osmesa/lib". Targets may link only to libraries. > CMake is dropping the item. > WARNING: Target "TestComparativeAnimationCueProxy" requests linking to > directory "/home/ubuntu/osmesa/lib". Targets may link only to libraries. > CMake is dropping the item. > WARNING: Target "pvbatch-real" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "pvpython-real" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "vtkPVPython" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "pvdataserver-real" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "pvrenderserver-real" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "pvserver-real" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "Moments" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "PrismServerPlugin" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "PointSprite_Plugin" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "pvblot" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "SLACTools" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "H5PartReader" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "AnalyzeReader" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "AnalyzeWriter" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "NIfTIReader" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > WARNING: Target "NIfTIWriter" requests linking to directory > "/home/ubuntu/osmesa/lib". Targets may link only to libraries. CMake is > dropping the item. > > </end quote> > > > /home/ubuntu/osmesa/ is the directory that the osmesa files were built > to... > > > On Fri, Feb 11, 2011 at 2:12 PM, Matthew Dillon <[email protected] < > http://[email protected]> > wrote: > > Can I still do volume rendering with osmesa, or is this a gpu thing? > > > On Fri, Feb 11, 2011 at 1:42 PM, Matthew Dillon <[email protected] < > http://[email protected]> > wrote: > > Pat, > Alrighty, I will make sure to do that. I think the best option is to do a > pure osmesa build (it sounds like its simpler at the end of the day...) but > I am certainly up for recommendations otherwise. Thanks > Matt > > > On Fri, Feb 11, 2011 at 1:37 PM, pat marion <[email protected] < > http://[email protected]> > wrote: > > Also, when compiling set VTK_USE_X to OFF. An ldd on your binary should > show no X11 library dependencies either. When compiled without X, you dont > need to specify any --use-offscreen-rendering flag to pvserver. It is > possible to compile with X and libGL and OSMesa, but it sounds like you are > trying to create a pure osmesa build? > > Pat > > > On Fri, Feb 11, 2011 at 5:31 PM, pat marion <[email protected] < > http://[email protected]> > wrote: > > Try MesaLib-7.6.1.tar.gz > > Make sure you configure with --driver osmesa. The result should be a > libOSMesa and libGLU, no libGL. Paraview should link only with libOSMesa, > no to libGL. When you're done build paraview, an ldd on the binary should > reveal no dependencies on libGL, only libOSMesa. > > Pat > > > On Fri, Feb 11, 2011 at 5:15 PM, Matthew Dillon <[email protected] < > http://[email protected]> > wrote: > > Thank you, I have been using that section as a guideline for getting this > thing set up. Perhaps someone on the list has a recommendation for a known > version of mesa that works with PV 3.8/3.10? > > > On Fri, Feb 11, 2011 at 1:03 PM, Robert Maynard < > [email protected] <http://[email protected]> > wrote: > Hi Matthew, > > The ParaView Users Guide has a section on setting up offscreen rendering > using OSMesa which you can read at: > > http://www.paraview.org/Wiki/ParaView/Users_Guide/Parallel_Rendering#Offscreen_software_rendering_via_OSMesa > > On Fri, Feb 11, 2011 at 4:56 PM, Matthew Dillon <[email protected] < > http://[email protected]> > wrote: > > If there are no suggestions in terms of Amazon machines, perhaps some info > somewhere regarding offscreen rendering for a headless paraview server? I > have searched through the mail archives to the best of my ability, and > followed the instructions on the server build wiki, and I am just not quite > able to get PV to build correctly. Sorry to keep pestering. > Thanks > M > > > On Thu, Feb 10, 2011 at 7:17 PM, Matthew Dillon <[email protected] < > http://[email protected]> > wrote: > Just curious if anyone has any experience setting up a Paraview server on > Amazon's EC2 platform. I have compiled VTK a few times in the past, but I am > spinning my wheels trying to square away offscreen rendering and parallel > processing. I know this doesn't necessarily need to relate to EC2, but I am > wondering if someone has some pre-made images floating around, or some tips. > Thanks. > M Dillon > > > _______________________________________________ > Powered by www.kitware.com <http://www.kitware.com> < > http://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 > > > > > > >
_______________________________________________ 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
