compile FreeCAD 0.17 with occt 7.1.0 and netgen, script for Xenial and Jessie

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
jeno
Veteran
Posts: 1820
Joined: Sun Jun 29, 2014 10:41 am

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by jeno »

Jee-Bee wrote:

Code: Select all

Ubuntu@UserName:~$ sh Downloads/Xenial--FreeCAD_all.sh 
Just a shot in the dark. Could you replace sh with bash. Afaik under Ubuntu sh points to dash and not to bash. Maybe that solves the issue
cheers
jeno
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by Jee-Bee »

jeno wrote:Just a shot in the dark. Could you replace sh with bash. Afaik under Ubuntu sh points to dash and not to bash. Maybe that solves the issue
cheers
jeno
Don know what the difference is but building is now at 45% a lot better...
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by bernd »

@Jee-Bee
did the build finishes?
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by Jee-Bee »

bernd wrote:@Jee-Bee
did the build finishes?
Sorry forgot to tell... freecad compiles and is mostly working... :D
jeepsterjc
Posts: 4
Joined: Wed Jan 25, 2017 5:59 pm

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by jeepsterjc »

Thank you for the script. I'm now able to try out 0.17 on Jessie!
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by bernd »

jeepsterjc wrote:Thank you for the script. I'm now able to try out 0.17 on Jessie!
cool, I'm glad it worked for you!
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by kkremitzki »

What happens when you do this?

Code: Select all

wget https://gist.githubusercontent.com/berndhahnebach/38d5bfe73134928c0a1ad001a94df05f/raw/b6efa1423a38ba16ba0d7ae0757e4c4d236b5dfc/Xenial--FreeCAD_all.sh
chmod +x ./Xenial--FreeCAD_all.sh
./Xenial--FreeCAD_all.sh
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
sodelo
Posts: 73
Joined: Tue Jan 24, 2017 9:20 am

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by sodelo »

Hi,

I tried the script on a Linux Mint 18 system and got the following error message:
[ 13%] Built target FreeCADApp
[ 13%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o
/home/dominique/Documents/build_FreeCAD/freecad/FreeCAD/src/Gui/Application.cpp:41:22: fatal error: QGLFormat: Aucun fichier ou dossier de ce type
compilation terminated.
src/Gui/CMakeFiles/FreeCADGui.dir/build.make:1135 : la recette pour la cible « src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o » a échouée
make[2]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/Application.cpp.o] Erreur 1
CMakeFiles/Makefile2:4903 : la recette pour la cible « src/Gui/CMakeFiles/FreeCADGui.dir/all » a échouée
make[1]: *** [src/Gui/CMakeFiles/FreeCADGui.dir/all] Erreur 2
Makefile:127 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2 Any idea?

Thanks
HoWil
Veteran
Posts: 1279
Joined: Sun Jun 14, 2015 7:31 pm
Location: Austria

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by HoWil »

Hi,

Is it possible to pin this topic? I think bernd's scripts are used a lot.
I myself always have to search for it :lol: why I would appreciate pinning it to the beginning of page 1.

BR,
HoWil
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: compile FreeCAD 0.17 with occt 7.0.0 and netgen, script for Xenial and Jessie

Post by NormandC »

Hi!

OCC 7.1.0 was published November 25th 2016. Is there a reason why your script uses 7.0.0 rather than the latest release?

OCC 7.1.0 brings fixes to the hidden line removal algo that could prove very useful to TechDraw (and maybe Draft Shape2DView) and fix some long standing bugs in FreeCAD.

I'll try to test on Ubuntu 14.04...
Post Reply