Hi all, Referring to the topic "Another Linux target achieved", I would like to let you know that I successfully compiled OCC/PythonOCC including the visualization(!) on 64 Fedora 9. I will put some remarks on the WIKI shortly. Further I will invest some time in checking how to build a binary distribution.
Marco On Wed, Apr 1, 2009 at 5:51 AM, Thomas Paviot <thomas.pav...@free.fr> wrote: > Hello Hajime, > > The file 'TopOpeBRepDS_tools.hxx' is missing from the /inc OpenCascade > directory. I think it's a bug and this should be reported to OCC team. > This missing file causes gccxml parse errors and thus pythonOCC building > process fail. > > The setup.py script normally creates this file (if you have admin > privileges): sudo python setup.py build. It's not a very elegant and > secure fix, so I have to find something else. I realize that I forgot > that point in the scons script. Anyway, if it doesn' work, here is a > quick fix: just go in your OCC/inc directory with admin privileges and > create an 'empty' file named TopOpeBRepDS_tools.hxx, and then 're-scons'. > > Best Regards, > > Thomas > > Hajime Saito a écrit : >> Hello, >> >> I will make true on my promise at last. >> >> I haven't checked all the libraries, but I compiled opencascade 6.3.0 >> on ubuntu 8.10. I used the >> opencascade-6.3.0.dfsg.1 source package from debian. >> I was able to get it to compile after I had installed all the >> necessary packages. It took a few days to compile because I was >> working on a netbook. >> >> After that I have checked out the newest pythonOCC source and >> continued to compile. After a couple of header files that were not >> copied by the package, I have got to the following error. >> >> g++ -o SWIG_src_modular_linux_darwin/LocOpe_wrap.os -c -O0 -march=i686 >> -fPIC -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DCSFDB -DOCC_CONVERT_SIGNALS >> -DLIN -DLININTEL -D_GNU_SOURCE=1 -I/usr/include/python2.5 >> -I/usr/include/opencascade -IVisualization -IMisc >> -I/home/hajime/src/opencascade-6.3.0.dfsg.1/builddir >> SWIG_src_modular_linux_darwin/LocOpe_wrap.cc >> SWIG_src_modular_linux_darwin/LocOpe_wrap.cc:3285:33: error: >> TopOpeBRepDS_tools.hxx: No such file or directory >> scons: *** [SWIG_src_modular_linux_darwin/LocOpe_wrap.os] Error 1 >> >> I have looked in the opencascade-6.3.0 directory and this file doesn't >> seem to exist. Do I have to switch to a newer version of opencascade? >> >> Best regards, >> >> Hajime >> >> >> 2009/3/18 Thomas Paviot <thomas.pav...@free.fr>: >> >>> Hello Hajime, >>> >>> At first, welcome to this list! >>> >>> I work with Ubuntu 8.04 and pythonOCC build was successfully built on that >>> platform. However, I failed to do the same on Ubuntu 8.10, mostly because I >>> was not able to compile OpenCascade 6.3.0. Any feedback from your experience >>> is then welcome! >>> >>> Best Regards, >>> >>> Thomas >>> >>> Hajime Saito a écrit : >>> >>>> Hello, >>>> >>>> I hope to test on Ubuntu 8.10 this weekend. >>>> >>>> Cheers, >>>> >>>> Hajime >>>> >>>> 2009/3/18 Thomas Paviot <thomas.pav...@free.fr>: >>>> >>>> >>>>> Hi All, >>>>> >>>>> I installed another Linux test platform for the scons script development >>>>> (OpenSuse 11.0). pythonOCC runs perfectly after the build process is >>>>> finished (I made a few modification to the SConstruct script that I still >>>>> need to commit up to the repository). >>>>> >>>>> There was a lot of work achieved these last days and I think we're really >>>>> close to another release. The last things to do before releasing: >>>>> >>>>> - complete the SConstruct script with a kind of 'install' feature that >>>>> copy >>>>> all files from the /build to the /site-packages directory, >>>>> >>>>> - check that the few samples available run properly on each platform >>>>> (Windows, MacOSX, Linux Ubuntu/OpenSuse/Fedora). BTW, did anyone but me >>>>> tested these scripts? >>>>> >>>>> Regards, >>>>> >>>>> Thomas >>>>> >>>>> _______________________________________________ >>>>> Pythonocc-users mailing list >>>>> Pythonocc-users@gna.org >>>>> https://mail.gna.org/listinfo/pythonocc-users >>>>> >>>>> >>>>> >>>>> >>>> >> >> > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users