Compiling OCCT 6.9.1? or 7.0.0?

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
shoogen
Veteran
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by shoogen »

One huge problem in porting FreeCAD to a new version of OCCT is, IMHO, maintaining SMESH.
Moths ago I decided not to waste any of my time with our SMESH and to wait for OCCT.com to encounter the problems in SALOME first.
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by NormandC »

I assume SMESH is used by the Mesh Design module, and used to export to mesh formats?
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by wmayer »

NormandC wrote:I assume SMESH is used by the Mesh Design module, and used to export to mesh formats?
No, Mesh Design has its own mesh framework and SMESH is mainly used by Fem and a little bit by MeshPart.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by yorik »

tanderson69 wrote:I have no idea if oce is still so much better at installation.
OCCT uses cmake already, which I think was the big "plus" of OCE...
User avatar
tanderson69
Veteran
Posts: 1626
Joined: Thu Feb 18, 2010 1:07 am

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by tanderson69 »

yorik wrote:OCCT uses cmake already, which I think was the big "plus" of OCE...
If I remember correctly, you are on debian? Have you compiled and installed occt recently? If so, how was it?
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by yorik »

tanderson69 wrote:If I remember correctly, you are on debian? Have you compiled and installed occt recently? If so, how was it?
Yes, I'm on debian. I compiled the 7.0.0 pre-release these days and it's just a matter of making a build dir and running cmake. Don't remember exactly but I don't think I had to change any variable.

However FreeCAD chokes on it (the SMESH module IIRC), and doesn't compile anymore. I didn't go look any further yet...
User avatar
tanderson69
Veteran
Posts: 1626
Joined: Thu Feb 18, 2010 1:07 am

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by tanderson69 »

yorik wrote:I compiled the 7.0.0 pre-release these days and it's just a matter of making a build dir and running cmake. Don't remember exactly but I don't think I had to change any variable.
What type of install after the build? "sudo make install" or "sudo dpkg -i some.deb"
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by yorik »

tanderson69 wrote:What type of install after the build? "sudo make install" or "sudo dpkg -i some.deb"
I usually use checkinstall... You run

Code: Select all

sudo checkinstall
in the build dir, and it does "make install" under the hood, but also creates an entry in dpkg database, so you can remove it later with dpkg...
drei
Posts: 479
Joined: Sun May 11, 2014 7:47 pm
Location: Mexico
Contact:

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by drei »

Cannot speak about OCCT 7.0, but OCCT 6.9.1 can be compiled with a few changes in flags for cmake-gui and the same goes for FreeCAD. For some weird reason the TK* files are stored in the build directory of OCCT and the rest of the files in the install directory (e.g. /opt/opencascade).

No problems so far with OpenSuse Leap and OCCT 6.9.1.
Need help? Feel free to ask, but please read the guidelines first
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Compiling OCCT 6.9.1? or 7.0.0?

Post by jmaustpc »

drei wrote:Cannot speak about OCCT 7.0, but OCCT 6.9.1 can be compiled with a few changes in flags for cmake-gui and the same goes for FreeCAD. For some weird reason the TK* files are stored in the build directory of OCCT and the rest of the files in the install directory (e.g. /opt/opencascade).

No problems so far with OpenSuse Leap and OCCT 6.9.1.
7.0.0 is a more substantial update than 6.9.1, major version updates do not guarantee API compatibility.
Post Reply