Hi, Trying to install pythonocc on linux ubuntu 8.04 64 bit:
~/tmp/pythonOCC-1.0pre2$ uname -a Linux lorax 2.6.24-23-generic #1 SMP Thu Nov 27 18:13:46 UTC 2008 x86_64 GNU/Linux hoogl...@lorax:~/tmp/pythonOCC-1.0pre2$ python Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> I edited ~/tmp/pythonOCC-1.0pre2/SWIG_src/OCC.i to point to the occ library I'd compiled separately. ~/tmp/pythonOCC-1.0pre2$ la total 164K drwxr-xr-x 6 hoogland hoogland 4.0K 2009-01-29 11:06 . drwxr-xr-x 6 hoogland hoogland 8.0K 2009-02-02 09:30 .. -rw-r--r-- 1 hoogland hoogland 179 2008-11-11 17:13 AUTHORS -rw-r--r-- 1 hoogland hoogland 4.4K 2008-10-30 23:50 BuildDocstring.py -rw-r--r-- 1 hoogland hoogland 2.3K 2009-01-29 10:30 BuildDocstring.pyc -rw-r--r-- 1 hoogland hoogland 4.4K 2009-01-29 10:30 environment.py -rw-r--r-- 1 hoogland hoogland 2.4K 2009-01-29 10:30 environment.pyc -rw-r--r-- 1 hoogland hoogland 21K 2008-09-21 21:19 Licence_CeCILL_V2-en.txt -rw-r--r-- 1 hoogland hoogland 21K 2008-11-09 15:50 Licence_CeCILL_V2-fr.txt -rw-r--r-- 1 hoogland hoogland 2.3K 2008-11-14 12:02 README drwxr-xr-x 4 hoogland hoogland 4.0K 2009-01-29 11:06 samples -rw-r--r-- 1 hoogland hoogland 15K 2008-11-14 12:14 setup.py -rw-r--r-- 1 hoogland hoogland 22K 2008-11-14 12:10 SWIG_generator.py -rw-r--r-- 1 hoogland hoogland 16K 2009-01-29 10:30 SWIG_generator.pyc drwxr-xr-x 2 hoogland hoogland 4.0K 2009-01-29 10:46 SWIG_src drwxr-xr-x 3 hoogland hoogland 4.0K 2008-11-14 12:12 Tools drwxr-xr-x 2 hoogland hoogland 4.0K 2008-11-14 12:12 Visualization ~/tmp/pythonOCC-1.0pre2$ python setup.py build -f -cmsvc ... ./SWIG_src/TopoDS.i:584: Warning(509): Overloaded Wire(TopoDS_Shape &) is shadowed by Wire(TopoDS_Shape const &) at ./SWIG_src/TopoDS.i:582. ./SWIG_src/TopoDS.i:588: Warning(509): Overloaded Face(TopoDS_Shape &) is shadowed by Face(TopoDS_Shape const &) at ./SWIG_src/TopoDS.i:586. ./SWIG_src/TopoDS.i:592: Warning(509): Overloaded Shell(TopoDS_Shape &) is shadowed by Shell(TopoDS_Shape const &) at ./SWIG_src/TopoDS.i:590. ./SWIG_src/TopoDS.i:596: Warning(509): Overloaded Solid(TopoDS_Shape &) is shadowed by Solid(TopoDS_Shape const &) at ./SWIG_src/TopoDS.i:594. ./SWIG_src/TopoDS.i:600: Warning(509): Overloaded CompSolid(TopoDS_Shape &) is shadowed by CompSolid(TopoDS_Shape const &) at ./SWIG_src/TopoDS.i:598. ./SWIG_src/TopoDS.i:604: Warning(509): Overloaded Compound(TopoDS_Shape &) is shadowed by Compound(TopoDS_Shape const &) at ./SWIG_src/TopoDS.i:602. ./SWIG_src/TopAbs.i:85: Warning(509): Overloaded Print(TopAbs_Orientation const,Standard_OStream &) is shadowed by Print(TopAbs_ShapeEnum const,Standard_OStream &) at ./SWIG_src/TopAbs.i:83. ./SWIG_src/TopAbs.i:87: Warning(509): Overloaded Print(TopAbs_State const,Standard_OStream &) is shadowed by Print(TopAbs_ShapeEnum const,Standard_OStream &) at ./SWIG_src/TopAbs.i:83. ./SWIG_src/BOPTools.i:1365: Warning(509): Overloaded ConvertState(BooleanOperations_StateOfShape const) is shadowed by ConvertState(TopAbs_State const) at ./SWIG_src/BOPTools.i:1363. ./SWIG_src/BRepBlend.i:631: Warning(509): Overloaded Set(BlendFunc_SectionShape const) is shadowed by Set(Standard_Integer const) at ./SWIG_src/BRepBlend.i:629. ./SWIG_src/BRepBlend.i:2111: Warning(509): Overloaded Set(BlendFunc_SectionShape const) is shadowed by Set(Standard_Integer const) at ./SWIG_src/BRepBlend.i:2109. ./SWIG_src/BRepBlend.i:2199: Warning(509): Overloaded Set(BlendFunc_SectionShape const) is shadowed by Set(Standard_Integer const) at ./SWIG_src/BRepBlend.i:2197. error: Python was built with Visual Studio version 6, and extensions need to be built with the same version of the compiler, but it isn't installed. It went a long way but died here. I'm not understanding the error. Cheers Jason
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users