[Paraview-developers] Paraview and VS2013 compile errors
Lodron, Gerald
Gerald.Lodron at joanneum.at
Thu Sep 4 09:23:45 EDT 2014
Hi
I am compiling PV with qt 5.2.1, internal VTK and boost 1.55 (for ReebGraph), under 64bit (without python) and get following errors:
Min max unknown in protobuf, following patch works:
https://code.google.com/p/protobuf/issues/detail?id=531
I also get many
2>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\type_traits(1220): error C2065: 'max_align_t' : undeclared identifier
Adding #include <stddef.h> to common.h of protobuf solved that in porotobuf but I get it also in CommandLineArguments.cxx of vtksys where that solution does not worked...
Additionally I get many linker errors:
6>QtTesting_automoc.obj : error LNK2005: "public: static struct QMetaObject const pqComboBoxEventTranslator::staticMetaObject" (?staticMetaObject at pqComboBoxEventTranslator@@2UQMetaObject@@B) already defined in moc_pqComboBoxEventTranslator.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "public: virtual struct QMetaObject const * __cdecl QVTKPlugin::metaObject(void)const " (?metaObject at QVTKPlugin@@UEBAPEBUQMetaObject@@XZ) already defined in moc_Q4VTKWidgetPlugin.obj
6>QtTesting_automoc.obj : error LNK2005: "private: static void __cdecl pqComboBoxEventTranslator::qt_static_metacall(class QObject *,enum QMetaObject::Call,int,void * *)" (?qt_static_metacall at pqComboBoxEventTranslator@@CAXPEAVQObject@@W4Call at QMetaObject@@HPEAPEAX at Z) already defined in moc_pqComboBoxEventTranslator.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "public: virtual void * __cdecl QVTKPlugin::qt_metacast(char const *)" (?qt_metacast at QVTKPlugin@@UEAAPEAXPEBD at Z) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "public: virtual int __cdecl QVTKPlugin::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall at QVTKPlugin@@UEAAHW4Call at QMetaObject@@HPEAPEAX at Z) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "private: static void __cdecl QVTKPlugin::qt_static_metacall(class QObject *,enum QMetaObject::Call,int,void * *)" (?qt_static_metacall at QVTKPlugin@@CAXPEAVQObject@@W4Call at QMetaObject@@HPEAPEAX at Z) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "public: virtual struct QMetaObject const * __cdecl QVTKWidget::metaObject(void)const " (?metaObject at QVTKWidget@@UEBAPEBUQMetaObject@@XZ) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "public: virtual void * __cdecl QVTKWidget::qt_metacast(char const *)" (?qt_metacast at QVTKWidget@@UEAAPEAXPEBD at Z) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "public: virtual int __cdecl QVTKWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall at QVTKWidget@@UEAAHW4Call at QMetaObject@@HPEAPEAX at Z) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: "private: static void __cdecl QVTKWidget::qt_static_metacall(class QObject *,enum QMetaObject::Call,int,void * *)" (?qt_static_metacall at QVTKWidget@@CAXPEAVQObject@@W4Call at QMetaObject@@HPEAPEAX at Z) already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: qt_plugin_query_metadata already defined in moc_Q4VTKWidgetPlugin.obj
9>QVTKWidgetPlugin_automoc.obj : error LNK2005: qt_plugin_instance already defined in moc_Q4VTKWidgetPlugin.obj
Any hints?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20140904/3132dd91/attachment.html>
More information about the Paraview-developers
mailing list