Unsolved Linking errors for OCCT with Qt(MinGW 5.5.1)
-
I am trying to build sample application which comes with Opencascade.
Oencascade version 6.8.0 with Qt 5.5.1(windows-x86-mingw492).
I am facing linking errors as given below:winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0xcf): undefined reference to
Standard::Allocate(unsigned int)' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0xdb): undefined reference to
AIS_Shape::AIS_Shape(TopoDS_Shape const&)'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0xeb): undefined reference toHandle_Standard_Transient::BeginScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x114): undefined reference to
AIS_InteractiveContext::SetMaterial(Handle_AIS_InteractiveObject const&, Graphic3d_NameOfMaterial, unsigned int)'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x11f): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x148): undefined reference to
AIS_InteractiveContext::SetDisplayMode(Handle_AIS_InteractiveObject const&, int, unsigned int)'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x153): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x174): undefined reference to
AIS_InteractiveContext::Display(Handle_AIS_InteractiveObject
const&, unsigned int)'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x17f): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x1a0): undefined reference to
AIS_InteractiveContext::SetCurrentObject(Handle_AIS_InteractiveObject
const&, unsigned int)'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x1ab): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x1c6): undefined reference to
Handle_Standard_Transient::EndScope()'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x1d0): undefined reference toTopLoc_SListOfItemLocation::Clear()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x1d7): undefined reference to
Handle_Standard_Transient::EndScope()'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x1de): undefined reference toHandle_Standard_Transient::EndScope()' Makefile.Release:140: recipe for target 'winwin32\vc10\bin\Tutorial.exe' failed winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x201): undefined reference to
Handle_Standard_Transient::EndScope()'
mingw32-make[1]: Leaving directory
'C:/OpenCASCADE6.8.0/opencascade-6.8.0/samples/qt/build-Tutorial-Desktop_Qt_5_5_0_MinGW_32bit-Release'
makefile:34: recipe for target 'release' failed
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x212): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x220): undefined reference to
Handle_Standard_Transient::EndScope()'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x227): more undefined references toHandle_Standard_Transient::EndScope()' follow winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x231): undefined reference to
TopLoc_SListOfItemLocation::Clear()'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x238): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x23f): undefined reference to
Handle_Standard_Transient::EndScope()'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x251): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x25d): undefined reference to
Handle_Standard_Transient::EndScope()'
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x266): undefined reference toHandle_Standard_Transient::EndScope()' winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x272): more undefined references to
Handle_Standard_Transient::EndScope()' follow
winwin32/vc10/obj/DocumentTut.o:DocumentTut.cxx:(.text+0x28e): undefined reference to `Standard::Free(void*)'Let me know how to resolve errors or any more information required.