On Tue, Sep 22, 2015 at 10:18 AM, John Peterson <jwpeter...@gmail.com>
wrote:

>
>
> On Tue, Sep 22, 2015 at 10:11 AM, Miguel Angel Salazar de Troya <
> salazardetr...@gmail.com> wrote:
>
>> Hello
>>
>> I'm trying to install libmesh with vtk 6.3, but it cannot detect it. This
>> is the problem:
>>
>> configure:34048: /opt/local/bin/mpicxx -o conftest  -std=gnu++11
>>  -I/Users/salazardetro1/VTKInstall/include/vtk-6.3/  conftest.cpp
>>  -Wl,-rpath,/Users/salazardetro1/VTKInstall/lib/
>> -L/Users/salazardetro1/VTKInstall/lib/ -lvtkIOCore-6.3 -lvtkCommonCore-6.3
>> -lvtkCommonDataModel-6.3
>> Undefined symbols for architecture x86_64:
>>
>>
>> "vtkXMLPUnstructuredGridWriter::New()", referenced from:
>>
>>     vtkSmartPointer<vtkXMLPUnstructuredGridWriter>::New()        in
>> ccVVN3E3.o
>> ld: symbol(s) not found for architecture x86_64
>>
>
We just tried compiling against VTK 6.3 here, and it works fine with
libmesh master.  Below are the relevant lines from config.log:

configure:35492: checking /opt/moose/vtk-6.3/include/vtk-6.3/vtkConfigure.h
> usability
> configure:35492: mpicxx -c  -std=gnu++11  conftest.cpp >&5
> configure:35492: $? = 0
> configure:35492: result: yes
> configure:35492: checking
> /opt/moose/vtk-6.3/include/vtk-6.3/vtkConfigure.h presence
> configure:35492: mpicxx -E  conftest.cpp
> configure:35492: $? = 0
> configure:35492: result: yes
> configure:35492: checking for
> /opt/moose/vtk-6.3/include/vtk-6.3/vtkConfigure.h
> configure:35492: result: yes
> configure:35603: mpicxx -o conftest  -std=gnu++11
>  -I/opt/moose/vtk-6.3/include/vtk-6.3  conftest.cpp
>  -Wl,-rpath,/opt/moose/vtk-6.3/lib -L/opt/moose/vtk-6.3/lib -lvtkIOCore-6.3
> -lvtkCommonCore-6.3 -lvtkCommonDataModel-6.3
>      -lvtkFiltersCore-6.3 -lvtkIOXML-6.3 -lvtkImagingCore-6.3
>                      -lvtkIOImage-6.3 -lvtkImagingMath-6.3
> -lvtkIOParallelXML-6.3 >&5
> configure:35603: $? = 0
> configure:35744: result: <<< Configuring library with VTK version 6.3.0
> support >>>



What version of libmesh are you using?  There were VTK linking changes in
5.x->6.1 and 6.1->6.2, but it appears nothing has changed as of 6.3.

-- 
John
------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to