Platform for education and research in free/libre arts & technologies
be sure it works, and launch them before using godot3
see http://docs.godotengine.org/en/latest/development/compiling/compiling_for_x11.html
- dependencies (debian/ubuntu)
~ $ sudo apt-get install build-essential scons pkg-config libx11-dev libxcursor-dev libxinerama-dev libgl1-mesa-dev libglu-dev libasound2-dev libpulse-dev libfreetype6-dev libssl-dev libudev-dev libxrandr-dev
- download godot3 sources
~ $ git clone –recursive https://github.com/godotengine/godot.git
build :
~ $ cd godot3
~/godot3 $ scons platform=x11
- download godot_openvr sources
(~/godot3 $ cd ~ )
~ $ git clone –recursive https://github.com/BastiaanOlij/godot_openvr.git
~ $ cd godot_openvr
- build using header from your recent build, so change according you path - as godot_openvr headers point to older one-
~/godot_openvr $ GODOT_HEADERS=/home/user/godot3/modules/gdnative/include scons platform=linux
- rem : you can test you openvr build by building the samples inside the openvr/samples dir
- copy the demo dir in your godot3 dir (it includes the gdnative binaries to link with openvr in demo/bin and a sample scene )
~/godot_openvr $ cp -r demo ../godot3/bin/
- copy the libopenvr_api.so to your system (it can help) and
~/godot_openvr $ sudo cp openvr/bin/linux64/libopenvr_api.so /usr/local/lib/
- copy the libopenvr_api.so in the demo dir aside the gdnative component bin
~/godot_openvr $ cp openvr/bin/linux64/libopenvr_api.so ../godot3/bin/demo/bin/
then with the vive connected and all running, start the controllers if you want them before (it crash godot if you start them with the app running atm ) then start godot3
~ $ cd ~/godot3/bin
~/godot3/bin $ ./godot.x11.tools.64
load the demo project in ~/godot3/bin/demo/ and launch it, it should run on the vive