Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-29 Thread Sébastien Ramage
If someone want to make test, windows installer are available here : PythonOCC wo0.2 : http://www.janin-tools.com/download/python/pythonOCC-wo0.2.win32-py2.6.exe PythonOCC sg0.3 (from svn 29/07/2009) http://www.janin-tools.com/download/python/pythonOCC-sg0.3.win32-py2.6.exe Sébastien Ramage S

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-29 Thread Thomas Paviot
2009/7/29 Jelle Feringa > > Hi all ! > > > > After 7441 seconds of compiling it finally succeeded ! > > After few tests pythonocc wo0.2 seems to work on python 2.6 under > > windows xp :) > > > > I can provide the windows installer if needed. > > > > Now I will try with the svn version. > > > > T

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-29 Thread Thomas Paviot
2009/7/29 Sébastien Ramage > Hi all ! > Hi Sébastien, > > > After 7441 seconds of compiling it finally succeeded ! > Woow, it is quite long. What is your configuration ?(processor, RAM) Which compiler did you use (MSVC version?). > > After few tests pythonocc wo0.2 seems to work on python

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Jelle Feringa
> Hi all ! > > After 7441 seconds of compiling it finally succeeded ! > After few tests pythonocc wo0.2 seems to work on python 2.6 under > windows xp :) > > I can provide the windows installer if needed. > > Now I will try with the svn version. > > Thank you Thomas ! Sweet! Yes, it would be rea

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Thomas Paviot
Hi Sébastien, Happy that this hint helped you. When the compilation if finished: python setup.py build -cmsvc install And you can check if the samples run. If you want to generate a self-executable installer for Windows: python setup.py build -cmsvc bdist_wininst In the /dist directory, you'll f

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Jelle Feringa
> oh it works ! the compilation is started, I hope it will compile fine. Terrific Sebastien, Thomas! Great news. -jelle ___ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Sébastien Ramage
oh it works ! the compilation is started, I hope it will compile fine. Really thank you for your help. If it compile correctly can I send you the binary in order to put it on the website ? Sébastien Ramage Service Informatique sram...@poifindus.com 04 74 06 45 39 Ets JANIN 115, rue de la répu

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Thomas Paviot
2009/7/28 Sébastien Ramage > After commenting the line related to NIS in the Modules.py script, the > swig generation works fine but after I get the same error during the build. > > I really don't know what's happen, I'm not a c++ guru... The traceback tells that the acosh function is defined t

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Sébastien Ramage
After commenting the line related to NIS in the Modules.py script, the swig generation works fine but after I get the same error during the build. I really don't know what's happen, I'm not a c++ guru... Sébastien Ramage Service Informatique sram...@poifindus.com 04 74 06 45 39 Ets JANIN 115, r

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Sébastien Ramage
below the complete log Building pythonOCC psyco not found. This module can speed up pythonOCC compilation time by about 10%. c:\python26\lib\site-packages\pygccxml\parser\declarations_cache.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 running build ru

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Sébastien Ramage
you think it's a conflict ? but the message said that asinh is missing C:\OpenCASCADE6.3.0\ros\inc\Standard_Real.hxx(308) : error C3861: 'asinh' : identificateur introuvable Sébastien Ramage Service Informatique sram...@poifindus.com 04 74 06 45 39 Ets JANIN 115, rue de la république 6982

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Thomas Paviot
2009/7/28 Sébastien Ramage > it failed > > any idea ? > The attached log shows an error with gccxml parsing. Try the following: - Update to the latest revision of Py++/pygccxml revision from the sourceforge svn repository. - Comment out the line related to NIS in the Modules.py script an

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Thomas Paviot
2009/7/28 Sébastien Ramage > Hi ! > So I install Microsoft Visual c++ express 2008 and the last swig 1.3.39 and > start the compilation using this : > c:\python26\python setup.py build -cmsvc > > And I got an error : > > C:\OpenCASCADE6.3.0\ros\inc\Standard_math.hxx(28) : error C2375: 'acosh' :

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Sébastien Ramage
it failed any idea ? ['TCollection', 'Quantity', 'Viewer', 'TColStd', 'Aspect'] INFO Parsing source file "G:\SR\Python_Dev\pythonOCC-wo0.2\src\SWIG_src_modular_win32\NIS_Wrapper.hxx" ... INFO gccxml cmd: ""C:\Program Files\gccxml 0.9\bin\gccxml.exe" -I"." -I"C:\OpenCASCADE6.3.0\ros\inc

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-28 Thread Sébastien Ramage
Hi ! So I install Microsoft Visual c++ express 2008 and the last swig 1.3.39 and start the compilation using this : c:\python26\python setup.py build -cmsvc And I got an error : C:\OpenCASCADE6.3.0\ros\inc\Standard_math.hxx(28) : error C2375: 'acosh' : redéfinition ; liaison différente

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-27 Thread Sébastien Ramage
Juste for information, the python 2.6 documentation say that Microsoft Visual Studio 2008 (version 9.0) is needed not 2003 version. Sébastien Ramage Service Informatique sram...@poifindus.com 04 74 06 45 39 Ets JANIN 115, rue de la république 69823 Belleville Cedex Tel : 04 74 06 45 20 Fax : 04

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-27 Thread Sébastien Ramage
hum ok, I will try to compile it tomorrow and if it works (I hope) I will keep the binary available. Thank you Sébastien Ramage Service Informatique sram...@poifindus.com 04 74 06 45 39 Ets JANIN 115, rue de la république 69823 Belleville Cedex Tel : 04 74 06 45 20 Fax : 04 74 66 11 76 Tho

Re: [Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-27 Thread Thomas Paviot
Hi Sébastien, The binary pythonOCC distribution for Windows is currently only available for Python2.5. However, I successfully compiled pythonOCC under Ubuntu Linux 9.04 with Python2.6. Moving from 2.5 to 2.6 on Windows is then only a compilation work to achieve, and everything *should be* fine al

[Pythonocc-users] PythonOCC for Python 2.6 under windows

2009-07-27 Thread Sébastien Ramage
Hi ! I would like to use PythonOCC but I have recently moved to Python 2.6. where can I find PythonOCC for Python 2.6 somewhere ? I'm working under Windows XP. If it doesn't exists yet, how can I compile PythonOCC with python 2.6 ? (for free naturally) Thank you -- Sébastien Ramage Service In