-
-
Notifications
You must be signed in to change notification settings - Fork 745
Installation instructions Ubuntu or OSX
Andrews Cordolino Sobral edited this page Mar 4, 2023
·
13 revisions
git clone --recursive https://github.com/andrewssobral/bgslibrary.git
cd bgslibrary/build
cmake ..
make -j $(nproc)
####### OPTIONAL #######
make install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
# The BGSlibrary is typically installed in the following directories by default:
# `/usr/local/bin/` for the executable files (e.g. /usr/local/bin/bgslibrary)
# `/usr/local/lib/` for the library files (e.g. /usr/local/lib/libbgslibrary_core.so)
# `/usr/local/include/` for the include files (e.g. /usr/local/include/bgslibrary)
########################
cd ..
chmod +x *.sh
./run_video.sh
./run_camera.sh
-
Try some examples
https://www.youtube.com/watch?v=E7gm6sGSoIA
To uninstall the BGSlibrary, follow these steps:
$ cd bgslibrary/build
$ cat install_manifest.txt | xargs echo rm | sh
$ rm -rf /usr/local/include/bgslibrary
$ rm -rf /usr/local/lib/cmake/BGSLibrary