Skip to content

Commit

Permalink
doc: install imagemagick first to ensure deps don't require graphicsm…
Browse files Browse the repository at this point in the history
…agick
  • Loading branch information
dciabrin committed Oct 24, 2018
1 parent 97d3327 commit 8a81c19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README-mingw.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,11 @@ Install the packages required to build the devkit's compilers and
tools:

sudo apt-get update
sudo apt-get install gcc curl unzip
sudo apt-get install gcc curl unzip imagemagick
GCC_VERSION_PKG=$(apt-cache depends gcc | awk '/Depends.*gcc/ {print $2}')
sudo apt-get build-dep $GCC_VERSION_PKG
sudo apt-get build-dep sdcc
sudo apt-get install libsdl2-dev
sudo apt-get install imagemagick
sudo apt-get install python-pygame
sudo apt-get install automake
sudo apt-get install autoconf-archive
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,21 @@ ImageMagick for all the graphics trickery. You also need SDL 2.0
for the emulator and its source-level debugging support.
On a Debian-derived distro, this can be done with:

apt-get install gcc curl
apt-get install gcc curl imagemagick
GCC_VERSION_PKG=$(apt-cache depends gcc | awk '/Depends.*gcc/ {print $2}')
apt-get build-dep $GCC_VERSION_PKG
apt-get build-dep sdcc
apt-get install imagemagick
apt-get install libsdl2-dev
apt-get install python-pygame

If running OS X, you will need XCode and brew:

brew install imagemagick
brew deps gcc | xargs brew install
# gcc 5.5 currently only works with isl <= 0.18
brew remove --force isl
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/87ddc3513e1d15f23d2bb270f63827a5daf1259c/Formula/isl.rb
brew deps sdcc | xargs brew install
brew install imagemagick
brew install sdl
# "easy_install pip" if you don't have pip yet, then
pip install pygame
Expand Down

0 comments on commit 8a81c19

Please sign in to comment.