moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.5k stars 325 forks source link

Cant make Error 2 #707

Closed jesusvallejo closed 5 years ago

jesusvallejo commented 5 years ago

cmake ../ works as it should but when trying to make , this happens , ive installed everithing mentioned on the wiki to compile. Any help is much appreciated.

this is what make promts.

pi@server:~/moonlight-embedded/build $ make

Scanning dependencies of target moonlight-common make[2]: No rule to make target 'libgamestream/CMakeFiles/moonlight-common.dir/build'. Stop. CMakeFiles/Makefile2:163: recipe for target 'libgamestream/CMakeFiles/moonlight-common.dir/all' failed make[1]: [libgamestream/CMakeFiles/moonlight-common.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

jesusvallejo commented 5 years ago

SOLVED- Make sure you run "git submodule update --init --recursive" in the moonlight-embedded directory

also run after "sudo ldconfig" or it will output:

pi@server:~/moonlight-embedded/build $ moonlight moonlight: error while loading shared libraries: libgamestream.so.4: cannot open shared object file: No such file or directory