Hi all,
i try to build pivy from source (using the github source form loooooo (https://github.com/FreeCAD/pivy)) for debug and release in windows. Building the release binary just works fine. Building the debug does not.
The problem is my binary(_COIN_D.CP37-WIN_AMD64.PYD) debug version wants to link against Coin4.lib and python37.lib. What leads to an dll miss match at runtime. If i rename my Coin4d.lib to Coin4.lib my .pyd looks for the the correct coin dll (coin4d.dll). But right know i cannot handle the python.37lib.....
Does someone know how to modify the pivy setup script to use the debug version??
BR Manuel
[SOLVED] Building pivy on Windows
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
[SOLVED] Building pivy on Windows
Last edited by apeltauer on Wed Mar 06, 2019 10:23 am, edited 1 time in total.
Re: Building pivy on Windows
you can set the path to the coin library in the cmake-file directly. Not very nice, but it should work.
https://github.com/FreeCAD/pivy/blob/ma ... ts.txt#L14
But for python I don't know. I can't see where it gets linked:
https://ci.appveyor.com/project/conda-f ... cqdjn#L706
https://github.com/FreeCAD/pivy/blob/ma ... ts.txt#L14
But for python I don't know. I can't see where it gets linked:
https://ci.appveyor.com/project/conda-f ... cqdjn#L706
Re: Building pivy on Windows
I already tried to run setup.py with python_d.exe
But no success...
But no success...
Re: Building pivy on Windows
So just found my mistake....
After digging in python distutils build_ext i just found out to start the setup.py script with build --debug...
This works fine and creates a pyd which links to to the debug version of python!!
Sorry for the noise....
BR Manuel
After digging in python distutils build_ext i just found out to start the setup.py script with build --debug...
This works fine and creates a pyd which links to to the debug version of python!!
Sorry for the noise....
BR Manuel