{"id":149,"date":"2014-12-05T14:42:27","date_gmt":"2014-12-05T12:42:27","guid":{"rendered":"http:\/\/wp.tuor.net\/?p=149"},"modified":"2014-12-28T02:21:09","modified_gmt":"2014-12-28T00:21:09","slug":"installation-compilation-of-freecad-014-on-opensuse-13-2","status":"publish","type":"post","link":"https:\/\/wp.tuor.net\/?p=149","title":{"rendered":"Installation (compilation) of FreeCAD 014 on OpenSUSE 13.2"},"content":{"rendered":"<p>This is an update&#8230; sort of, of the article from February which was about installing version 013 on OpenSUSE 13.1 (that was in French, decided to post this one in English)<\/p>\n<p>As said in last post, FreeCAD is a very good Open Source 3D CAD program, I use it sometimes to make 3D objects I print, and sometimes post on <a href=\"http:\/\/www.thingiverse.com\/atuor\/about\">Thingiverse<\/a>, and as far as I could see, the package ready for OpenSUSE has some issues, so I decided to compile myself, based on information I found here and there (i.e. <a href=\"http:\/\/www.freecadweb.org \/wiki\/index.php?title=CompileOnUnix\">http:\/\/www.freecadweb.org \/wiki\/index.php?title=CompileOnUnix<\/a>) and by trying out, looking at results and error messages. It may not be complete or perfect, but that worked for me on a fresh OpenSUSE 13.2 install<\/p>\n<p>&nbsp;<\/p>\n<p><strong>So let&#8217;s go, to the command line, this is what I did :<\/strong><\/p>\n<p><strong>Let&#8217;s add sources for dependencies (that is quick) :<br \/>\n<\/strong><\/p>\n<p><em>&#8216;Trust&#8217; sources when asked for<br \/>\n<\/em><\/p>\n<pre>cd\r\n\r\nsudo zypper addrepo http:\/\/download.opensuse.org\/repositories\/games\/openSUSE_13.2\/ Games\r\nsudo zypper addrepo http:\/\/download.opensuse.org\/repositories\/KDE:\/Extra\/openSUSE_13.2\/ KDE:Extra<\/pre>\n<p><strong>Refresh repositories\u00a0 (that takes a bit longer)<\/strong><\/p>\n<pre>sudo zypper refresh<\/pre>\n<p><strong>And launch installation of dependencies (that is longer)<\/strong><\/p>\n<p><em>Accept installation of packages when asked to<\/em><\/p>\n<pre class=\"western\">sudo zypper install eigen3 swig gcc cmake OpenCASCADE-devel libXerces-c-devel python-devel libqt4-devel python-qt4 Coin-devel SoQt-devel boost-devel\u00a0 libode-devel libQtWebKit-devel libeigen3-devel gcc-fortran python-matplotlib libspnav-devel shiboken-devel python-pyside-devel doxygen<\/pre>\n<p><strong>Hopefully it also works fine for you, and now let&#8217;s fetch the source code file (archive ) here:\u00a0<\/strong><a href=\"http:\/\/sourceforge.net\/projects\/free-cad\/files\/FreeCAD%20Source\/freecad-0.14.3702.tar.gz\/download\">http:\/\/sourceforge.net\/projects\/free-cad\/files\/FreeCAD%20Source\/freecad-0.14.3702.tar.gz\/download<\/a><\/p>\n<p><strong>Extract its content and enter its directory:<br \/>\n<\/strong><\/p>\n<pre>tar -zxvf freeCAD..... <em>(name of file)<\/em>\r\ncd freeCAD..... <em>(name of directory where it has been extracted to)<\/em><\/pre>\n<p><strong>And launch compilation (This took some time even on a good NB, but you can follow the progress in %)<\/strong><\/p>\n<pre>cmake .\r\nmake<\/pre>\n<p><strong>And now you can launch FreeCAD <\/strong>(if all went fine)<\/p>\n<p>&nbsp;<\/p>\n<pre>.\/bin\/FreeCAD\r\n<a href=\"https:\/\/wp.tuor.net\/wp-content\/uploads\/2014\/12\/snapshot1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-152\" src=\"https:\/\/wp.tuor.net\/wp-content\/uploads\/2014\/12\/snapshot1-300x168.png\" alt=\"snapshot1\" width=\"300\" height=\"168\" srcset=\"https:\/\/wp.tuor.net\/wp-content\/uploads\/2014\/12\/snapshot1-300x168.png 300w, https:\/\/wp.tuor.net\/wp-content\/uploads\/2014\/12\/snapshot1-1024x576.png 1024w, https:\/\/wp.tuor.net\/wp-content\/uploads\/2014\/12\/snapshot1-500x281.png 500w, https:\/\/wp.tuor.net\/wp-content\/uploads\/2014\/12\/snapshot1.png 1600w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n\r\n<\/pre>\n<p>I must say though that there may be missing things, i.e. I got a message saying :<\/p>\n<p><em>matplotlib not found, so Plot module can not be loaded<\/em><br \/>\n<em>plot module is disabled, tools cannot graph output curves<\/em><\/p>\n<p>But it is not mandatory for most things.<\/p>\n<p>And check out the Website <a href=\"http:\/\/www.freecadweb.org\/\">http:\/\/www.freecadweb.org\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This is an update&#8230; sort of, of the article from February which was about installing version 013 on OpenSUSE 13.1 (that was in French, decided to post this one in English) As said in last post, FreeCAD is a very &hellip; <a href=\"https:\/\/wp.tuor.net\/?p=149\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,3,8],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-3d","category-open-souce-linux","category-technology"],"_links":{"self":[{"href":"https:\/\/wp.tuor.net\/index.php?rest_route=\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.tuor.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.tuor.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.tuor.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.tuor.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":6,"href":"https:\/\/wp.tuor.net\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/wp.tuor.net\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/wp.tuor.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.tuor.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.tuor.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}