GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems compiling CADConverter on Ubuntu 9.04
icon7.gif  Re: Problems compiling CADConverter on Ubuntu 9.04 [message #8906 is a reply to message #8905] Wed, 24 June 2009 18:14 Go to previous message
Sverre Dørheim is currently offline  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

 
Read Message
Read Message
Read Message icon7.gif
Previous Topic: Bug in PndEmcMapper class: neighbour lists of PndEmcTwoCoordIndex wrong
Next Topic: incomplete types
Goto Forum:
  


Current Time: Wed Apr 24 05:59:40 CEST 2024

Total time taken to generate the page: 0.00990 seconds