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 / Usage issues / use CGAL and openCASCADE at the same time, compile error?

use CGAL and openCASCADE at the same time, compile error?

use CGAL and openCASCADE at the same time, compile error?
Liang Quan 2012/09/23 10:48
I want to use CGAL and openCASCADE at the same time
but when I compile the project

error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

I think this is because:

openCASCADE define the macro:
# define Handle(ClassName) Handle_##ClassName

while CGAL define a class with the same name

class Handle
{
public:
Handle()
: PTR(static_cast<Rep*>(0)) {}

....

protected:
Rep* PTR;
};


how can solve the problem
jelle 2012/09/26 23:03
Its a good idea to couple the merits of these libs, curious to know what you're working on...
I've managed to do so with pythonocc and the cgal python wrappers.
Liang Quan 2012/10/09 05:25
I want to develop CAM software, collision and interference detection, using configuration space
Alireza Norouzzadeh 2014/03/04 08:04
How can i solve this problem? I get the same compile error.
 
 
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