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
Copy file name to clipboardExpand all lines: README.md
+62-1Lines changed: 62 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,68 @@ Take a look at `cmake/fw_build_options.cmake` to see the available build options
167
167
168
168
#### **Ground Station**
169
169
170
-
From the top-level directory, run the following to build the ground station. Currently, the ground station is only supported on Windows.
170
+
From the top-level directory, run the following to build the ground station. Currently, the ground station has only been supported for Windows and may be subject to bugs on MacOS. If on a Linux or Windows system, skip the MacOS instructions.
171
+
172
+
<b>For MacOS users only</b>:\
173
+
First, add the following to the top of file `./obc/CMakeLists.txt`, and should be placed as shown:
174
+
```
175
+
...
176
+
cmake_minimum_required(VERSION 3.15)
177
+
178
+
# Add the following 4 lines
179
+
if(APPLE)
180
+
find_library(COREFOUNDATION CoreFoundation)
181
+
find_library(IOKIT IOKit)
182
+
endif()
183
+
...
184
+
```
185
+
186
+
Next, add the following to the file `./gs/backend/CMakeLists.txt` positioned as below:
187
+
```
188
+
...
189
+
target_compile_options(gs.out PUBLIC -Wall -g)
190
+
191
+
# Add the following 6 lines
192
+
if(APPLE)
193
+
target_link_libraries(gs.out PUBLIC
194
+
"-framework CoreFoundation"
195
+
"-framework IOKit"
196
+
)
197
+
endif()
198
+
...
199
+
```
200
+
201
+
Next, comment out line in `./CMakeLists.txt` like as shown:
0 commit comments