Hi Thomas,
You're a life saver ;-)
Seriously, after your commit, I still had the casting error, but after
switching to swig 1.3.39 (instead of 1.3.36), the error disappeared. Then
the build step and install went well.
I have a few remaining questions, if you don't mind.

The two first refer to the install wiki page :
http://www.pythonocc.org/wiki/index.php/Installing_pythonOCC_on_Linux--
--What is the role of :    >> source /opt/occ63/env_DRAW.sh
--from which directory should I run  >> python
pythonOCC/Tools/InteractiveViewer/InteractiveViewer.py?

Then, I have some strange errors when following the PAF tutorial when
setting the parameters p.height and p.radius (see the python.output file).
And finally I run into a seg fault when calling :  >> tutorial_context =
ParametricModelingContext(p)
Do you have any idea what is at stake?

Thanks again.

Loïc

PS: I subscribed for the commits ml.

On Fri, Sep 18, 2009 at 1:22 PM, Thomas Paviot <tpav...@gmail.com> wrote:

>
>
> 2009/9/18 Thomas Paviot <tpav...@gmail.com>
>
> 2009/9/18 Simon Loic <simon1l...@gmail.com>
>>
>>> Hi Thomas,
>>> Thanks for your blameless support.
>>>
>>> On Fri, Sep 18, 2009 at 12:12 PM, Thomas Paviot <tpav...@gmail.com>wrote:
>>>
>>>> I think it's actually better to compile pythonOCC trunk. It's compliant
>>>> with the latest rev. of salomegeometry trunk.
>>>>
>>>>
>>> In that case should I use salometrunk instead of the rev.175?
>>>
>>
>> Yes.
>>
>>
>>>
>>>
>>>> Maybe you have to add '-march=X86-64 -m64' as an extra compile arg. You
>>>> can have a look to the environment.py script and copy/paste the way I 
>>>> solved
>>>> the 64 bits issue on MacOSX.
>>>>
>>>
>>> Actually I've already changed,  I changed environment.py :
>>> ECA = ['-O0','-march=%s'%platform.machine()] to ECA =
>>> ['-O0','-march=x86-64 -m64']
>>> But you could make it conditional in order not to screw 32 bits build.
>>>
>>
>> Absolutely.
>>
>>
>>>
>>>
>>>> Strange. What version of swig do you use? Everything goes fine with
>>>> 1.3.39 but I noticed an error with 1.3.40. I use 1.3.39.
>>>>
>>>
>>> Actually, I use the repositories one which 1.3.36.
>>> I can give a quick try to 1.3.39, even though you might not see it as a
>>> good long term solution.
>>>
>>>
>>>> Ok, I will commit in a few minutes what I think is necessary and you'll
>>>> be able to try it.
>>>>
>>>
>>> I'll try as soon as I see your commit.
>>> Bye.
>>>
>>
>> Ok.
>>
>
> Change to environment.py commited to svn repository. Please register to
> pythonocc-commits (https://mail.gna.org/listinfo/pythonocc-commits/ ) ml
> if you want to be notified about future commits.
>
>
>>
>>
>>> Loïc
>>>
>>>
>>
> Cheers,
>
> Thomas
>
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
>

Attachment: python.output
Description: Binary data

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to