← Back to team overview

kicad-developers team mailing list archive

Re: Re: Several Problems with kicad on osx

 

dioiioib wrote:
--- In kicad-devel@xxxxxxxxxxxxxxx, "Marco Serantoni" <marco.serantoni@...> wrote:

Ok this is the latest error I am getting after compiling. And trying to run gerbview. the same or similar problems happen with all other apps.

Process: gerbview [260]

[..]

Path: /Users/briandurocher/Downloads/kicad-2009-02-16

<8d0f61f9c4bb9082e6f4b476842b4323> /usr/lib/libwx_macud_gl-2.8.0.dylib

0x7a6000 - 0xc73fff libwx_macud-2.8.0.dylib ??? (???) <8b7f28e2e57b5cda0e96b62637928ddc> /usr/lib/libwx_macud-2.8.0.dylib

Still dynamic linking, set your path accordly to find wx-config you have compiled first, then make all from scratch :)


Thanks Marco, and everyone else who has assisted me here. I finally compiled a successful working copy. Now I can start to experiment.
Here were the steps I used to compile WX and Kicad mostly stuff Marco and Nick suggested and a little from the Compile.txt from Kicad. This version was built against the 10.5 SDK:

WX

./configure --enable-unicode=yes --enable-shared=no --enable-monolithic --with-opengl --enable-universal_binary --with-mac
sudo make
sudo make install

Compiling Kicad
cd <kicadSource>
mkdir -p build/release
mkdir build/debug
cd build/release

sudo cmake -DCMAKE_BUILD_TYPE=Release -DwxWidgets_USE_DEBUG=ON -DwxWidgets_USE_STATIC=ON

The following corrected some strange issues cmake was having.
edit the CMakeCashe.txt so this line is the same:
CMAKE_OSX_ARCHITECTURES:STRING=i386; ppc

sudo make
sudo make install


It is not typical to use sudo in front of any of the above commands, except

make install.

FYI being root removes barriers to mistakes or bad scripts.

Dick







Follow ups

References