yeah sorry I meant libopencascade-dev . I ran into the same error, seems to
be a bug with the packages or something. Try
sudo apt-get purge opencascade*
sudo apt-get install libopencascade-dev

and then compile again.



2010/4/29 John English <j...@boulderes.com>

>
>
>> > Hi,
>> >
>> > it's really easy to install it under ubuntu, too.
>>
>>
>> Thanks!
>>
>> 'easy' but quite long...
>>
>>
>> > Follow the following steps:
>> >
>> > sudo apt-get install opencascade-dev g++ swig python-dev   (i hope these
>> > are all packages u need)
>> > tar xzf <pythonoccsource.tar.gz>
>> > cd PythonOCC-0.4/src
>> > python setup.py --with-occ-include=/usr/include/opencascade
>> > --with-occ-lib=/usr/lib bdist
>> > sudo python setup.py install
>> >
>> > this should have done the trick if I remember problerly ;-)
>> >
>>
>> I think you however don't benefit from the GEOM and SMESH wrappers.
>>
>>
>> >
>> > have fun,
>> > Sebastian
>> >
>>
>> Cheers,
>>
>> Thomas
>>
>
> Thanks for the tips Sebastian and Thomas,
>
> I'm running into the following error, when trying to compile on Ubuntu 9.10
> /usr/bin/ld: cannot find -lTKCDLFront
> collect2: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
>
> I also noticed that there is no package in the 9.10 repositories called
> opencascade-dev. I presume you meant libopencascade-dev?
>
> It seems to be the same issue that Thore Oltersdorf mentioned on the list a
> while back:
> http://www.mail-archive.com/pythonocc-users@gna.org/msg00720.html
>
> For now I'm still playing around in an OpenSUSE virtual machine, but I'd be
> much happier to get into Ubuntu 10.04) for development, since that's where
> I'm comfortable and doing everything else.
>
> Regarding Thomas's comment, I think the GEOM wrapper is critical for what
> I'm trying to do with PythonOCC, so I need it to compile with support for
> that. Any suggestions?
>
> Thanks again!
> -John
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to