DiscussionsIssue archiveOther usage issues

Archived discussion

Linking OCC 6.7.0 - ubuntu

Other usage issuesTue, 01/28/2014 - 02:223 replies

Browse this forum
QuestionAuthor

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?

Discussion

3 archived replies

Posts are displayed in their archived order.

01Commenter-1

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.

02Commenter-1

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.

03Commenter-2

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.