OSX build instructions update
AbandonedPublic

Authored by scottpetrovic on Jun 10 2017, 4:48 PM.

Details

Reviewers
rempt
Summary

I just got done building on OSX and I had a few changes. I usually take a lot of notes when I am doing a new type of build, so I will just copy and paste my notes in here...

Downloaded cmake. Move the application into your Applications folder. Then run this line on a terminal to get access to it via the terminal.

sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install
Now type: cmake --versions

You should get it saying cmake version 3.3.2

openexr did NOT fail. Maybe something changed or it did and it didn’t tell me?

Windows and OS X (get_text)…
what are you supposed to do with this step…
Note 3: if you want to build a release, you need to g…

ext_kwindowsystem failed
needs “libintl”

tried to build get_text… even though it doesn’t say to do it for OS X
—seems like it built ok.

trying to build ext_kwindowsystem again
— libintl seems to be found now! yeah.

seems to have succeeded building ext_kwindowsystem

running Krita after a build needs a $ before like this
$BUILDROOT/i/bin/krita.app/Contents/MacOS/krita

hmmm. there is a crash when it starts..

dyld: Library not loaded: libboost_system.dylib

Referenced from: /Users/hc/dev/i/bin/krita.app/Contents/MacOS/krita
Reason: image not found

Abort trap: 6

Talked to boud and running the shell script

trying to run shell script that modifies the path for the lib

~/dev/krita/packaging/osx/fixrpath.sh

Script is referencing boud’s user, so updated the script to reference home directory instead.

Looks like it works. A few of the icon colors don’t look right (dark/light), but that might be related to something else

Test Plan

updated to Sierra as xcode wouldn't install otherwise.

Diff Detail

Repository
R37 Krita
Lint
Lint Skipped
Unit
Unit Tests Skipped
scottpetrovic created this revision.Jun 10 2017, 4:48 PM

added a line about running the rpath fix for boost before launching

rempt accepted this revision.Nov 6 2017, 1:15 PM
This revision is now accepted and ready to land.Nov 6 2017, 1:15 PM
scottpetrovic abandoned this revision.Apr 14 2018, 4:15 PM