Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Open CasCade Error(Open CasCade)
Open CasCade Error [message #934940] Sat, 06 October 2012 09:39
Ear Mongheng is currently offline Ear Mongheng
Messages: 1
Registered: October 2012
Junior Member
Hi everybody

This is my first trial to work with eclipse and opencascade. can anyone help me.
This is my error below.


**** Rebuild of configuration Debug for project TestOpenCasCade ****

**** Internal Builder is used for build ****
g++ -IC:\OpenCASCADE6.5.3\ros\inc -O0 -g3 -Wall -c -fmessage-length=0 -o src\SampleCasCade.o ..\src\SampleCasCade.c++
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx:27:0,
from C:\OpenCASCADE6.5.3\ros\inc/Standard_Address.hxx:39,
from C:\OpenCASCADE6.5.3\ros\inc/Standard.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:10,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_values.h:39:2: error: #error "check config.h file or compilation options: either HAVE_LIMITS or HAVE_LIMITS_H should be defined"
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:26:0,
from C:\OpenCASCADE6.5.3\ros\inc/Standard_ExtCharacter.hxx:42,
from C:\OpenCASCADE6.5.3\ros\inc/Standard_PrimitiveTypes.hxx:47,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:31,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Stream.hxx:47:4: error: #error "check config.h file or compilation options: either HAVE_IOSTREAM or HAVE_IOSTREAM_H should be defined"
In file included from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17:0,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:39:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:40:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:240:0: warning: ignoring #pragma warning [-Wunknown-pragmas]
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_Address.hxx:39:0,
from C:\OpenCASCADE6.5.3\ros\inc/Standard.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:10,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx: In function 'Standard_Integer IntegerFirst()':
C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx:137:10: error: 'INT_MIN' was not declared in this scope
C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx: In function 'Standard_Integer IntegerLast()':
C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx:143:10: error: 'INT_MAX' was not declared in this scope
C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx: In function 'Standard_Integer IntegerSize()':
C:\OpenCASCADE6.5.3\ros\inc/Standard_Integer.hxx:149:10: error: 'CHAR_BIT' was not declared in this scope
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_PrimitiveTypes.hxx:41:0,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:31,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Real.hxx: In function 'Standard_Integer RealSize()':
C:\OpenCASCADE6.5.3\ros\inc/Standard_Real.hxx:163:10: error: 'CHAR_BIT' was not declared in this scope
C:\OpenCASCADE6.5.3\ros\inc/Standard_Real.hxx: In function 'Standard_Integer RealToInt(Standard_Real)':
C:\OpenCASCADE6.5.3\ros\inc/Standard_Real.hxx:284:18: error: 'INT_MIN' was not declared in this scope
C:\OpenCASCADE6.5.3\ros\inc/Standard_Real.hxx:285:15: error: 'INT_MAX' was not declared in this scope
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_ExtCharacter.hxx:42:0,
from C:\OpenCASCADE6.5.3\ros\inc/Standard_PrimitiveTypes.hxx:47,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:31,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx: At global scope:
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:33:9: error: 'ostream' does not name a type
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:35:57: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:36:57: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:37:59: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:38:62: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:39:59: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:40:57: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:41:54: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:42:59: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:44:68: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_OStream.hxx:46:69: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_PrimitiveTypes.hxx:59:0,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:31,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Storable.hxx:77:47: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_Storable.hxx:106:53: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:34:0,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Transient_proto.hxx:63:46: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/Handle_MMgt_TShared.hxx:17:0,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_IFSelect_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/Handle_XSControl_WorkSession.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/XSControl_Reader.hxx:17,
from C:\OpenCASCADE6.5.3\ros\inc/STEPControl_Reader.hxx:17,
from ..\src\SampleCasCade.c++:11:
C:\OpenCASCADE6.5.3\ros\inc/Handle_Standard_Transient.hxx:207:29: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.hxx:20:0,
from ..\src\SampleCasCade.c++:12:
C:\OpenCASCADE6.5.3\ros\inc/TopLoc_Location.hxx:143:40: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.hxx:20:0,
from ..\src\SampleCasCade.c++:12:
C:\OpenCASCADE6.5.3\ros\inc/TopLoc_Location.hxx:174:51: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_Transient.hxx:32:0,
from C:\OpenCASCADE6.5.3\ros\inc/MMgt_TShared.hxx:20,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_TShape.hxx:26,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.lxx:22,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.hxx:244,
from ..\src\SampleCasCade.c++:12:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Type.hxx:106:40: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_Type.hxx:114:34: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/Standard_Type.hxx:115:37: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_Type.hxx:150:0,
from C:\OpenCASCADE6.5.3\ros\inc/Standard_Transient.hxx:32,
from C:\OpenCASCADE6.5.3\ros\inc/MMgt_TShared.hxx:20,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_TShape.hxx:26,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.lxx:22,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.hxx:244,
from ..\src\SampleCasCade.c++:12:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Type.lxx:31:17: error: 'Standard_OStream' does not name a type
In file included from C:\OpenCASCADE6.5.3\ros\inc/Standard_Transient.hxx:32:0,
from C:\OpenCASCADE6.5.3\ros\inc/MMgt_TShared.hxx:20,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_TShape.hxx:26,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.lxx:22,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.hxx:244,
from ..\src\SampleCasCade.c++:12:
C:\OpenCASCADE6.5.3\ros\inc/Standard_Type.hxx:159:56: error: 'Standard_OStream' has not been declared
In file included from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_TShape.lxx:22:0,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_TShape.hxx:135,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.lxx:22,
from C:\OpenCASCADE6.5.3\ros\inc/TopoDS_Shape.hxx:244,
from ..\src\SampleCasCade.c++:12:
C:\OpenCASCADE6.5.3\ros\inc/TopAbs.hxx:96:29: error: 'Standard_OStream' does not name a type
C:\OpenCASCADE6.5.3\ros\inc/TopAbs.hxx:100:29: error: 'Standard_OStream' does not name a type
C:\OpenCASCADE6.5.3\ros\inc/TopAbs.hxx:104:29: error: 'Standard_OStream' does not name a type
In file included from ..\src\SampleCasCade.c++:13:0:
C:\OpenCASCADE6.5.3\ros\inc/BRepTools.hxx:184:62: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/BRepTools.hxx:186:63: error: 'Standard_OStream' has not been declared
C:\OpenCASCADE6.5.3\ros\inc/BRepTools.hxx:189:56: error: 'istream' has not been declared
..\src\SampleCasCade.c++: In function 'int main()':
..\src\SampleCasCade.c++:22:23: warning: unused variable 'stat' [-Wunused-variable]
Build error occurred, build is stopped
Time consumed: 95259 ms.
Previous Topic:Installing Google GWT on Juno 4.2
Next Topic:Invalid access to memory location-swt-win32-3740.dll
Goto Forum:
  


Current Time: Sat Aug 23 11:31:34 EDT 2014

Powered by FUDForum. Page generated in 0.01749 seconds