Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Building 6.5.5 on OSX

Building 6.5.5 on OSX
David Ingram 2013/04/03 18:07
When building on osx (using macports, gcc4.8, etc) everything builds except DRAW, The native versions of Tcl/Tk use the aqua window system and not X11, I've tried adding #include<X11/Xlib.h> to Draw_Window.cxx but still get the following error

Making all in TKDraw
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I../../../inc -I../../../drv/Draw -I../../../src/Draw -I../../../drv/DBRep -I../../../src/DBRep -I../../../drv/DrawTrSurf -I../../../src/DrawTrSurf -D_OCC64 -DNDEBUG -DNo_Exception -DCSFDB -DOCC_CONVERT_SIGNALS -O2 -MT Draw_Window.lo -MD -MP -MF .deps/Draw_Window.Tpo -c -o Draw_Window.lo `test -f '../../../src/Draw/Draw_Window.cxx' || echo './'`../../../src/Draw/Draw_Window.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I../../../inc -I../../../drv/Draw -I../../../src/Draw -I../../../drv/DBRep -I../../../src/DBRep -I../../../drv/DrawTrSurf -I../../../src/DrawTrSurf -D_OCC64 -DNDEBUG -DNo_Exception -DCSFDB -DOCC_CONVERT_SIGNALS -O2 -MT Draw_Window.lo -MD -MP -MF .deps/Draw_Window.Tpo -c ../../../src/Draw/Draw_Window.cxx -fno-common -DPIC -o .libs/Draw_Window.o
../../../src/Draw/Draw_Window.cxx: In destructor 'virtual Draw_Window::~Draw_Window()':
../../../src/Draw/Draw_Window.cxx:320:45: error: 'XFreePixmap' was not declared in this scope
Forum supervisor 2013/04/04 10:09
Dear David,
If you are focused on Mac support, I suggest you better try 6.6 beta (already available for downloading), because it provides support of native Cocoa, and contains some more fixes done specially to improve Mac support.
At the same time I would like to note that OCCT v6.5.5 can be built with the latest WOK (Code::Blocks, Xcode should work as well) in the same way as the v6.6.0. But it can be built only with X11 libs, as it does not contain any patches related to Cocoa support. Also v6.5.5 does not include patch 23241, so DRAWEXE will crash on startup.
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map