Re: [Pythonocc-users] Scons script update

2009-03-23 Thread M. Nawijn
ee what happens >>>>     - Recompile in debug mode and go through the graphic device >>>> generation process (I tried to create a graphic device >>>> "Graphic3d_GraphicDevice" by hand, but cannot figure out the correct >>>> constructor call.

Re: [Pythonocc-users] Scons script update

2009-03-22 Thread thomas . paviot
t; by hand, but cannot figure out the correct >>> constructor call. The obvious ones fail.) >>>     - Check the Xw_* code >>> >>> I keep you posted! >>> >>> Marco >>> >>> On Sat, Mar 21, 2009 at 5:42 AM, Thomas Paviot >

Re: [Pythonocc-users] Scons script update

2009-03-22 Thread M. Nawijn
On Sun, Mar 22, 2009 at 2:03 PM, Arthur Magill wrote: > Hi Jelle, > > That's an interesting question. You're right, many libraries on a 64-bit > system > are actually 32-bit, and it is common to have both versions of some libraries > installed. The 'standard' way to do things is to put 64 bit lib

Re: [Pythonocc-users] Scons script update

2009-03-22 Thread M. Nawijn
; >> Marco >> >> On Sat, Mar 21, 2009 at 5:42 AM, Thomas Paviot >> wrote: >>> >>> M. Nawijn a écrit : >>>> >>>> On Fri, Mar 20, 2009 at 4:18 PM,   wrote: >>>> >>>>>>>> Objet: Re: [Pythonocc-users] Scons

Re: [Pythonocc-users] Scons script update

2009-03-22 Thread Arthur Magill
Hi Jelle, That's an interesting question. You're right, many libraries on a 64-bit system are actually 32-bit, and it is common to have both versions of some libraries installed. The 'standard' way to do things is to put 64 bit libraries in /usr/lib64 and 32 bit versions in /usr/lib, but of cou

Re: [Pythonocc-users] Scons script update

2009-03-22 Thread Arthur Magill
; I keep you posted! > > Marco > > On Sat, Mar 21, 2009 at 5:42 AM, Thomas Paviot wrote: >> >> M. Nawijn a écrit : >>> On Fri, Mar 20, 2009 at 4:18 PM, wrote: >>> >>>>>>> Objet: Re: [Pythonocc-users] Scons script update &

Re: [Pythonocc-users] Scons script update

2009-03-22 Thread M. Nawijn
_* code I keep you posted! Marco On Sat, Mar 21, 2009 at 5:42 AM, Thomas Paviot wrote: > > > M. Nawijn a écrit : >> >> On Fri, Mar 20, 2009 at 4:18 PM,   wrote: >> >>>>>> >>>>>> Objet: Re: [Pythonocc-users] Scons script update >&g

Re: [Pythonocc-users] Scons script update

