Install with kubuntu 9.10

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
nvivier
Posts: 45
Joined: Sun Nov 29, 2009 1:11 pm

Install with kubuntu 9.10

Post by nvivier »

Here my experience in installing freecad on Kubuntu 9.10 (Karmic):

I could compile with success using those instructions :
http://sourceforge.net/apps/mediawiki/f ... rmic_Koala

But I had a lot of unusable items. I think because Pivy was missing as it is not in kubuntu repository.

I tried those instructions :
http://sourceforge.net/apps/mediawiki/f ... llation_2
I installed manually, as specified the old version of Swing (1.3.25) and then the command

Code: Select all

python setup.py build 
I had several errors as specified with "const" missing but at the end I had another error that I am not able to solve :

Code: Select all

pivy/coin_wrap.cpp:344456: error: no matching function for call to ‘SoRenderManager::removeSuperimposition(Superimposition*&)’
/usr/include/Inventor/SoRenderManager.h:118: note: candidates are: void SoRenderManager::removeSuperimposition(SoRenderManager::Superimposition*)
error: command 'gcc' failed with exit status 1
Also the builder tells me :

Code: Select all

Warning: Pivy has only been tested with the following SWIG versions: 1.3.31 1.3.33 1.3.35.
. So I tried the Swing version in repository (1.3.36) but without success.

Now I don't know what to do and seek advice...

Kind regards
User avatar
yorik
Founder
Posts: 13664
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Install with kubuntu 9.10

Post by yorik »

Hi!
Yes, that pivy package is still a bit of a problem for freecad, but it's getting better everyday, normally from next ubuntu version it will be available directly from the repository, this will save us a lot of sweat!

The instructions that you followed are indeed a bit out of date, I'll do a bit of cleanup there.
Basically you have 2 better options:

1) download and install the pivy package that Werner made for karmic: http://sourceforge.net/projects/free-ca ... b/download (or a 64bit version from here: http://yorik.uncreated.net/scripts/Free ... itory.html)

2) download and compile the debian source package for pivy. It is the same source code that you have, but the debian people made several bug-fixing additions. For me it compiled fine on karmic: http://packages.debian.org/squeeze/python-pivy (download the .orig.gz and the .diff.gz file, then unzip both, then apply the .diff to the source: go to the source folder, and do

Code: Select all

patch -p1 < ../name_of_diff_file.diff
then

Code: Select all

debuild
Hope it'll work!
Cheers
Yorik
nvivier
Posts: 45
Joined: Sun Nov 29, 2009 1:11 pm

Re: Install with kubuntu 9.10

Post by nvivier »

Thanks. Your 1) was just fine for me.

i'm using CAD for boats and we use a lot of splines and nurbs. Do you intend to introduce them in Freecad ?

Best wishes
--
Nicolas
wmayer
Founder
Posts: 20309
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Install with kubuntu 9.10

Post by wmayer »

Hi,

from within Python you can already works with Bezier and B-Splines. Until now we have no user-interface to create & modify them.

Werner
Post Reply