[Finally DONE] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
User avatar
hobbes1069
Posts: 291
Joined: Wed Nov 09, 2011 3:49 pm
Location: Southaven, MS

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by hobbes1069 »

Interesting... I tried moving Fedora to it but the resultant archive does not include the required submodules...
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by looo »

hobbes1069 wrote: Sun Feb 21, 2021 9:31 pm Interesting... I tried moving Fedora to it but the resultant archive does not include the required submodules...
I used git so far to clone the repo. see here:
https://github.com/conda-forge/smesh-fe ... e/build.sh
User avatar
hobbes1069
Posts: 291
Joined: Wed Nov 09, 2011 3:49 pm
Location: Southaven, MS

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by hobbes1069 »

I can take a look, but I'll probably file an issue. For packaging purposes the archive should have everything required.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by looo »

hobbes1069 wrote: Sun Feb 21, 2021 9:43 pm I can take a look, but I'll probably file an issue. For packaging purposes the archive should have everything required.
yes, I think someone has to do this manually or write a github action to do it:

Code: Select all

git clone --recurse-submodules https://github.com/trelau/SMESH.git
cd SMESH
python prepare.py
and upload the result as a tar.gz to the github release assets.

https://github.com/trelau/SMESH/pull/39 ... 4ce0db1d6c
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by Gift »

looo wrote: Sun Feb 21, 2021 9:48 pm
hobbes1069 wrote: Sun Feb 21, 2021 9:43 pm I can take a look, but I'll probably file an issue. For packaging purposes the archive should have everything required.
yes, I think someone has to do this manually or write a github action to do it:

Code: Select all

git clone --recurse-submodules https://github.com/trelau/SMESH.git
cd SMESH
python prepare.py
and upload the result as a tar.gz to the github release assets.

https://github.com/trelau/SMESH/pull/39 ... 4ce0db1d6c
Is smesh substitution of salomesmesh? If I build VTK 9 and add smesh, it is possible to build FreeCAD, or need I a flag or other magic?
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by looo »

Gift wrote: Thu Feb 25, 2021 7:49 pm Is smesh substitution of salomesmesh? If I build VTK 9 and add smesh, it is possible to build FreeCAD, or need I a flag or other magic?
With external smesh I refer to this repo:
https://github.com/trelau/SMESH

You need the external-smesh flag:
https://github.com/conda-forge/freecad- ... ild.sh#L61
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by Gift »

looo wrote: Thu Feb 25, 2021 7:53 pm
Gift wrote: Thu Feb 25, 2021 7:49 pm Is smesh substitution of salomesmesh? If I build VTK 9 and add smesh, it is possible to build FreeCAD, or need I a flag or other magic?
With external smesh I refer to this repo:
https://github.com/trelau/SMESH

You need the external-smesh flag:
https://github.com/conda-forge/freecad- ... ild.sh#L61
Thx. I will test it at weekend.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by looo »

to move the bundles to occt7.5 we need to update gmsh too. There is still this error:

Code: Select all

OCCFace.cpp.obj : error LNK2001: unresolved external symbol "public: void __cdecl Standard_ErrorHandler::Callback::RegisterCallback(void)" (?RegisterCallback@Callback@Standard_ErrorHandler@@QEAAXXZ)
atererus
Posts: 32
Joined: Thu Mar 11, 2021 2:28 pm
Location: the Netherlands
Contact:

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by atererus »

Hi ! I am new here.
I am on Fedora 33 .
I'm not asking for help but offering help where I can.
For me it is broken ( see https://forum.freecadweb.org/viewtopic. ... 1&p=487189 ) and use the Appimage now.

I am comfortable compiling software packages, I got 0.18 to compile from source on CentOS 7
You may guide me what it means to be a package maintainer on Fedora.
I could try to test Fedora 32 ... 34, rawhide in a virtual machine.
hobbes1069 wrote: Sun Feb 21, 2021 9:31 pm Interesting... I tried moving Fedora to it but the resultant archive does not include the required submodules...
I'm noob here, but would it be an option to include the archive with submodules local with FreeCAD just for the time until it is resolved?

Feel free to let me know if I can do something to help.
Last edited by atererus on Mon Mar 15, 2021 8:25 am, edited 1 time in total.
Read my profile in order to get more detail about my tools and preferences.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: [WIP] conda: vtk9 / occt7.5 / python3.9 / boost1.74 migration

Post by looo »

weekly builds and bundles are updated to vtk9 / occt7.5.1 / python3.9:
https://github.com/FreeCAD/FreeCAD-AppI ... kly-builds

This will the base for the 0.20 builds and if it's working good we can also update 0.19 bundles to this dependencies. Via conda 0.19.1 is already available with this dependencies.
Post Reply