compilation error in MeshPartGui

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

compilation error in MeshPartGui

Post by uwestoehr »

I get now these error and warnings and the compilation fails:

Code: Select all

3>Tessellation.cpp
3>D:\FreeCADGit\src\Mod\MeshPart\Gui\Tessellation.cpp(426): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::Mesh2ShapeGmsh': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(50): note: see previous definition of '{ctor}'
3>D:\FreeCADGit\src\Mod\MeshPart\Gui\Tessellation.cpp(435): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::~Mesh2ShapeGmsh': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(51): note: see previous definition of '{dtor}'
3>D:\FreeCADGit\src\Mod\MeshPart\Gui\Tessellation.cpp(439): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::process': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(53): note: see previous definition of 'process'
3>D:\FreeCADGit\src\Mod\MeshPart\Gui\Tessellation.cpp(448): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::writeProject': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(59): note: see previous definition of 'writeProject'
3>D:\FreeCADGit\src\Mod\MeshPart\Gui\Tessellation.cpp(516): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::loadOutput': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(60): note: see previous definition of 'loadOutput'
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(67): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::qt_static_metacall': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(47): note: see previous definition of 'qt_static_metacall'
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(88): warning C4273: 'staticMetaObject': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(47): note: see previous definition of 'public: static QMetaObject const MeshPartGui::Mesh2ShapeGmsh::staticMetaObject'
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(88): error C2491: 'MeshPartGui::Mesh2ShapeGmsh::staticMetaObject': definition of dllimport static data member not allowed
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(99): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::metaObject': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(47): note: see previous definition of 'metaObject'
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(104): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::qt_metacast': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(47): note: see previous definition of 'qt_metacast'
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(112): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::qt_metacall': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(47): note: see previous definition of 'qt_metacall'
3>D:\FreeCAD-build\src\Mod\MeshPart\Gui\moc_Tessellation.cpp(130): warning C4273: 'MeshPartGui::Mesh2ShapeGmsh::processed': inconsistent dll linkage
3>d:\freecadgit\src\mod\meshpart\gui\Tessellation.h(56): note: see previous definition of 'processed'
3>Done building project "MeshPartGui.vcxproj" -- FAILED.
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19754 (Git)
Build type: Release
Branch: master
Hash: 9c154f705c015c3a36eb1aa629c59d6b18ef11fb
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
wmayer wrote: .
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: compilation error in MeshPartGui

Post by wmayer »

I hope this fixes it: git commit 53999ea73
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: compilation error in MeshPartGui

Post by apeltauer »

wmayer wrote: Sat Feb 29, 2020 9:14 am I hope this fixes it: git commit 53999ea73
Work again for me....
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: compilation error in MeshPartGui

Post by uwestoehr »

apeltauer wrote: Sat Feb 29, 2020 11:30 am
wmayer wrote: Sat Feb 29, 2020 9:14 am I hope this fixes it: git commit 53999ea73
Work again for me....
For me too. Thanks.
Post Reply