db/OCCT-6.5.4 compilation issues on OSX #312

Closed
tpaviot opened this Issue Nov 17, 2012 · 8 comments

Comments

Projects
None yet
1 participant
Owner

tpaviot commented Nov 17, 2012

A small issue on OSX (that should also break compilation process on Linux):

[ 39%] Building CXX object adm/cmake/TKService/CMakeFiles/TKService.dir/__/__/__/src/Image/Image_AlienPixMap.cxx.o
/Users/thomas/Devel/oce/src/Image/Image_AlienPixMap.cxx:21:22: error: config.h: No such file or directory
make[2]: *** [adm/cmake/TKService/CMakeFiles/TKService.dir/__/__/__/src/Image/Image_AlienPixMap.cxx.o] Error 1
make[1]: *** [adm/cmake/TKService/CMakeFiles/TKService.dir/all] Error 2
make: *** [all] Error 2
Owner

tpaviot commented Nov 17, 2012

Commit 41c1503 fixes the previous issue.

Owner

tpaviot commented Nov 17, 2012

[ 49%] Building CXX object adm/cmake/TKOpenGl/CMakeFiles/TKOpenGl.dir/__/__/__/src/OpenGl/OpenGl_Context.cxx.o
In file included from /Users/thomas/Devel/oce/inc/OpenGl_ArbVBO.hxx:24,
                 from /Users/thomas/Devel/oce/src/OpenGl/OpenGl_Context.cxx:27:
/Users/thomas/Devel/oce/inc/OpenGl_GlCore12.hxx:33: error: ‘PFNGLBLENDCOLORPROC’ does not name a type
/Users/thomas/Devel/oce/inc/OpenGl_GlCore12.hxx:34: error: ‘PFNGLBLENDEQUATIONPROC’ does not name a type
/Users/thomas/Devel/oce/inc/OpenGl_GlCore12.hxx:35: error: ‘PFNGLDRAWRANGEELEMENTSPROC’ does not name a type
[...]
/Users/thomas/Devel/oce/src/OpenGl/OpenGl_Context.cxx: In member function ‘void OpenGl_Context::init()’:
/Users/thomas/Devel/oce/src/OpenGl/OpenGl_Context.cxx:554: error: ‘struct OpenGl_GlCore20’ has no member named ‘glBlendColor’
/Users/thomas/Devel/oce/src/OpenGl/OpenGl_Context.cxx:555: error: ‘struct OpenGl_GlCore20’ has no member named ‘glBlendEquation’
[...]
_GlCore20’ has no member named ‘glVertexAttribPointer’
make[2]: *** [adm/cmake/TKOpenGl/CMakeFiles/TKOpenGl.dir/__/__/__/src/OpenGl/OpenGl_Context.cxx.o] Error 1
make[1]: *** [adm/cmake/TKOpenGl/CMakeFiles/TKOpenGl.dir/all] Error 2
make: *** [all] Error 2
Owner

tpaviot commented Nov 17, 2012

Commit 7a25864 fixes the previous OpenGl issue on OSX.

Owner

tpaviot commented Nov 17, 2012

Linking CXX shared library Darwin/i386-Release-64/libTKOpenGl.dylib
Undefined symbols:
  "Font_FontMgr::GetInstance()", referenced from:
      OpenGl_FontMgr::_initializeFontDB()       in OpenGl_FontMgr.cxx.o
  "Font_SystemFont::FontName() const", referenced from:
      OpenGl_FontMgr::request_font(Handle_TCollection_HAsciiString const&, Font_FontAspect, int)in OpenGl_FontMgr.cxx.o
      OpenGl_FontMgr::requestFontList(NCollection_List&)          in OpenGl_FontMgr.cxx.o
  "Font_SystemFont::FontAspect() const", referenced from:
      OpenGl_FontMgr::request_font(Handle_TCollection_HAsciiString const&, Font_FontAspect, int)in OpenGl_FontMgr.cxx.o
      OpenGl_FontMgr::_initializeFontDB()       in OpenGl_FontMgr.cxx.o
  "Font_FontMgr::GetAvalableFonts() const", referenced from:
      OpenGl_FontMgr::_initializeFontDB()       in OpenGl_FontMgr.cxx.o
  "Font_SystemFont::FontHeight() const", referenced from:
      OpenGl_FontMgr::request_font(Handle_TCollection_HAsciiString const&, Font_FontAspect, int)in OpenGl_FontMgr.cxx.o
      OpenGl_FontMgr::request_font(Handle_TCollection_HAsciiString const&, Font_FontAspect, int)in OpenGl_FontMgr.cxx.o
      OpenGl_FontMgr::request_font(Handle_TCollection_HAsciiString const&, Font_FontAspect, int)in OpenGl_FontMgr.cxx.o
  "Font_SystemFont::FontPath() const", referenced from:
      OpenGl_FontMgr::request_font(Handle_TCollection_HAsciiString const&, Font_FontAspect, int)in OpenGl_FontMgr.cxx.o
      OpenGl_FontMgr::_initializeFontDB()       in OpenGl_FontMgr.cxx.o
  "Font_SystemFont::Font_SystemFont(Handle_TCollection_HAsciiString const&, Font_FontAspect, Handle_TCollection_HAsciiString const&)", referenced from:
      OpenGl_FontMgr::_initializeFontDB()       in OpenGl_FontMgr.cxx.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [adm/cmake/TKOpenGl/Darwin/i386-Release-64/libTKOpenGl.4.0.0.dylib] Error 1
make[1]: *** [adm/cmake/TKOpenGl/CMakeFiles/TKOpenGl.dir/all] Error 2
make: *** [all] Error 2
Owner

tpaviot commented Nov 17, 2012

Commit 3f814d3 adds Font to TKService, and fixes the previous issue.

Owner

tpaviot commented Nov 17, 2012

Commit 5e5210e updates BuildToolkit.cmake with the new filename Font_FontMgr.cxx.

Owner

tpaviot commented Nov 17, 2012

Linking CXX shared library Darwin/i386-Release-64/libTKCAF.dylib
Undefined symbols:
  "IntTools_FClass2d::IsHole() const", referenced from:
      TNaming::OuterWire(TopoDS_Face const&, TopoDS_Wire&) in TNaming.cxx.o
  "IntTools_FClass2d::Init(TopoDS_Face const&, double)", referenced from:
      TNaming::OuterWire(TopoDS_Face const&, TopoDS_Wire&) in TNaming.cxx.o
  "IntTools_FClass2d::Destroy()", referenced from:
      TNaming::OuterWire(TopoDS_Face const&, TopoDS_Wire&) in TNaming.cxx.o
      TNaming::OuterWire(TopoDS_Face const&, TopoDS_Wire&) in TNaming.cxx.o
  "IntTools_FClass2d::IntTools_FClass2d()", referenced from:
      TNaming::OuterWire(TopoDS_Face const&, TopoDS_Wire&) in TNaming.cxx.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [adm/cmake/TKCAF/Darwin/i386-Release-64/libTKCAF.4.0.0.dylib] Error 1
make[1]: *** [adm/cmake/TKCAF/CMakeFiles/TKCAF.dir/all] Error 2
make: *** [all] Error 2
Owner

tpaviot commented Nov 17, 2012

Commit 2f6fd23 fixes the previous issue.

@tpaviot tpaviot closed this Nov 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment