Ok I realised that each library (*.so) is put in a hidden subfolder /.lib/ (Ctrl+H is needed in Nautilus).
I see that not all modules have a library, for example:
libTKGeomAlgo.so
libTKMath.so
are generated,
but not the following ones:
libTKIGES.so
libTKSTEP.so
libTKSTEP209.so
...
under windows you get a dll for each of these.
Is this normal?
Moving forward, using a search tool I copy-pasted all the *.so files to another folder (maybe this is not needed?) and tried to compile my Qt project with the libraries I got.
LIBS += -L"....../opencascade/ros/adm/lin/lib64copypaste"
LIBS += "......./opencascade/ros/adm/lin/lib64copypaste/TKSTEP.lib"
LIBS += -lTKernel -lPTKernel -lTKMath -lTKService -lTKV3d \
-lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEPAttr -lTKSTEP209 \
-lTKSTEPBase -lTKShapeSchema -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \
-lTKXSBase -lTKPShape -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \
-lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset -lTKXCAF -lTKXDESTEP -lTKXDEIGES -lTKLCAF
My only 3rd party library needed is freetype.
(I also tried the default path
LIBS += -L"/home/Author/Desktop/opencascade/ros/adm/lin/amk"
however, every library is put in a subfolder /.libs/ , one by one)
When compiling I had to apply some fixes:
DEFINE HAVE_LIMITS
DEFINE HAVE_IOSTRREAM
#include in Standard_Stream.hxx
However, the libraries are not found by the compiler.
Under windows everything works fine.
What am I doing wrong?
Any help would be really appreciated,