Jelle Feringa a écrit :
>> Here are the results:
>> - Build process is really long compared to Windows. I only compiled  
>> 5 modules of pythonOCC (gp, GCE2d, GCPnts, Standard, MMgt). SWIG  
>> generation is fast, the problem comes from gcc.
>> - Build time: 5mn
>> - Display3d.cpp doesn't compile (I think it comes from missing  
>> defines). I had to comment out visualization stuff in setup.py and  
>> SWIG_generator.py
>> - _OCC.so wrapper library is 3.9Mb
>>
>> I ran a few simple tests that work perfectly (see attached  
>> screenshot). I will investigate further the Display3d.cpp  
>> compilation problem.
>>     
>
> Wow, this is really cool news Thomas!
> I think Torsten created some patches to overcome the display issue on  
> OSX, I think those are probably valid for linux too...
>
> Torsten? Would you be so kind to weigh in on this?
>
> Much appreciated,
>
> -jelle
>
>   
Jelle,

I don't think any patch is required for Linux. I think the problem comes 
rather from a mistake I made in the defines passed to gcc. For example, 
OpenCascade was successfully built on my laptop from the original source 
code, without any customization. Why should it be different for pythonOCC?

Thomas


_______________________________________________
Minerva-pythonocc mailing list
Minerva-pythonocc@gna.org
https://mail.gna.org/listinfo/minerva-pythonocc

Reply via email to