http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/ Random thoughts, tips & tricks about Slackware-Linux, Lego and Star Wars Tue, 16 Apr 2013 23:35:17 -0300 http://wordpress.org/?v=2.8.4 hourly 1 http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2460 Niels Horn Thu, 08 Nov 2012 23:37:29 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2460 Hi, Slackware 14.0 has been released and the SlackBuild scripts have been updated. I'll build new ready-to-go packages for it as soon as I can find some spare time. Hi,
Slackware 14.0 has been released and the SlackBuild scripts have been updated.
I’ll build new ready-to-go packages for it as soon as I can find some spare time.

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2454 Ryan Mon, 17 Sep 2012 21:30:58 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2454 I'm a Mechanical Engineering Major at the University of Massachusetts here in the states so I was very excited to find your blog and FreeCAD slackware packages. Unfortunately I am running -current (14 beta) right now and things are not looking good. I installed your prebuilt packages and FreeCAD complained about not finding the right version of many libraries. Instead of trying to go back and make lots of version links to new new libs I attempted to just compile the packages using your slackbuilds. Here is the second issue. Coin will not compile at all. After a few days of research and headache, I had the thought that maybe you were already working on slackware 14 packages. Would you happen to have some that I can help alpha/beta test? I figure that you have a deeper understanding of what these programs need in order to compile and it would be easier to work with you then alone. Can we help each other? I’m a Mechanical Engineering Major at the University of Massachusetts here in the states so I was very excited to find your blog and FreeCAD slackware packages. Unfortunately I am running -current (14 beta) right now and things are not looking good. I installed your prebuilt packages and FreeCAD complained about not finding the right version of many libraries. Instead of trying to go back and make lots of version links to new new libs I attempted to just compile the packages using your slackbuilds. Here is the second issue. Coin will not compile at all. After a few days of research and headache, I had the thought that maybe you were already working on slackware 14 packages. Would you happen to have some that I can help alpha/beta test? I figure that you have a deeper understanding of what these programs need in order to compile and it would be easier to work with you then alone. Can we help each other?

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2434 thuyavan Mon, 11 Jun 2012 05:32:44 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2434 sir i installed opencascade but only draw test opens but how to open full window featured opencascade i donot know please please help me to thuyavan.r@gmail.com-urgent please reply sir i installed opencascade but only draw test opens but how to open full window featured opencascade i donot know please please help me to -urgent please reply

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2427 Chris Wed, 18 Apr 2012 08:43:58 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2427 Hello Niels, Recently I found time to try freecad more indepth. I found, that for creating drawings, it is essential, that the "Draft"-Menu is working... But anyway thank you very much! Hello Niels,
Recently I found time to try freecad more indepth. I found, that for creating drawings, it is essential, that the “Draft”-Menu is working… But anyway thank you very much!

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2412 Tony Sat, 10 Mar 2012 21:34:15 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2412 Thanks for posting the patch - I would have given up on this and went with another cad program if it had not been for you posting the patch. Just a big THANKS! Thanks for posting the patch – I would have given up on this and went with another cad program if it had not been for you posting the patch. Just a big THANKS!

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2328 Chris Mon, 09 Jan 2012 16:31:20 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2328 Hello Niels! Thank you for your great packages! I just tested the new build and the sketcher is now working. But when trying to open the "draft"-menu, I get: "local variable 'DraftTools' referenced before assignment", and when leaving it: 'module' object has no attribute 'activeDraftCommand' BTW: You can test the installation in the "Test framework" menu with "self test" Greetings, Chris Hello Niels!

Thank you for your great packages!

I just tested the new build and the sketcher is now working.
But when trying to open the “draft”-menu, I get: “local variable ‘DraftTools’ referenced before assignment”,
and when leaving it:
‘module’ object has no attribute ‘activeDraftCommand’

BTW: You can test the installation in the “Test framework” menu with “self test”

