glTF export - OCCT7.5 require RapidJSON

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
gvb
Posts: 11
Joined: Tue Mar 09, 2021 11:51 am

Re: glTF export - OCCT7.5 require RapidJSON

Post by gvb »

apeltauer wrote: Thu Mar 11, 2021 6:39 am Building from OCC from scratch:
...
here [1] you can find version of @apeltauer's Libpack with glTF support. @apeltauer, could you please review the the OCCT build options in .gitlab-ci.yml [2]? just in case if I missed something.

[1] https://gitlab.com/gbvbg/FreeCADLibpack ... es/1457063
[2] https://gitlab.com/gbvbg/FreeCADLibpack ... i.yml#L102
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: glTF export - OCCT7.5 require RapidJSON

Post by looo »

Kunda1 wrote: Fri Mar 12, 2021 12:40 pm Pinging package volunteers. What say you?
rapid_json is enabled for conda-forge occt7.5. packages. But we still cannot update the bundles to occt7.5 because of gmsh failing to compile against occt7.5 (windows).
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: glTF export - OCCT7.5 require RapidJSON

Post by Kunda1 »

looo wrote: Fri Mar 26, 2021 6:21 pm rapid_json is enabled for conda-forge occt7.5. packages. But we still cannot update the bundles to occt7.5 because of gmsh failing to compile against occt7.5 (windows).
Thanks @looo, can you link to the error ?
edit: nvm found it: https://forum.freecadweb.org/viewtopic.php?f=42&t=56963
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
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: glTF export - OCCT7.5 require RapidJSON

Post by adrianinsaval »

@uwestoehr @apeltauer something to take into account for the libpack for the upcoming release, or is this already being done?
@ppd @Kunda1 can it be done for the snap too?
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: glTF export - OCCT7.5 require RapidJSON

Post by Kunda1 »

Thanks for the heads up adrian
Opened https://github.com/FreeCAD/FreeCAD-snap/issues/4
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
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: glTF export - OCCT7.5 require RapidJSON

Post by uwestoehr »

looo wrote: Fri Mar 26, 2021 6:21 pm rapid_json is enabled for conda-forge occt7.5. packages. But we still cannot update the bundles to occt7.5 because of gmsh failing to compile against occt7.5 (windows).
But you don't need to compile Gmsh since comes as precompiled .exe:
https://gmsh.info/#Download

In the LibPack we therefore bundle the .exe and this works fine.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: glTF export - OCCT7.5 require RapidJSON

Post by looo »

uwestoehr wrote: Wed May 18, 2022 2:28 am
looo wrote: Fri Mar 26, 2021 6:21 pm rapid_json is enabled for conda-forge occt7.5. packages. But we still cannot update the bundles to occt7.5 because of gmsh failing to compile against occt7.5 (windows).
But you don't need to compile Gmsh since comes as precompiled .exe:
https://gmsh.info/#Download

In the LibPack we therefore bundle the .exe and this works fine.
I guess this is quite old. There is no error currently regarding gmsh in conda-forge land.
I like to keep packages from conda-forge because it is more consistent.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: glTF export - OCCT7.5 require RapidJSON

Post by uwestoehr »

looo wrote: Wed May 18, 2022 9:00 pm I guess this is quite old. There is no error currently regarding gmsh in conda-forge land.
I like to keep packages from conda-forge because it is more consistent.
What do you mean with old? https://gmsh.info/#Download leads yo to the latest release.
You write there is no error, but in your post from March you wrote there is.

Can you clarify this please?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: glTF export - OCCT7.5 require RapidJSON

Post by adrianinsaval »

uwestoehr wrote: Sat May 21, 2022 5:28 pm What do you mean with old? https://gmsh.info/#Download leads yo to the latest release.
You write there is no error, but in your post from March you wrote there is.

Can you clarify this please?
his post with the error is from march 2021, either way, gmsh is not the main issue in this thread, did you read the stuff about compiling OCC with rapidjson enabled? Is that done in the current libpack?
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: glTF export - OCCT7.5 require RapidJSON

Post by uwestoehr »

adrianinsaval wrote: Sat May 21, 2022 10:20 pm his post with the error is from march 2021,
Oops. :oops: Sorry for the noise then.

But why did you mention me here? What is the problem?
Post Reply