Hexagenic / wanikaniwallpaper

Create a wallpaper based on your WaniKani progress
26 stars 7 forks source link

OSX support #6

Open Hexagenic opened 11 years ago

Hexagenic commented 11 years ago
Hexagenic commented 6 years ago

Found OSX developer.

He provided help.

Hexagenic commented 6 years ago

Although, I'll leave this issue opened until I've gotten automatic building and releasing of binaries working.

skl commented 5 years ago

Homebrew appear to have removed the "utfcpp" package:

Error: No available formula with the name "utfcpp"

With a brew search utf I see only "libutf" and "utf8proc".

Edit: It is possible to manually install the rejected Hombrew pull request using the following command: brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/92d6365251d6345da3cf090faa6aedf698fb2f1d/Formula/utfcpp.rb

The build process on macOS then becomes:

brew install boost jsoncpp
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/92d6365251d6345da3cf090faa6aedf698fb2f1d/Formula/utfcpp.rb
cmake .
make

Edit2: Additional instructions require copying the font into the source tree:

cp ../ttf-ipafont/ipag.ttf .

But now I get a seg fault:

libPNG warning: Application built with libpng-1.4.12 but running with 1.6.35 [1] 8713 segmentation fault ./wanikaniwallpaper -k [redacted]