For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Building 6.5.5 on OSX

David Ingram's picture

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 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's picture

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.