Tue, 01/28/2014 - 02:22
Forums:
I successfully built OCC 6.7.0 on linux.
The code compiles on windows but on linux it gives the following error:
/opencascade-6.7.0/inc/AIS_InteractiveContext.hxx:646:35: error: expected unqualified-id before ‘const’
/opencascade-6.7.0/inc/AIS_InteractiveContext.hxx:646:35: error: expected ‘)’ before ‘const’
It is due to this line:
//! Returns the status astatus of the Interactive Context
//! for the view of the Interactive Object anObj.
Standard_EXPORT void Status(const Handle(AIS_InteractiveObject)& anObj,TCollection_ExtendedString& astatus) const;
What is missing?
Wed, 07/09/2014 - 01:08
I am having the exact same issue. But with openCASCADE 6.7.1 if you have come across any solution please post it here. It would be very helpful.
Fri, 07/11/2014 - 06:07
I solved this by changing the order of the #include directives in my code. apparently some of the #defines conflict each other so they have to be included with care.
Fri, 10/17/2014 - 14:49
I have the same issue for opencascade-6.7.1. Can you tell me what orders have you changed to solve this problem. Thank you in advance.