eryar / occQt

A simple OpenCASCADE Qt demo.
MIT License
280 stars 129 forks source link

First compile fixes for Ubuntu Linux #1

Closed speters closed 9 years ago

speters commented 9 years ago

Hi, I tried to make occQt compile on Linux. I used opencascade libraries from the FreeCad team (see updated ReadMe).

Mainly the changes are due to case sensitive filenames.

But now I'm completely stuck. Maybe my compile log showing the errors at https://gist.github.com/speters/d28f7851b6f7e692e7a4 is of some help.

eryar commented 9 years ago

Hi speters,

Thanks for you effort to compile occQt to Linux!

I saw your compile log and found lots of error about the operator overload problem, such as: TopoDS_Shape aTopoBox = BRepPrimAPI_MakeBox(3.0, 4.0, 5.0);

I think it should change to: BRepPrimAPI_MakeBox aMkBox(3.0, 4.0, 5.0); TopoDS_Shape aTopoBox = aMkBox.Shape();

Best Regards, Shing Liu