[vtkusers] X11 CMake Errors on Mac
David Gobbi
david.gobbi at gmail.com
Fri Jan 4 16:31:06 EST 2013
I just tried building that example against my own VTK 5.10.1,
which is built with VTK_USE_QT, and Qt4.8.3. I saw exactly
the same error that Ben reported:
Undefined symbols:
"QVTKWidget::QVTKWidget(QWidget*, QFlags<Qt::WindowType>)"
When built against VTK 5.10 (or VTK 5.10.1), this example is not
linking to the QVTK library. Its CMakeLists.txt has to be fixed.
- David
On Fri, Jan 4, 2013 at 2:21 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I'm builid a VTK5 QT 4.7.4 on linux right now. Later I'll try my Mac,
> but I don't think I use Qt 4.8.
>
> David may be correct that the CMakeLists.txt file is broken.
> Unfortunately, we can only test so many combinations of VTK/Qt
> versions.
>
> Bill
>
> On Fri, Jan 4, 2013 at 4:19 PM, Berkowitz, Benjamin M
> <benjamin-berkowitz at uiowa.edu> wrote:
>> VTK 5.10.1 and Qt 4.8.4
>>
>> The options that I changed from default were:
>> VTK_USE_QT = ON
>> VTK_USE_GUISUPPORT = ON
>> BUILD_SHARED_LIBS = ON
>>
>> and as a side note, I've tried using CMAKE_BUILD_TYPE as both Debug and Release mode with the same result. For now I left it as the default Debug.
>>
>>
>> On Jan 4, 2013, at 3:11 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>>
>>> And VTK 5.10?
>>>
>>>
>>> On Fri, Jan 4, 2013 at 4:09 PM, Berkowitz, Benjamin M
>>> <benjamin-berkowitz at uiowa.edu> wrote:
>>>> Yes
>>>>
>>>>
>>>> On Jan 4, 2013, at 3:02 PM, Bill Lorensen <bill.lorensen at gmail.com>
>>>> wrote:
>>>>
>>>>> Is your VTK built with QT turned on?
>>>>>
>>>>> On Fri, Jan 4, 2013 at 3:57 PM, Berkowitz, Benjamin M
>>>>> <benjamin-berkowitz at uiowa.edu> wrote:
>>>>
>>>
>>>
>>>
>>> --
>>> Unpaid intern in BillsBasement at noware dot com
>>
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
More information about the vtkusers
mailing list