Re: Problems compiling CADConverter on Ubuntu 9.04 [message #8906 is a reply to message #8905] |
Wed, 24 June 2009 18:14 |
Sverre Dørheim
Messages: 23 Registered: October 2008 Location: Munich
|
occasional visitor |
From: 129.187.154*
|
|
Hi Florian
Thanks for the quick answer. As you pointed out the problem seems to be located in the header files of OpenCascade. What wonders me is that I have the latest verion, downloaded it today. And it compiled without a single error.
I will now try you tip and include those files in the OpenCascade headers.
Edit 24.06.09 19:45
I got it to compile by changing all the includes for config.h. The were included using:
#include <config.h>
Since the ROOT came before in the include-path the ROOT config.h was included instead of the one belonging to OpenCascade. So i changed it to:
#include "config.h"
In addition I had to remove the compiler option HAVE_LIMITS in the CMakeLists.txt file. With this variable not se, the limits.h file is included.
Best Regards
Sverre
[Updated on: Wed, 24 June 2009 19:51] Report message to a moderator
|
|
|