Helllo OCC community,
I have been trying to build OCC on my Ubuntu system (13.04) with CMAKE, but I have some questions.
The compilation and linking succeeded as well as installing the libraries, but when I try to use it in my application, it is always telling me:
"check config.h file or compilation options: either HAVE_LIMITS or HAVE_LIMITS_H should be defined"
Alright, I understand what this means. I have to add "-DHAVE_CONFIG_H" to my compiler definitions, and include config.h in my project such that OCC knows what standard header files it has to look for. Okay, I did so, there were still problems. So I had to add "-DLIN" and "-DHAVE_WOK_CONFIG_H" to the definitions as well. Now I could compile my application.
The question is, if I use the standard OCC libraries provided by the Ubuntu repositories (libopencascade-dev and similar stuff) why is it that I don't have to make these adjustments in my application? Are those libraries "tailored" in such a way that they always work on the Ubuntu system?