Skip to content

Commit

Permalink
Add fix for old drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmicog committed Oct 24, 2017
1 parent f1adf5a commit 1b38eed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Testing-in-Simulator.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,15 @@ cmake -D CMAKE_BUILD_TYPE=RELEASE \
make -j4
make install
```
If it gives this error when compiling:
```
/usr/local/nvidia/lib/libcuda.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
```
Add this line to command above and try again:
```
-D CUDA_CUDA_LIBRARY=/usr/local/cuda/lib64/stubs/libcuda.so
```

# Building PX4 software stack
## Update GCC
Expand Down

0 comments on commit 1b38eed

Please sign in to comment.