Update build instructions for Linux
This commit is contained in:
11
README.md
11
README.md
@@ -190,6 +190,10 @@ Make sure you've installed the following dependencies:
|
||||
- `libc++abi-dev`
|
||||
- `ninja-build`
|
||||
|
||||
In addition your distribution might require:
|
||||
|
||||
- `libxi-dev`
|
||||
|
||||
Then invoke `cmake`:
|
||||
|
||||
```
|
||||
@@ -217,6 +221,13 @@ $ ninja
|
||||
|
||||
This will build Filament, its tests and samples, and various host tools.
|
||||
|
||||
If you experience link errors you must ensure that you are using `libc++abi` by passing this
|
||||
extra parameter to `cmake`:
|
||||
|
||||
```
|
||||
-DFILAMENT_REQUIRES_CXXABI=true
|
||||
```
|
||||
|
||||
#### macOS
|
||||
|
||||
To compile Filament you must have the most recent version of Xcode installed and you need to
|
||||
|
||||
10
build.sh
10
build.sh
@@ -315,12 +315,12 @@ function validate_build_command {
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
# Make sure we have Java
|
||||
# Make sure we have Java
|
||||
javac_binary=`which javac`
|
||||
if [ "$JAVA_HOME" == "" ] || [ ! "$javac_binary" ]; then
|
||||
echo "Warning: JAVA_HOME is not set, skipping Java projects"
|
||||
ENABLE_JAVA=OFF
|
||||
fi
|
||||
if [ "$JAVA_HOME" == "" ] || [ ! "$javac_binary" ]; then
|
||||
echo "Warning: JAVA_HOME is not set, skipping Java projects"
|
||||
ENABLE_JAVA=OFF
|
||||
fi
|
||||
set -e
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user