This shows you the differences between two versions of the page.
|
hacking [2009/11/24 19:28] datag |
hacking [2010/03/18 13:22] (current) datag macports |
||
|---|---|---|---|
| Line 109: | Line 109: | ||
| The steps are similar to the steps needed for Linux. There are pre-compiled libs for SDL and Qt4 available. You may either have your own environment setup for compiling or you can use [[http://www.macports.org/|MacPorts]]. | The steps are similar to the steps needed for Linux. There are pre-compiled libs for SDL and Qt4 available. You may either have your own environment setup for compiling or you can use [[http://www.macports.org/|MacPorts]]. | ||
| + | |||
| + | If you're going to build with MacPorts, you'll need to install these tools and libraries: | ||
| + | <code> | ||
| + | sudo port install cmake qt4-mac libsdl | ||
| + | </code> | ||
| If you run into a strange problem with your linker, try to add libc to the linker-flags: | If you run into a strange problem with your linker, try to add libc to the linker-flags: | ||
| Line 114: | Line 119: | ||
| CMAKE_EXE_LINKER_FLAGS:STRING=-lc | CMAKE_EXE_LINKER_FLAGS:STRING=-lc | ||
| </code> | </code> | ||
| + | |||
| ===== What's next? ===== | ===== What's next? ===== | ||