Compiling KiCad on Mac OSX

You’ll need to build wxWidgets with this:

./configure –enable-unicode=yes –enable-shared=no –enable-monolithic –with-opengl –with-expat=builtin –enable-aui –with-osx_cocoa –with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk/ –prefix=/opt/wxwidgets-svn –enable-universal-binary

 

And then make KiCad:

cmake ./ -DKICAD_TESTING_VERSION=ON -DCMAKE_INSTALL_PREFIX=/Applications/kicad -DCMAKE_CXX_FLAGS=’-D__ASSERTMACROS__’ -DCMAKE_OSX_ARCHITECTURES=’x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk/ -mmacosx-version-min=10.6′ -DCMAKE_BUILD_TYPE:STRING=’Release’

 

DEBUGGING ONLY!!!

./configure –enable-unicode=yes –enable-shared=no –enable-monolithic –with-opengl –with-expat=builtin –enable-aui –with-osx_cocoa –with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk/ –prefix=/opt/wxwidgets-svn –enable-macosx_arch=x86_64 –enable-debug

 

cmake ./ -DKICAD_TESTING_VERSION=ON -DCMAKE_INSTALL_PREFIX=/Applications/kicad -DCMAKE_CXX_FLAGS=’-D__ASSERTMACROS__’ -DCMAKE_OSX_ARCHITECTURES=’x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk/ -mmacosx-version-min=10.6′ -DCMAKE_BUILD_TYPE:STRING=’Debug’

 

 

Share with others!
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Email this to someone
email
Digg this
Digg

Leave a Reply