New libpacks for Windows with Qt5.15, OCC7.5

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by apeltauer »

Update:
After debuging with Jean-Marie, now i can send fc files to the cloud.

You can find a 7z file with the compiled curl. This is a release build. I had to build curl without openssl support. Just enabled the winssl(scheme) support. Otherwise curl does not takte os specific ca certifications.

https://github.com/apeltauer/FreeCAD/re ... ag/openssl

Also on the github repo, a modified cloud wb cmake file can be found. Cmake then finds the curl lib and includes inside the libpack.
The cmake file needs some clean up and modifications for a debug build.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by Kunda1 »

apeltauer wrote: Mon Mar 02, 2020 5:42 pm Update:
Should we track these changes in a ticket ?

Edit: also: Awesome! 8-)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by apeltauer »

Kunda1 wrote: Mon Mar 02, 2020 5:51 pm
apeltauer wrote: Mon Mar 02, 2020 5:42 pm Update:
Should we track these changes in a ticket ?
When we are ready, we need to make a clean commit with all the changes... for now we are checking what else we need :)
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by apeltauer »

wmayer wrote: ping
Werner what is your opinion on building curl? I am not sure if i should rename the curl version i am build from source with winssl active. I had build curl with openssl support on, but then the ca verification failed. After digging around a found out that when building curl with only winssl active and openssl deactivated curl takes the ca certificates from windows. But i have found some threads in the internet that some tasks may fail if openssl is missing. So this is the reason why i am struggling with the name. A option would be to name the curl stuff with winssl support e.g. curl_winssl...

Opinions welcome.... :)
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by wmayer »

apeltauer wrote: Mon Mar 02, 2020 7:11 pm Werner what is your opinion on building curl?
No idea what's best. I have never worked with curl and so it's hard for me to tell how to handle things.
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by apeltauer »

wmayer wrote: Mon Mar 02, 2020 9:33 pm No idea what's best. I have never worked with curl and so it's hard for me to tell how to handle things.
Ok, thanks for your answer. I think for now i leave the naming. If we need an additional curl version we probably rename the new version ...
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by Kunda1 »

@apeltauer thx again for your help :D
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by apeltauer »

Update:

Manged to build curl and openssl for windows.
Now the cloud workbench also runs under Windows.
I have created a new LibPack (ver. 12.1.4) with curl and openssl check out:

https://github.com/apeltauer/FreeCAD/releases
https://github.com/apeltauer/FreeCAD/re ... ag/openssl

Also i made some changes in the source code. Check out this pr: https://github.com/FreeCAD/FreeCAD/pull/3179
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by sgrogan »

apeltauer wrote: Sun Mar 15, 2020 1:35 pm I have created a new LibPack (ver. 12.1.4) with curl and openssl check out:
Thanks for this.
I used the "12.1.4" version when I added ply and lxml to the Libpack, and we're using it here: https://github.com/FreeCAD/FreeCAD/rele ... g/0.19_pre
Which in turn is used in https://github.com/FreeCAD/FreeCAD/blob ... s.yml#L248

How do you suggest resolving this conflict?

EDIT: With the new Libpack I get a test error in FEM for missing ply package. Adding the package to bin/site-packages fixes it. I used the latest PYPI version (It's pure python)

For info ply was provided in the FreeCAD source/binary by way of the OpenSCAD WB. It has been recently removed.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20095 (Git)
Build type: Release
Branch: master
Hash: 168ce605a16a3fc0319fd7262e2d90042bf0f8ae
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
"fight the good fight"
User avatar
apeltauer
Posts: 399
Joined: Fri Aug 11, 2017 2:19 pm

Re: New libpacks for Windows with Qt5.12.6, OCC7.4

Post by apeltauer »

Thanks for the hint.
sgrogan wrote: Mon Mar 16, 2020 8:53 pm How do you suggest resolving this conflict?
I will increase the version to 12.1.5. I will also try to add your suggested lib. When i am done will come back to this thread...
Post Reply