Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build not working on ubuntu 18.04 #26

Open
nkv123 opened this issue Jul 17, 2020 · 7 comments
Open

build not working on ubuntu 18.04 #26

nkv123 opened this issue Jul 17, 2020 · 7 comments

Comments

@nkv123
Copy link

nkv123 commented Jul 17, 2020

build not working on ubuntu 18.04 here is output is below
janus git:(master) sudo ./build-janusvr-linux.sh

########################################################
 Welcome to the magical Linux Auto Compiler for JanusVR 
########################################################

[*] Building JanusVR Native binary distribution with 1 processors. Please wait...
cat: riftid.txt: No such file or directory
Project ERROR: Unknown module(s) in QT: script scripttools
make: *** No targets specified and no makefile found.  Stop.

real	0m0,001s
user	0m0,001s
sys	0m0,000s

[*] Deleting build dir dist/linux/

[*] Creating directory for build distribution in dist/linux/...
cp: cannot stat 'janusvr': No such file or directory

[#] PATCH 1: Adding depedencies from OS to distribution directory

[*] Create Library build folder
mkdir: cannot create directory ‘resources/build_dir/’: File exists
mkdir: cannot create directory ‘resources/build_dir/assimp-5.0.1/’: File exists
mkdir: cannot create directory ‘resources/build_dir/openvr-1.12.5/’: File exists

[*] Building ASSet IMPorter v5.0.1
CMake Error: The source directory "/home/nikola/janus/resources/build_dir/assimp-5.0.1" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.

[*] Copying assimp to dist/linux/
cp: cannot stat 'resources/build_dir/assimp-5.0.1/code/libassimp.so.5.0.0': No such file or directory

[*] Building OpenVR v1.12.5
CMake Error: The source directory "/home/nikola/janus/resources/openvr-1.12.5" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make: *** No targets specified and no makefile found.  Stop.

[*] Copying OpenVR to dist/linux/
cp: cannot stat 'resources/openvr-1.12.5/bin/linux64/libopenvr_api.so': No such file or directory

[*] Done! Please run 'janusvr' from dist/linux/

@jbaicoianu
Copy link
Contributor

@panmarco83 any ideas about this one? You're probably more familiar with the build system than I am at this point.

@panmarco83
Copy link
Contributor

panmarco83 commented Jul 18, 2020

Crud, forgot to uncomment the install part that would deal with the packages needed in the build script.
These two lines need to be uncommented (remove the # at the beginning of the two lines).
I can't guarantee that it will work on 18.04 sorry to say, but I'd very much like too hear if it works or not.

@panmarco83
Copy link
Contributor

This also reminds me that I probably should try building this on a clean VM too.
Been up for over 18 hours now, so I'll probably attack it tomorrow.

@panmarco83
Copy link
Contributor

Adding some options to the script so the package installation can be skipped as well as the building of the resource libraries.

@panmarco83
Copy link
Contributor

panmarco83 commented Jul 18, 2020

@nkv123 Sorry I took so long to get to this.
I didn't make the original script so I'm rebuilding it with some options that can either be ignored or set if wanted or needed.
If you look at this comment, the instructions to how to temporarily get around the problem is there.

@panmarco83
Copy link
Contributor

Rebuilt Linux build script here.
Could someone test this to see if it works right ?

@panmarco83
Copy link
Contributor

This addresses the problems with the compilation on 18.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants