Thomas Paviot wrote:
> 2010/5/11 John Griessen 
>     Messages like:
>     building 'OCC._GEOMAlgo' extension
>     building 'OCC._GEOMImpl' extension
> 
>     looks like it's building all now.
> 
>     JG
> 
> 
> Perfect.
Well, not completely...  I want to use python2.6 to use the leo editor with 
ipython
and have python2.6 problems.


  #error "This python version requires swig to be run with the '-classic' 
option"
/backups-650mb/pythonocc-read-only/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp:2785:3:
 error: #error "This python version 
requires swig to be run with the '-nomodern' option"
/backups-650mb/pythonocc-read-only/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp:2788:3:
 error: #error "This python version 
requires swig to be run with the '-nomodernargs' option"
/backups-650mb/pythonocc-read-only/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp:2791:3:
 error: #error "This python version 
requires swig to be run with the '-nofastunpack' option"
/backups-650mb/pythonocc-read-only/src/wrapper/SWIG/linux_darwin/Standard_wrap.cpp:780:
 error: ‘PyObject’ was not declared in this 
scope

Where would I set these options SWIG needs?

setup.py has this hint:    swig_opts = environment.SWIG_OPTS,

which is referred to the same way as OCC_INC

Do I start cmake-gui and change something?

Thanks,

John Griessen


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

Reply via email to