Many thanks! I did everything but the result is again the same:
Code: Select all
D:\FreeCAD-build-nmake\src\Base\AxisPy.cpp(167): error C2039: "getPyExceptionType": is no element of "Base::Exception"
d:\freecadgit\src\base\Exception.h(85): note: see declaration of "Base::Exception"
...
However, when I analyze the first error message:
Code: Select all
2>QuantityPyImp.cpp
2>d:\freecad-build\src\base\quantitypy.cpp(225): error C2039: 'getPyExceptionType': is not a member of 'Base::Exception'
2>d:\freecadgit\src\base\exception.h(85): note: see declaration of 'Base::Exception'
QuantityPy.cpp is generated by src/Tools/generateTemaplates/templateClassPyExport.py.
So it seems there is an issue in templateClassPyExport.py.
The relevant exception code there was introduced with commit git commit 8ecee3c413177093720a65c7626451ce3ffc8033
I reverted the changes from this commit and then I can compile QuantityPyImp.cpp and quantitypy.cpp. Then I get of course other compilation errors, but at least I got an idea where the problem lies.
Realthunder, could you please have a look?
-------
Besides this, could the CMake option "BUILD_QT5" be enabled by default?