
Sun, 09/23/2012 - 12:48
Forums:
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
....
protected:
Rep* PTR;
};
how can solve the problem
Thu, 09/27/2012 - 01: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.
Tue, 10/09/2012 - 07:25
I want to develop CAM software, collision and interference detection, using configuration space
Tue, 03/04/2014 - 11:04
How can i solve this problem? I get the same compile error.
Thu, 07/18/2019 - 20:09
use occHandle(...) instead of Handlle(...) (which is defined in Standard_Handlle.hxx>
Then in CGAL file Handle.h use
#undef Handle
This works for me. Hope this will help, even if the post is very old.
Giovanni
Thu, 07/18/2019 - 21:17
Hello.
I use both libraries.
You can try reorder occ and cgal #include directives, but I hide cgal using with wrapper class and pImpl idiom. This technique also help to improve compilation speed of program with cgal headers.
BR.