[vtkusers] libvtkRendering.so.5.6: undefined symbol: _ZN8QMapData10createDataEi

Jeff Baumes jeff.baumes at kitware.com
Wed Jun 2 13:51:35 EDT 2010


A quick google search turned up this page:

http://www.slicer.org/slicerWiki/index.php/Slicer3:Developers:Projects:QtSlicer/Tutorials/CompileWithQt

Which states:

"if you encounter compilation errors like undefined reference to
`QMapData::createData(int)', delete the entire build directory
(VTK-build) and start a build from scratch (you can use the same
CMakeCache.txt) Make sure there is not a different Qt version in the
PATH/LD_LIBRARY_PATH environment variables (ie Qt-4.6.0 while you try
to compile VTK with 4.6.2)."

HTH,
Jeff

On Wed, Jun 2, 2010 at 1:44 PM, Gomez, Alberto <alberto.gomez at kcl.ac.uk> wrote:
> It looks that QMapData was in Qt 4.2 (
> http://cep.xor.aps.anl.gov/software/qt4-x11-4.2.2-browser/classes.html )
> but it isn't in Qt 4.6 ( http://doc.qt.nokia.com/4.6/classes.html ).
> Maybe this is the problem... But still i have no solution
>
> On 02/06/10 18:31, dbaran wrote:
>> I have the QT libraries actually. I can compile, link and run GUIs with QVTK
>> in Eclipse for example... this is really bugging me. I would be really happy
>> if someone can help with this...
>>
>>
>>
>> Francois Bertel wrote:
>>
>>> $ c++filt _ZN8QMapData10createDataEi
>>> QMapData::createData(int)
>>>
>>> It means you are missing Qt libraries.
>>>
>>> On Wed, Jun 2, 2010 at 1:20 PM, dbaran <baran.aydogan at gmail.com> wrote:
>>>
>>>> Unfortunately I couldn't find any solution yet... I render outside
>>>> MATLAB...
>>>> I will put here if I ever get it working.
>>>>
>>>>
>>>>
>>>> Algohe wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have the same problem, but still no solution. Did you find any??
>>>>>
>>>>> Alberto
>>>>>
>>>>>
>>>>> dbaran wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> I use VTK 5.6 libraries (source build with no shared lib and rpath off)
>>>>>> in MATLAB and build using MATLAB mex. Earlier I could run vtkRenderer
>>>>>> of
>>>>>> VTK 5.2 in MATLAB R2009b. I updated both my MATLAB and VTK now the very
>>>>>> same code that used to work in my earlier system have issues. The thing
>>>>>> is it compiles correctly but when I need to run it I have the following
>>>>>> error:
>>>>>>
>>>>>> /usr/local/lib/vtk-5.6/libvtkRendering.so.5.6: undefined symbol:
>>>>>> _ZN8QMapData10createDataEi.
>>>>>>
>>>>>> I could run other VTK codes of mine in MATLAB actually; the problem
>>>>>> arises when I try to use vtkRenderer.
>>>>>>
>>>>>> I would be very glad if someone can help me solve this...
>>>>>>
>>>>>> -Baran
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/libvtkRendering.so.5.6%3A-undefined-symbol%3A-_ZN8QMapData10createDataEi-tp28527505p28757465.html
>>>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> 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 VTK FAQ at:
>>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>>
>>>
>>>
>>> --
>>> François Bertel, PhD  | Kitware Inc. Suite 204
>>> 1 (518) 371 3971 x113 | 28 Corporate Drive
>>>                       | Clifton Park NY 12065, USA
>>> _______________________________________________
>>> 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 VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>>
>>
>
>
> --
> Alberto Gomez
>
> Division of Imaging Sciences
> The Rayne Institute
> 4th Floor, Lambeth Wing
> St Thomas' Hospital
> London SE1 7EH
>
> phone: +44 (0)20 718 88364
> email: alberto.gomez at kcl.ac.uk
>
>
> _______________________________________________
> 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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Jeff Baumes, Ph.D.
Technical Lead, Kitware Inc.
(518) 881-4932



More information about the vtkusers mailing list