2009-03-21 Thread M. Nawijn
gt;> >>>>>> >>>>>> Objet: Re: [Pythonocc-users] Scons script update >>>>>> >>>>>> Hi Guys, >>>>>> >>>>>> It is me again. With the new added compile options, the SWIG >>>>>>

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread Thomas Paviot
M. Nawijn a écrit : > On Fri, Mar 20, 2009 at 4:18 PM, wrote: > >>>>> Objet: Re: [Pythonocc-users] Scons script update >>>>> >>>>> Hi Guys, >>>>> >>>>> It is me again. With the new added compile optio

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread Jelle Feringa
>> This effectively means that the -D_OCC64 and possible -m64 >> compilation >> options should be enabled >> on 64 bit platforms. > > I'll add this to the SConstruct file. I have to detect, from Python, > that your processor is 64 bits. Ai, that would be a bad heuristic; most processors are 64

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread thomas . paviot
>>>Objet: Re: [Pythonocc-users] Scons script update >>> >>>Hi Guys, >>> >>>It is me again. With the new added compile options, the SWIG >>>generation and compilation succeeded >>>without any problem. >>> >>>Tha

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread M. Nawijn
On Fri, Mar 20, 2009 at 3:49 PM, wrote: >>Objet: Re: [Pythonocc-users] Scons script update >> >>Hi Guys, >> >>It is me again. With the new added compile options, the SWIG >>generation and compilation succeeded >>without any problem. >> >>Tha

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread thomas . paviot
>Objet: Re: [Pythonocc-users] Scons script update > >Hi Guys, > >It is me again. With the new added compile options, the SWIG >generation and compilation succeeded >without any problem. > >Than it started to get exciting. Would the bottle fail me again? >NO It wor

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread Arthur Magill
Excellent news Marco, and well spotted! Have you remembered to install wxPython? I forgot, and saw a similar problem. Arthur Jelle Feringa wrote: >> Than it started to get exciting. Would the bottle fail me again? >> NO It worked!!! > > Congratulations Marco! > Getting pythonOCC working

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread Jelle Feringa
> Than it started to get exciting. Would the bottle fail me again? > NO It worked!!! Congratulations Marco! Getting pythonOCC working on 64 bit surely required some stamina, but this is real progress! Great, victory is yours. > One final problem to solve. It seems like the viewer part is no

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread M. Nawijn
Hi Guys, It is me again. With the new added compile options, the SWIG generation and compilation succeeded without any problem. Than it started to get exciting. Would the bottle fail me again? NO It worked!!! This effectively means that the -D_OCC64 and possible -m64 compilation options shou

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread thomas . paviot
>Hi, > >A small update from my side. I managed to generate and compile the >SWIG_wrappers without a problem. As I already told Thomas however, is >that I get a segmentation fault whenever I try to call a GetHandle() >method. A thing came up to me. I cross-checked with the configure log >that was ge

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread M. Nawijn
Hi, A small update from my side. I managed to generate and compile the SWIG_wrappers without a problem. As I already told Thomas however, is that I get a segmentation fault whenever I try to call a GetHandle() method. A thing came up to me. I cross-checked with the configure log that was generated

Re: [Pythonocc-users] Scons script update

2009-03-20 Thread Arthur Magill
Hi Thomas, The new scons script works for me (Fedora 10, i386). Built and installed without error :-) Arthur ___ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users

Re: [Pythonocc-users] Scons script update

2009-03-19 Thread Thomas Paviot
Arthur, the pythonoOCC/build/OCC directory is missing. It's automativally created by scons (at least, it *should* be). I commited a fix. Cheers, Thomas Arthur Magill a écrit : > Hi Thomas, > > Um, I think I broke it: > > $ scons mode=build OCC_INCLUDE_PATH=/usr/local/occ63 > OCC_LIBRARY_PATH=

Re: [Pythonocc-users] Scons script update

2009-03-19 Thread Thomas Paviot
Thanks. Fixed. Arthur Magill a écrit : > Hi Thomas, > > A couple of minor typos from environment.py: > > line 37: print "OopenCascade CAS_ROOT environment variable not set." > OOpenCascade -> OpenCascade > CAS_ROOT -> CASROOT > > ;-) > > Arthur > > Thomas Paviot wrote: >> Hello all, >> >> I up

Re: [Pythonocc-users] Scons script update

2009-03-19 Thread Arthur Magill
Hi Thomas, Um, I think I broke it: $ scons mode=build OCC_INCLUDE_PATH=/usr/local/occ63 OCC_LIBRARY_PATH=/usr/local/occ63/lib OCC_CONFIG_H_PATH=/usr/local/occ63 ... Processing AlienImage Creating __init__.py script. IOError: [Errno 2] No such file or directory: '/home/magill/occ/pythonOCC/src

Re: [Pythonocc-users] Scons script update

2009-03-19 Thread Arthur Magill
Hi Thomas, A couple of minor typos from environment.py: line 37: print "OopenCascade CAS_ROOT environment variable not set." OOpenCascade -> OpenCascade CAS_ROOT -> CASROOT ;-) Arthur Thomas Paviot wrote: > Hello all, > > I uplodaded many changes to the scons build script for pythonocc.

[Pythonocc-users] Scons script update

2009-03-19 Thread Thomas Paviot
Hello all, I uplodaded many changes to the scons build script for pythonocc. How to use? Step 1: cd pythonOCC/src Step2: scons mode=build OCC_INCLUDE_PATH=/the_path OCC_CONFIG_H_PATH=/the_path OCC_LIBRARY_PATH=/the path Step 3: sudo scons mode=install (this step requires root privileges).