Greetings, Chris

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2321 Antoine Mon, 09 Jan 2012 05:38:14 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2321 It is a lot better, thanks! The Sketcher GUI error message is gone, all the tools icons show up, things seem to work normally (but this is the first time I use this software so I will only be able to check if everything works as I got through the tutorial). I do get the following message on the shell at startup though. I don't know if it is serious or not: Traceback (most recent call last): File "/opt/FreeCAD/Mod/Draft/InitGui.py", line 197, in Initialize self.appendToolbar(str(DraftTools.translate("draft","Draft creation tools")),self.cmdList) UnboundLocalError: local variable 'DraftTools' referenced before assignment I also just noticed that at startups this one says "FreeCAD 0.13, Libs: 0.13RUnknown" which doesn't match the package's numbering. Help->About FreeCAD also shows a mix of 0.12 and 0.13. Not an issue, but I'm curious did you build this one from a daily 0.13 build? Feel free to communicate by email if you don't want to clutter your blog. It is a lot better, thanks!
The Sketcher GUI error message is gone, all the tools icons show up, things seem to work normally (but this is the first time I use this software so I will only be able to check if everything works as I got through the tutorial).

I do get the following message on the shell at startup though. I don’t know if it is serious or not:

Traceback (most recent call last):
File “/opt/FreeCAD/Mod/Draft/InitGui.py”, line 197, in Initialize
self.appendToolbar(str(DraftTools.translate(”draft”,”Draft creation tools”)),self.cmdList)
UnboundLocalError: local variable ‘DraftTools’ referenced before assignment

I also just noticed that at startups this one says “FreeCAD 0.13, Libs: 0.13RUnknown” which doesn’t match the package’s numbering.
Help->About FreeCAD also shows a mix of 0.12 and 0.13.
Not an issue, but I’m curious did you build this one from a daily 0.13 build?

Feel free to communicate by email if you don’t want to clutter your blog.

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2319 Niels Horn Mon, 09 Jan 2012 00:41:08 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2319 Hi again, I did some testing and built a new package. Can you test if it works fine for you? You can download it <a href="http://underpop.online.fr/n/nielshorn/_download/FreeCAD-0.12.5284-x86_64-2_nhh.tgz" rel="nofollow">here</a>. Note: This is a temporary location... Hi again,

I did some testing and built a new package.
Can you test if it works fine for you?
You can download it .

Note: This is a temporary location…

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2318 Antoine Sun, 08 Jan 2012 17:59:10 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2318 Thanks for the quick response Niels. All the eigen2 files seem to be in /usr/include/eigen2 and by default libeigen3-dev installs in /usr/local/include/eigen3 so it might be possible to have them both installed. Thanks for the quick response Niels.

All the eigen2 files seem to be in /usr/include/eigen2 and by default libeigen3-dev installs in /usr/local/include/eigen3 so it might be possible to have them both installed.

]]> http://underpop.online.fr/n/nielshorn/2012/01/freecad-0-12-5284-and-opencascade-6-5-2-working-together-on-slackware/comment-page-1/#comment-2315 Niels Horn Sun, 08 Jan 2012 11:04:57 +0000 http://underpop.online.fr/n/nielshorn/?p=1150#comment-2315 Hi Antoine, Yes, I know about this problem... It needs the eigen3 libs at build-time, and it actually complains if they're not installed on your system when compiling FreeCAD, but it says it is "optional" so I did not worry too much about it. I did some basic testing with the new FreeCAD before publishing the article, like loading designs made with the previous version, adding some basic parts, printing, etc. and everything worked. I only noticed the "SketcherGUI" problem after the post... Well, it seems eigen3 solves the problem, but Slackware 13.37 still comes with eigen2. I'm trying a solution where both can be installed concurrently, without removing or upgrading eigen2, which may impact lots of other packages. As soon as I have this all figured out, I'll write about it here on my blog. In the mean time, you could install eigen3 on your system or fall back to the previous versions of FreeCAD and OpenCASCADE. Hi Antoine,

Yes, I know about this problem… It needs the eigen3 libs at build-time, and it actually complains if they’re not installed on your system when compiling FreeCAD, but it says it is “optional” so I did not worry too much about it.
I did some basic testing with the new FreeCAD before publishing the article, like loading designs made with the previous version, adding some basic parts, printing, etc. and everything worked. I only noticed the “SketcherGUI” problem after the post…

Well, it seems eigen3 solves the problem, but Slackware 13.37 still comes with eigen2. I’m trying a solution where both can be installed concurrently, without removing or upgrading eigen2, which may impact lots of other packages.
As soon as I have this all figured out, I’ll write about it here on my blog.

In the mean time, you could install eigen3 on your system or fall back to the previous versions of FreeCAD and OpenCASCADE.

]]>