You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ these are necessary for command line builds. After Xcode loads the project it c
102
102
src directory to build.
103
103
104
104
After BioGears is built, navigate to the bin directory and launch the scenario driver from there, specifying the scenario you want to run as the first parameter
@@ -115,9 +115,12 @@ Make sure the following tools are installed:
115
115
- Java JDK 8
116
116
- GCC
117
117
118
-
Add a JAVA_HOME variable to point to the Java installation and add it to the system PATH. This can be done by adding the following lines to ~/.profile:
118
+
To begin, get these tools through the linux package manager of your choice (apt, yum ect...). This build was tested on Ubuntu 16.04 with tools installed via apt-get. Build supports open JDK or oracle JDK. Linking should be automatically done through the package manager.
119
+
120
+
121
+
Add a JAVA_HOME variable to point to the Java installation and add it to the system PATH (if it was not sufficiently linked through the package manager, you can double check this with a quick `$ java -version`). This can be done by adding the following lines to ~/.profile (again this will depend on where you java installation is on your machine, this is an example of the location when installed via apt-get on Ubuntu):
119
122
```
120
-
JAVA_HOME=/usr/local/jdk1.8.0_45
123
+
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
121
124
PATH=$PATH:$JAVA_HOME_bin
122
125
```
123
126
@@ -126,12 +129,13 @@ Replace the JAVA_HOME value with the correct installation directory.
126
129
#### Build Xerces
127
130
128
131
Navigate in a terminal window to the xerces-3.1.2 directory in the BioGears lib directory. Build Xerces by running
129
-
`./configure --disable-threads --disable-network --enable-transcoder-gnuiconv --disable-pretty-make CXXFLAGS=-O3 CFLAGS=-O3` and then `make`.
132
+
`./configure --disable-threads --disable-network --enable-transcoder-gnuiconv --disable-pretty-make CXXFLAGS=-O3 CFLAGS=-O3` and then `make`. Note, this step may require administrative privileges, if you are getting an error here type `$ chmod +x configure` and re-run the command, this should fix things.
133
+
130
134
<br/>
131
135
132
136
#### Building BioGears from the Command Line
133
137
134
-
Navigate in a terminal window to the BioGears src directory and run `ant cmake -Denv=unixMake` and then`ant compile -Denv=unixMake`.
138
+
Navigate in a terminal window to the BioGears src directory and run `ant cmake -Denv=unixMake`. There may be a couple errors that pop up here due to lack of administrator privleges. These are tied to running the xsd file to auto-gen the schema classes. To get around this type `$ chmod +x ../lib/xsd-4.0.0-x86_64-linux-gnu/bin/xsd` which should give you the requirements you need to run the xsd code to generate the schema. To compile the code just type`ant compile -Denv=unixMake`.
135
139
136
140
### Cross-compiling with GCC for the Raspberry Pi RPI
0 commit comments