Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Installation and building / Error in OSD_MAllocHook.cxx during compilation

Error in OSD_MAllocHook.cxx during compilation

Error in OSD_MAllocHook.cxx during compilation
Engelhardt 2011/06/16 18:27
Hello,

I would like to install OpenCascade on my System (Ubuntu 10.10). I downloaded the tar.gz archive, ./configure with the flags mentioned in the README.txt exited normally, but during the compilation with make I get the following errors:

../../../src/OSD/OSD_MAllocHook.cxx:283: error: 'atol' was not declared in this scope
../../../src/OSD/OSD_MAllocHook.cxx:346: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:346: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:346: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:360: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:360: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:360: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx: In member function 'Standard_Boolean OSD_MAllocHook::CollectBySize::MakeReport(const char*)':
../../../src/OSD/OSD_MAllocHook.cxx:483: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:483: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:483: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:492: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:492: warning: unknown conversion type character 'I' in format
../../../src/OSD/OSD_MAllocHook.cxx:492: warning: unknown conversion type character 'I' in format

Does anybody know this error? Any hints how to solve it?

Thanks in advance for your help!

Greetings
Chris
axw 2011/07/08 19:46
hi,
i added the following line
#include <cstdlib>

to the file ros/src/OSD/OSD_MAllocHook.cxx

and at least it went on compiling, i'm not sure if adding this include is a good idea, so do this at your own risk...

axw
Luis Gabriel Ventosa 2011/07/18 07:42
Yes, same problem under Ubuntu 10.10, adding the reference to cstdlib solves compilation problem.
Please anybody confirm if that is the correct solution.
Greetings.
Franz Engel 2011/07/25 22:02
I had the same problem with Ubuntu Lucid, and adding the cstdlib into the .cxx file solved the problem.
 
 
Latest news
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map