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!
joaocouto
Posts: 31
Joined: Thu Feb 23, 2023 8:57 pm

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

Post by joaocouto »

Where can I find Libpake with python 3.10 or 3.11 ? people are already providing compiled versions with these versions.

https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

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

Post by GeneFC »

joaocouto wrote: Thu Mar 02, 2023 12:59 pm Where can I find Libpake with python 3.10 or 3.11 ?
It does not exist yet. The precompiled versions are made with Conda, not Libpack.

Gene
joaocouto
Posts: 31
Joined: Thu Feb 23, 2023 8:57 pm

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

Post by joaocouto »

then it means that the source code is compatible and it is only necessary to update the libpack?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

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

Post by adrianinsaval »

yes, but python 3.8 is kept around for windows 7 compatibility
joaocouto
Posts: 31
Joined: Thu Feb 23, 2023 8:57 pm

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

Post by joaocouto »

would it be too much to ask to maintain two versions of libpack? one with python 3.8 and one with python 3.11
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

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

Post by adrianinsaval »

without a compelling usecase yes, you could install the dependencies through conda and compile in a conda env if you really want python 3.11
User avatar
MisterMaker
Posts: 739
Joined: Mon Sep 21, 2020 7:41 am

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

Post by MisterMaker »

Out of no-where I get this error:

Code: Select all

Severity	Code	Description	Project	File	Line	Suppression State
Error		CMake Error at cMake/FreeCAD_Helpers/ChooseQtVersion.cmake:79 (message):
  Could not find a valid Qt installation.  Consider setting Qt5_DIR or
  Qt6_DIR (as needed).		C:\github repros\FreeCAD_MisterMaker\cMake/FreeCAD_Helpers/ChooseQtVersion.cmake	79	
I used the libpack with qt so I don't understand why it needs another dir.
Also it did work the last time I have build Freecad!
So not sure why it stopped working now.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

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

Post by adrianinsaval »

Have you tried making a clean build? or perhaps something got corrupted in your libpack, try redownloading.
User avatar
MisterMaker
Posts: 739
Joined: Mon Sep 21, 2020 7:41 am

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

Post by MisterMaker »

Omg that was stupid, it had an older settings file open that was not in the repro directory. And so it couldn't find the libpack, and it did gave the libpack warning but only in console in the warning dialog it gave the QT warning.
Lessons learned!
0.21 looks good :)
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

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

Post by johnwang »

Looking for a python 3.11 one.
Another program doesn't works with 3.8
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
Post Reply