Search found 268 matches

Go to advanced search

by apeltauer
Wed Mar 27, 2019 11:57 am
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Building with Python 3.6.8 works better.... OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.Unknown Build type: Release Python version: 3.6.8 Qt version: 5.12.1 Coin version: 4.0.0a OCC version: 7.3.0 Locale: English/Germany (en_DE) Capture.PNG I have create ...
by apeltauer
Tue Mar 26, 2019 3:13 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

I wonder how big will be the effort to recreate all libs that are based on Python. It's shiboken2, PySide2, numpy, boost.python, ... Pyside2, shiboken2 takes long to compile, about 2 hours, but it is already building. Boost.python --> just modify the config file. First I try Pyside2, Shiboken2 and ...
by apeltauer
Tue Mar 26, 2019 2:25 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Btw, I think there is a bug in Python 3.7 because for some older builds I can use Python 3.6 in release and debug version without these problems. Should we try to use python 3.6?? PySide2 should also work with Python3.6. I try to setup a python 3.6 build... Any version wishes? i would take 3.6.8 fr...
by apeltauer
Tue Mar 26, 2019 2:24 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

wmayer wrote:
Tue Mar 26, 2019 1:53 pm
Another directory that should be copied from Qt is either the complete translation directory but at least qtwebengine_locales because otherwise a warning is raised that the web engine may not work correctly.
Added...
by apeltauer
Tue Mar 26, 2019 1:31 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

Building with pybind11 the following error i get when building the debug version and only the debug version. pyarea.obj : error LNK2019: unresolved external symbol __imp_PyModule_Create2 referenced in function "public: __cdecl pybind11::module::module(char const *,char const *)" (??0module@pybind11@...
by apeltauer
Tue Mar 26, 2019 1:19 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

I try to get the libpack version 12.1.2 to run and upload it again. Also FEM passes the cmake check. I have added all hdf5 stuff with the med files. But by compiling FreeCAD netgen stuff i get a linking error. Also i had to adopt some header files. Had to add std:: to all endl commands.... From you...
by apeltauer
Tue Mar 26, 2019 9:58 am
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

wmayer wrote:
Tue Mar 26, 2019 8:51 am
But by compiling FreeCAD netgen stuff i get a linking error.
You must look at which functions are missing and then modify the netgen sources by adding the DLL_HEADER export macro.
Thanks for the hint....
by apeltauer
Tue Mar 26, 2019 7:30 am
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

..... Found PythonInterp: C:/Work/FreeCadLibs/FreeCADLibs_12.1.2_x64_VC15/bin/python.exe (found version "3.7.2") Found PythonLibs: optimized;C:/Work/FreeCadLibs/FreeCADLibs_12.1.2_x64_VC15/bin/libs/python37.lib;debug;C:/Work/FreeCadLibs/FreeCADLibs_12.1.2_x64_VC15/bin/libs/python37_d.lib (found sui...
by apeltauer
Mon Mar 25, 2019 3:58 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

To use pybind11 in the libarea project if have to adopt the cmake file with this:

Code: Select all

.....
else()
  include_directories(${pybind11_INCLUDE_DIR})
endif(NOT FREECAD_USE_PYBIND11)
Then pybind is included correctly....
by apeltauer
Mon Mar 25, 2019 2:01 pm
Forum: Install / Compile
Topic: Building Libs for Windows Debug Version with VS2017/Qt5.12
Replies: 171
Views: 9384

Re: Building Libs for Windows Debug Version with VS2017/Qt5.12

wmayer wrote:
Mon Mar 25, 2019 1:40 pm
Can you please attach the pybind11 cmake config file to this thread?
you can find the file in

Code: Select all

share\cmake\pybind11\

Go to advanced search