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

Search the Forums
See All Topics
 

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
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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