[INFO] OCCT 7.6.0 beta is out !

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
fcaduser
Posts: 448
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

[INFO] OCCT 7.6.0 beta is out !

Post by fcaduser »

jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: [INFO] OCCT 7.6.0 beta is out !

Post by jmaustpc »

fcaduser wrote: Wed Oct 06, 2021 12:10 pm Here :
https://git.dev.opencascade.org/gitweb/?p=occt.git
Hi, could you please post here how to pull the code with Git and from where? The instructions on the page you linked to do not work.

I had it working for pulling OCC master, on an older computer but not on the one I have with me at this time.

Jim
fcaduser
Posts: 448
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [INFO] OCCT 7.6.0 beta is out !

Post by fcaduser »

Actually I didn't clone the code with git, I just download each time the tarball tar.gz, here in this case :
https://git.dev.opencascade.org/gitweb/ ... ea13178ae2
wmayer
Founder
Posts: 20298
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: [INFO] OCCT 7.6.0 beta is out !

Post by wmayer »

Code: Select all

git clone https://git.dev.opencascade.org/repos/occt.git
git checkout OCCT-760-BETA
For more details see also: https://forum.freecadweb.org/viewtopic.php?f=4&t=62738
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: [INFO] OCCT 7.6.0 beta is out !

Post by jmaustpc »

wmayer wrote: Sun Oct 10, 2021 3:04 pmFor more details
Thank you! :)

Jim
drmacro
Veteran
Posts: 8976
Joined: Sun Mar 02, 2014 4:35 pm

Re: [INFO] OCCT 7.6.0 beta is out !

Post by drmacro »

Would it be possible for someone to pull all these various comments and threads and tidbits throughout threads, into a cookbook list that outlines the steps similar to what is shown on the compiling FreeCAD wiki?
  • A list of dependencies to pull.
  • The steps required to get the OCC source.
  • The build process of OCC
  • then how to get the FreeCAD build against it.
I'd be happy to turn such instructions into a wiki page.

(I've attempted to do the OCC build more than once. After trying these steps here and those over there, reading forum threads (both FreeCAD and OCC forums), etc. (at one point thinking I needed to create an account, sign developers agreements with Opencascade, etc.)... I just gave up.) :(
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
fcaduser
Posts: 448
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: [INFO] OCCT 7.6.0 beta is out !

Post by fcaduser »

@drmacro

You're right, OCCT is such an important component that it deserves a special attention.

First off, I can only help you for Linux. I made a very simple script for FC to avoid having to remember all steps and parameters.

Actually, the process for OCCT is really simple and straightforward. The *only* parameter I customize for cmake is the installation directory. I even don't remember the required dependencies, probably it's because if you can compile FC, then you have everything and so you can do the same for OCCT (to confirm.)
drmacro
Veteran
Posts: 8976
Joined: Sun Mar 02, 2014 4:35 pm

Re: [INFO] OCCT 7.6.0 beta is out !

Post by drmacro »

fcaduser wrote: Mon Oct 11, 2021 12:50 pm @drmacro

You're right, OCCT is such an important component that it deserves a special attention.

First off, I can only help you for Linux. I made a very simple script for FC to avoid having to remember all steps and parameters.

Actually, the process for OCCT is really simple and straightforward. The *only* parameter I customize for cmake is the installation directory. I even don't remember the required dependencies, probably it's because if you can compile FC, then you have everything and so you can do the same for OCCT (to confirm.)
I don't believe it is really simple and straightforward...maybe for those who use cmake, etc. more actively. I can compile FreeCAD on several platforms (various Linux's) (NOT EVER Windows, thankyou... :mrgreen: but happy to wiki-fy any Windows details if provided.) But, I have not been successful in compiling OCCT. Nor have I been able to glean any instruction on how to direct FC to use the build if I were able to get it built. This may be an obvious thing, but, not to me. :roll: (I'd also note that in recent days I've attempted to build FC on Manjaro to no avail as yet... :( )

I openly admit to being years out of touch with make, cmake, etc. None of the instructions I've gleaned have allowed me complete a build of OCCT, so I'm no where near a place where I can contemplate a script. (Note: I do however, have scripts that perform daily git pulls and build 0.20 master and the RT branch. My point being I'm not a total noob at this...)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
adrianinsaval
Veteran
Posts: 5544
Joined: Thu Apr 05, 2018 5:15 pm

Re: [INFO] OCCT 7.6.0 beta is out !

Post by adrianinsaval »

AUR and the archlinux package's sources are a good place to see how they get compiled for archlinux based system (like manjaro):
https://github.com/archlinux/svntogit-c ... cade/trunk
https://aur.archlinux.org/cgit/aur.git/ ... ascade-git
https://aur.archlinux.org/cgit/aur.git/ ... reecad-git

are you familiar with using makepkg?
https://wiki.archlinux.org/title/Makepkg
https://wiki.archlinux.org/title/PKGBUILD

I don't know how to get freecad to compile against a self compiled occ that is not installed but if you compile occ with makepkg you can install it using pacman and freecad should compile against it automatically.
drmacro
Veteran
Posts: 8976
Joined: Sun Mar 02, 2014 4:35 pm

Re: [INFO] OCCT 7.6.0 beta is out !

Post by drmacro »

adrianinsaval wrote: Mon Oct 11, 2021 1:32 pm AUR and the archlinux package's sources are a good place to see how they get compiled for archlinux based system (like manjaro):
https://github.com/archlinux/svntogit-c ... cade/trunk
https://aur.archlinux.org/cgit/aur.git/ ... ascade-git
https://aur.archlinux.org/cgit/aur.git/ ... reecad-git

are you familiar with using makepkg?
https://wiki.archlinux.org/title/Makepkg
https://wiki.archlinux.org/title/PKGBUILD

I don't know how to get freecad to compile against a self compiled occ that is not installed but if you compile occ with makepkg you can install it using pacman and freecad should compile against it automatically.
Manjaro is my first and only exposure to archlinux based system (having installed it a few days ago and had no clue it was arch based until after I started poking things... :roll: )

In the 3 days I've been poking Manjaro:

I have seen the -git "stuff" offered in the software installer application, still no clue what it is, does, or how it can help me. :(

Have seen references to makepkg..., still no clue what it is, does, or how it can help me. :(
(note: just haven't had time to explore these...)

The opencascade link you provided above shows it is doing 7.5 OOCT, no clue how to translate that 7.6.

I have, to date, looked at the PKBUILD for FreeCAD and attempted to collect the prerequisites and use the FreeCAD cmake, the fruits of that failure are discussed here: https://forum.freecadweb.org/viewtopic.php?f=4&t=62802

In short the cmake can't find OCCT and there is something missing in the Qt5 setup...if I'm reading the errors correctly (...I'm probably interpreting the errors wrong. :oops: )
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply