Compiling OCCT 6.9.1? or 7.0.0?

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Compiling OCCT 6.9.1? or 7.0.0?

Postby NormandC » Sun Mar 06, 2016 9:00 pm

Hey guys,

I've noticed a few of the regulars have been using OCC 6.9.1 (Jim and Mark, maybe others?). It's been almost a year since I've compiled FreeCAD, so forgive this newbie question: where did you take OCC 6.9.1 from? From what I can see, it hasn't even been merged in the OCE git repo yet.

I guess you downloaded the source code directly from Open Cascade? http://www.opencascade.com/content/latest-release

Is compiling straightforward, are there any specific hurdles compared to OCE?

Fact is, I'm disappointed that the OCE guys trail so far behind OCCT. OCCT 6.9.1 was released back in September, yet the OCE guys released OCE 0.17.1 in January 2016 based on... OCCT 6.8.0 which dates way back from November 2014. :roll:

And now, OCCT 7.0.0 Release Candidate is available for download as of 2 days ago! viewtopic.php?f=10&t=14461

The OCE project is being left in the dust, so shouldn't we be considering going back to OCCT for all projects? (official FreeCAD builds and Ubuntu PPA)
User avatar
sgrogan
Posts: 5260
Joined: Wed Oct 22, 2014 5:02 pm

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby sgrogan » Sun Mar 06, 2016 10:43 pm

NormandC wrote:I've noticed a few of the regulars have been using OCC 6.9.1 (Jim and Mark, maybe others?). It's been almost a year since I've compiled FreeCAD, so forgive this newbie question: where did you take OCC 6.9.1 from? From what I can see, it hasn't even been merged in the OCE git repo yet.
I think from here: https://github.com/blobfish/oce I'm not sure which branch.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby NormandC » Sun Mar 06, 2016 10:50 pm

Thanks for the link, I guess it's from the "691patched_3" branch which seems the latest based on the commits.

I'm wondering if we shouldn't use it to build new OCE packages for the Daily Builds PPA. After all, it's supposed to be cutting-edge.
jmaustpc
Posts: 9558
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby jmaustpc » Mon Mar 07, 2016 1:31 am

NormandC wrote:Thanks for the link, I guess it's from the "691patched_3" branch which seems the latest based on the commits.

I'm wondering if we shouldn't use it to build new OCE packages for the Daily Builds PPA. After all, it's supposed to be cutting-edge.
Hi Norm
Yes, that is the branch I use.

To me its starting to look like OCE might be a dead project, I hope not but it does not look good when there are no timely releases.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby NormandC » Wed Mar 09, 2016 4:08 am

Thanks Jim,

I wished to start a debate on the opportunity of switching from OCE to OCCT, but obviously this topic has neither the subject nor the forum placement to encourage that.

I wonder if it would be a good idea to move this topic to Open discussion and change the topic subject, or if it would be best to create a new topic?
User avatar
yorik
Site Admin
Posts: 11458
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby yorik » Thu Mar 10, 2016 12:53 am

I think most active people have stepped out of the OCE project... And there is the problem that upgrading it to a newer version of OCCT is apparently not a simple task. I really don't know what will happen with it. But indeed it is becoming a bit unpractical.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby NormandC » Thu Mar 10, 2016 5:12 am

I'm subscribed to the oce mailing list. The problem is there is only a single guy (D. Barbier) who can rebase OCCT code in OCE. There were talks back in December 2015 about training other people to do the job, but nothing seems to have panned out so far, and the mails are few and far between. tanderson69/blobfish may know more...

Obviously for the 0.16 release the wise thing to do is build it with the latest OCE release available, but after that I am going to push for going back to OCCT, or using tanderson69's patched OCE branch.
User avatar
tanderson69
Posts: 1495
Joined: Thu Feb 18, 2010 1:07 am

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby tanderson69 » Fri Mar 11, 2016 7:24 pm

NormandC wrote:tanderson69/blobfish may know more...
Not really. Last I heard dbprog was going to put some time into it over the holidays.
jmaustpc
Posts: 9558
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby jmaustpc » Sat Mar 12, 2016 2:09 am

tanderson69 wrote:
NormandC wrote:tanderson69/blobfish may know more...
Not really. Last I heard dbprog was going to put some time into it over the holidays.
Hi Thomas
This might be a difficult question to answer accurately and simply but ... :) ...I am wondering how significant and important (particularly to FreeCAD) are the OCE patches? How much benefit do we get from your patching of 6.9.1 and how much do those patches effect OCCT after 7.0.0? I think you wrote some of these patches, out of curiosity do you know how many you wrote or approximately what percentage of the patches were yours? :)

Jim
User avatar
tanderson69
Posts: 1495
Joined: Thu Feb 18, 2010 1:07 am

Re: Compiling OCCT 6.9.1? or 7.0.0?

Postby tanderson69 » Sat Mar 12, 2016 4:45 am

jmaustpc wrote:I am wondering how significant and important (particularly to FreeCAD) are the OCE patches?
I would say not much, if any.
jmaustpc wrote:how much do those patches effect OCCT after 7.0.0?
Haven't looked at 7 yet, so I have no idea.
jmaustpc wrote:I think you wrote some of these patches, out of curiosity do you know how many you wrote or approximately what percentage of the patches were yours?
I didn't add anything but fixes for compiler warnings.


IMHO: for all practical purposes they are the same. The only significant improvement oce has over occt is the cmake and cpack. Build and install of oce goes real smooth for me. I have no idea what compiling occt is like now, so I have no idea if oce is still so much better at installation.