|
@@ -5,7 +5,7 @@
|
|
|
### Linux
|
|
|
The following libraries and programs are required in order to build NICE-core.
|
|
|
|
|
|
- - GCC with C++ support (clang is _not_ supported)
|
|
|
+ - Command line developer tools
|
|
|
- CMake 2.8.6 or later
|
|
|
- Qt 4.x
|
|
|
- OpenGL
|
|
@@ -13,15 +13,8 @@ The following libraries and programs are required in order to build NICE-core.
|
|
|
|
|
|
### Mac OS X
|
|
|
Newer version of Mac OS X ship with clang as the default compiler.
|
|
|
-NICE depends on some GCC-only features, so you need to install _homebrew_
|
|
|
-from [brew.sh](http://brew.sh) first.
|
|
|
-
|
|
|
-We recommend installing GCC 4.8 like this:
|
|
|
-
|
|
|
-```bash
|
|
|
-$ brew tap homebrew/versions
|
|
|
-$ brew install gcc48
|
|
|
-```
|
|
|
+NICE depends on some libraries that are available from _homebrew_,
|
|
|
+so you need to install it from [brew.sh](http://brew.sh) first.
|
|
|
|
|
|
You also need to install Qt 4.8.5 for Mac.
|
|
|
If you have Mac OS X 10.9, you also have to remove lines 330-332 from
|
|
@@ -33,7 +26,7 @@ _qtglobal.h_:
|
|
|
# endif
|
|
|
```
|
|
|
|
|
|
-And finally FreeGLUT:
|
|
|
+And finally FreeGLUT (using _homebrew_):
|
|
|
|
|
|
```bash
|
|
|
$ brew install freeglut
|
|
@@ -64,13 +57,3 @@ Navigate to the __build__ directory and build NICE-core like this:
|
|
|
$ cmake ../nice-core
|
|
|
$ make
|
|
|
```
|
|
|
-
|
|
|
-### Mac OS X
|
|
|
-Because we installed a different toolchain, we need to tell CMake about it.
|
|
|
-The STL headers in Mac OS X are also slightly different, so call CMake like
|
|
|
-this:
|
|
|
-
|
|
|
-```bash
|
|
|
-$ cmake -DCMAKE_CXX_FLAGS:STRING="-include sys/types.h" -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc ../nice-core/
|
|
|
-$ make
|
|
|
-```
|