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!
Post Reply
kisolre
Veteran
Posts: 4163
Joined: Wed Nov 21, 2018 1:13 pm

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

Post by kisolre »

Which version is used for the LP build? It is still named 12.1.2...
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 »

kisolre wrote: Tue May 05, 2020 9:03 pm Which version is used for the LP build? It is still named 12.1.2...
I have only used 12.1.5 for a local build. Its 10 minutes old ;)
I will work on updating to the new Libpack in the next days, but the real difference is curl and openssl needed to build the Cloud module, which is not built by default.
"fight the good fight"
kisolre
Veteran
Posts: 4163
Joined: Wed Nov 21, 2018 1:13 pm

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

Post by kisolre »

I am getting this:

Code: Select all

=====================================================
matplotlib not found, Plot module won't be available.
=====================================================
Should this be added and what uses it?
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 »

kisolre wrote: Tue May 05, 2020 10:07 pm Should this be added and what uses it?
It exists in bin/Lib/site-packages.
I think CMake loudly doesn't find it on first pass and then silently finds it on a second pass. I haven't been able to pin this down.
I believe its used in FEM post-processing.
After building and running FreeCAD try

Code: Select all

import matplotlib
from the Python Console
"fight the good fight"
kisolre
Veteran
Posts: 4163
Joined: Wed Nov 21, 2018 1:13 pm

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

Post by kisolre »

ALL_BUILD builds Ok, but INSTALL gives:

Code: Select all

Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB3073	The command "setlocal
"C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1.	INSTALL	E:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets	138	
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 »

kisolre wrote: Wed May 06, 2020 10:12 am ALL_BUILD builds Ok, but INSTALL gives:
Do have write access without admin to the directory you are trying to install to?
"fight the good fight"
kisolre
Veteran
Posts: 4163
Joined: Wed Nov 21, 2018 1:13 pm

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

Post by kisolre »

sgrogan wrote: Wed May 06, 2020 9:01 pm Do have write access
Of course not :( Silly me, I forgot to set install dir and it tries to write to "C:/Program Files (x86)/FreeCAD"
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 »

kisolre wrote: Wed May 06, 2020 10:18 pm Of course not :( Silly me, I forgot to set install dir and it tries to write to "C:/Program Files (x86)/FreeCAD"
Can you switch to the Test framwork WB and run the Self-test?
I also noticed we need to add ocl.pyd to the Libpack for the Path WB users.

It's good to have a few more people around compiling on Win :)
"fight the good fight"
kisolre
Veteran
Posts: 4163
Joined: Wed Nov 21, 2018 1:13 pm

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

Post by kisolre »

Here is a log from the one compiled under the VM:
Report view.log
(84.86 KiB) Downloaded 94 times
There are no errors marked in the Self-Test window but there was also a lot of red in that log. I will look through it and if report if something comes to mind.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20978 (Git)
Build type: Release
Branch: master
Hash: 33aafd1e394972e0bd292f1f4d0a0521041ee7ce
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Bulgarian/Bulgaria (bg_BG)

One strange thing is that OCC version reported is 7.3.0 and QT is 5.12.1? I am sure that the Libpack used is the latest fixed one 12.1.5
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 »

kisolre wrote: Wed May 06, 2020 10:48 pm One strange thing is that OCC version reported is 7.3.0 and QT is 5.12.1? I am sure that the Libpack used is the latest fixed one 12.1.5
I think this is correct.
Next we must test 12.3.x https://github.com/apeltauer/FreeCAD/releases
Scroll down and expand the >assets.

Thanks for testing :)
"fight the good fight"
Post Reply