From: subramanya s. <po...@ou...> - 2014-06-23 14:20:45
|
Hi, I am trying to include vtk into my libmesh build but it seems to default to no vtk even though it finds vtk while configuring. Here is my configure line ./configure --enable-everything --enable-vtk --with-vtk-lib=/home/mauve/a/ssadasiv/software/vtk-install/lib/vtk-6.2 --with-vtk-include=/home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2 And here are the lines from the configure output . checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h usability... yes checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h presence... yes checking for /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h... yes <<< Configuring library without VTK support >>> Is there anything missing in my config line? Thanks, Subramanya |
From: John P. <jwp...@gm...> - 2014-06-23 14:28:03
|
On Mon, Jun 23, 2014 at 8:20 AM, subramanya sadasiva <po...@ou...> wrote: > Hi, > I am trying to include vtk into my libmesh build but it seems to default to no vtk even though it finds vtk while configuring. > Here is my configure line > > ./configure --enable-everything --enable-vtk --with-vtk-lib=/home/mauve/a/ssadasiv/software/vtk-install/lib/vtk-6.2 --with-vtk-include=/home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2 > > And here are the lines from the configure output . > > checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h usability... yes > checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h presence... yes > checking for /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h... yes > <<< Configuring library without VTK support >>> This means configure found the header files but failed to link a sample program. Please look in your config.log file (or post it to the list) to find the details of why linking the example program failed, and let us know. Hopefully they didn't change the libraries which are required for linking again so soon, we just fixed this for VTK-6.0 and 6.1. -- John |
From: subramanya s. <po...@ou...> - 2014-06-23 14:30:13
|
Hi John, I just came across the thread from Jun 4th with the same problem. Let me see what the problem seems to be. Thanks, Subramanya > From: jwp...@gm... > Date: Mon, 23 Jun 2014 08:27:36 -0600 > Subject: Re: [Libmesh-users] Unable to configure with vtk > To: po...@ou... > CC: lib...@li... > > On Mon, Jun 23, 2014 at 8:20 AM, subramanya sadasiva > <po...@ou...> wrote: > > Hi, > > I am trying to include vtk into my libmesh build but it seems to default to no vtk even though it finds vtk while configuring. > > Here is my configure line > > > > ./configure --enable-everything --enable-vtk --with-vtk-lib=/home/mauve/a/ssadasiv/software/vtk-install/lib/vtk-6.2 --with-vtk-include=/home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2 > > > > And here are the lines from the configure output . > > > > checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h usability... yes > > checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h presence... yes > > checking for /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h... yes > > <<< Configuring library without VTK support >>> > > This means configure found the header files but failed to link a > sample program. Please look in your config.log file (or post it to > the list) to find the details of why linking the example program > failed, and let us know. Hopefully they didn't change the libraries > which are required for linking again so soon, we just fixed this for > VTK-6.0 and 6.1. > > -- > John |
From: subramanya s. <po...@ou...> - 2014-06-23 14:36:38
|
Hi, I looked into the configure.log file, and found this /usr/bin/ld: cannot find -lvtkIO /usr/bin/ld: cannot find -lvtkCommon /usr/bin/ld: cannot find -lvtkFiltering /usr/bin/ld: cannot find -lvtkIO /usr/bin/ld: cannot find -lvtkCommon /usr/bin/ld: cannot find -lvtkFiltering When I looked into the lib folder, these files are missing, instead there are files of the type libvtkIOXXXXXX.so libvtkCommonXXXXXX.so and libvtkFiltersXXXXXX.so I don't know if this is a problem with my install of vtk or if this is standard. I will give 6.0 or 6.1 a try. Thanks, Subramanya > From: jwp...@gm... > Date: Mon, 23 Jun 2014 08:27:36 -0600 > Subject: Re: [Libmesh-users] Unable to configure with vtk > To: po...@ou... > CC: lib...@li... > > On Mon, Jun 23, 2014 at 8:20 AM, subramanya sadasiva > <po...@ou...> wrote: > > Hi, > > I am trying to include vtk into my libmesh build but it seems to default to no vtk even though it finds vtk while configuring. > > Here is my configure line > > > > ./configure --enable-everything --enable-vtk --with-vtk-lib=/home/mauve/a/ssadasiv/software/vtk-install/lib/vtk-6.2 --with-vtk-include=/home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2 > > > > And here are the lines from the configure output . > > > > checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h usability... yes > > checking /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h presence... yes > > checking for /home/mauve/a/ssadasiv/software/vtk-install/include/vtk-6.2/vtkConfigure.h... yes > > <<< Configuring library without VTK support >>> > > This means configure found the header files but failed to link a > sample program. Please look in your config.log file (or post it to > the list) to find the details of why linking the example program > failed, and let us know. Hopefully they didn't change the libraries > which are required for linking again so soon, we just fixed this for > VTK-6.0 and 6.1. > > -- > John |
From: John P. <jwp...@gm...> - 2014-06-23 14:41:57
|
On Mon, Jun 23, 2014 at 8:36 AM, subramanya sadasiva <po...@ou...> wrote: > Hi, > I looked into the configure.log file, and found this > > /usr/bin/ld: cannot find -lvtkIO > /usr/bin/ld: cannot find -lvtkCommon > /usr/bin/ld: cannot find -lvtkFiltering > /usr/bin/ld: cannot find -lvtkIO > /usr/bin/ld: cannot find -lvtkCommon > /usr/bin/ld: cannot find -lvtkFiltering This error message doesn't make any sense if you have a VTK-6.x installation, as these are VTK-5.x libraries. It shouldn't be trying to link against these unless something else in the m4 logic went wrong. > When I looked into the lib folder, these files are missing, instead there > are files of the type > > libvtkIOXXXXXX.so > libvtkCommonXXXXXX.so > and > libvtkFiltersXXXXXX.so You should see files named with the VTK version number, like vtkIOCore-6.2.0.so, if they are still following the same naming convention. Please send me the config.log file directly. Thanks, John |
From: subramanya s. <po...@ou...> - 2014-06-23 15:24:49
|
The problem seems to be in the part of configure that extracts the vtkversion , vtkmajor=`grep "define VTK_MAJOR_VERSION" $VTK_INC/vtkConfigure.h | sed -e "s/#define VTK_MAJOR_VERSION[ ]*//g"` These lines dont seem to be getting the version correctly and are instead returning blanks. I looked a bit deeper into the vtk include files and this information is in vtkVersionMacros.h instead of in vtkConfigure.h In spite of this, the code seems to be defaulting to those files while trying to link. Thanks, Subramanya > From: jwp...@gm... > Date: Mon, 23 Jun 2014 08:41:29 -0600 > Subject: Re: [Libmesh-users] Unable to configure with vtk > To: po...@ou... > CC: lib...@li... > > On Mon, Jun 23, 2014 at 8:36 AM, subramanya sadasiva > <po...@ou...> wrote: > > Hi, > > I looked into the configure.log file, and found this > > > > /usr/bin/ld: cannot find -lvtkIO > > /usr/bin/ld: cannot find -lvtkCommon > > /usr/bin/ld: cannot find -lvtkFiltering > > /usr/bin/ld: cannot find -lvtkIO > > /usr/bin/ld: cannot find -lvtkCommon > > /usr/bin/ld: cannot find -lvtkFiltering > > This error message doesn't make any sense if you have a VTK-6.x > installation, as these are VTK-5.x libraries. It shouldn't be trying > to link against these unless something else in the m4 logic went > wrong. > > > When I looked into the lib folder, these files are missing, instead there > > are files of the type > > > > libvtkIOXXXXXX.so > > libvtkCommonXXXXXX.so > > and > > libvtkFiltersXXXXXX.so > > You should see files named with the VTK version number, like > vtkIOCore-6.2.0.so, if they are still following the same naming > convention. > > Please send me the config.log file directly. > > Thanks, > John |
From: subramanya s. <po...@ou...> - 2014-06-23 15:30:31
|
Sorry for the bother, there seems to have been some conflict with git and it did not update the configure file. I did a clean download of the library and I got the following error, mpicxx -o conftest -I/home/ssadasiv/software/VTK-install/include/vtk-6.2 conftest.cpp -Wl,-rpath,/home/ssadasiv/software/VTK-inst\ all/lib -L/home/ssadasiv/software/VTK-install/lib -lvtkIOCore-6.2 -lvtkCommonCore-6.2 -lvtkCommonDataModel-6.2 -lvt\ kFiltersCore-6.2 -lvtkIOXML-6.2 >&5 /tmp/ccgtCO7v.o: In function `vtkSmartPointer<vtkXMLPUnstructuredGridWriter>::New()': conftest.cpp:(.text._ZN15vtkSmartPointerI29vtkXMLPUnstructuredGridWriterE3NewEv[_ZN15vtkSmartPointerI29vtkXMLPUnstructuredGridWriterE3NewEv]+0xd): und\ efined reference to `vtkXMLPUnstructuredGridWriter::New()' This seems to be a problem on the vtk installation side as opposed to the libmesh side. Thanks, Subramanya > From: po...@ou... > To: jwp...@gm... > Date: Mon, 23 Jun 2014 11:24:41 -0400 > CC: lib...@li... > Subject: Re: [Libmesh-users] Unable to configure with vtk > > The problem seems to be in the part of configure that extracts the vtkversion , > > vtkmajor=`grep "define VTK_MAJOR_VERSION" $VTK_INC/vtkConfigure.h | sed -e "s/#define VTK_MAJOR_VERSION[ ]*//g"` > > These lines dont seem to be getting the version correctly and are instead returning blanks. I looked a bit deeper into the vtk include files and this information is in vtkVersionMacros.h instead of in vtkConfigure.h > > In spite of this, the code seems to be defaulting to those files while trying to link. > Thanks, > > Subramanya > > > From: jwp...@gm... > > Date: Mon, 23 Jun 2014 08:41:29 -0600 > > Subject: Re: [Libmesh-users] Unable to configure with vtk > > To: po...@ou... > > CC: lib...@li... > > > > On Mon, Jun 23, 2014 at 8:36 AM, subramanya sadasiva > > <po...@ou...> wrote: > > > Hi, > > > I looked into the configure.log file, and found this > > > > > > /usr/bin/ld: cannot find -lvtkIO > > > /usr/bin/ld: cannot find -lvtkCommon > > > /usr/bin/ld: cannot find -lvtkFiltering > > > /usr/bin/ld: cannot find -lvtkIO > > > /usr/bin/ld: cannot find -lvtkCommon > > > /usr/bin/ld: cannot find -lvtkFiltering > > > > This error message doesn't make any sense if you have a VTK-6.x > > installation, as these are VTK-5.x libraries. It shouldn't be trying > > to link against these unless something else in the m4 logic went > > wrong. > > > > > When I looked into the lib folder, these files are missing, instead there > > > are files of the type > > > > > > libvtkIOXXXXXX.so > > > libvtkCommonXXXXXX.so > > > and > > > libvtkFiltersXXXXXX.so > > > > You should see files named with the VTK version number, like > > vtkIOCore-6.2.0.so, if they are still following the same naming > > convention. > > > > Please send me the config.log file directly. > > > > Thanks, > > John > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > Libmesh-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libmesh-users |
From: John P. <jwp...@gm...> - 2014-06-23 19:43:33
|
On Mon, Jun 23, 2014 at 9:30 AM, subramanya sadasiva <po...@ou...> wrote: > Sorry for the bother, there seems to have been some conflict with git and it > did not update the configure file. I did a clean download of the library and > I got the following error, > > mpicxx -o conftest -I/home/ssadasiv/software/VTK-install/include/vtk-6.2 > conftest.cpp -Wl,-rpath,/home/ssadasiv/software/VTK-inst\ > all/lib -L/home/ssadasiv/software/VTK-install/lib -lvtkIOCore-6.2 > -lvtkCommonCore-6.2 -lvtkCommonDataModel-6.2 > -lvt\ > kFiltersCore-6.2 -lvtkIOXML-6.2 >&5 > /tmp/ccgtCO7v.o: In function > `vtkSmartPointer<vtkXMLPUnstructuredGridWriter>::New()': > conftest.cpp:(.text._ZN15vtkSmartPointerI29vtkXMLPUnstructuredGridWriterE3NewEv[_ZN15vtkSmartPointerI29vtkXMLPUnstructuredGridWriterE3NewEv]+0xd): > und\ > efined reference to `vtkXMLPUnstructuredGridWriter::New()' Is there even a VTK-6.2 release yet? It's not at http://vtk.org/VTK/resources/software.html yet, so where did you get it? -- John |