Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Linking errors for OCCT with Qt(MinGW 5.5.1)
Forum Update on Monday, May 27th 2025

Linking errors for OCCT with Qt(MinGW 5.5.1)

Scheduled Pinned Locked Moved Unsolved General and Desktop
occtopencascade
1 Posts 1 Posters 579 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Suhas.RedekarS Offline
    Suhas.RedekarS Offline
    Suhas.Redekar
    wrote on last edited by
    #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 to Handle_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 to Handle_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 to Handle_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 to Handle_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 to Handle_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 to TopLoc_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 to Handle_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 to Handle_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 to Handle_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 to Handle_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 to Handle_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 to Handle_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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved