On Fri, Mar 20, 2009 at 3:49 PM, <thomas.pav...@free.fr> 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. >> >>Than it started to get exciting. Would the bottle fail me again? >>NO.... It worked!!! > > What an excellent news! > >>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. > >>One final problem to solve. It seems like the viewer part is not >>working correctly for my system. If I try to execute >>the wxDisplay script on Windows it provides me with a viewer showing a >>brick/box. On my Linux machine, >>a short flash is seen, than the script terminates. >> >>The only output I get is: >> >>>> python wxDisplay.py >>Display3d class initialization starting ... >> >>Any suggestions? > > No more error message? It certainly means that it does not come from OCC. > What wxPython version do you use?
Name : wxPython Arch : x86_64 Version : 2.8.9.1 Release : 1.fc9 > >>Marco > > Cheers, > > Thomas > > On Fri, Mar 20, 2009 at 1:50 PM, <thomas.pav...@free.fr> wrote: >>>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 when I build OCC itself. I noticed that they were >>>compiled with 2 flags addressing 64 bit architectures (-D_OCC64 and >>>-m64). >> >> Interesting feedback Marco. Look forward seing the result when rebuilt is >> completed. >> >> Thomas >> > _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users