-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Linux Support #51
Comments
Hello, Any PRs for linux support are welcome :D |
@ShootingKing-AM Hey, I'm looking to build this, could you throw me some build instructions? I'm not too sure how to go about building this! |
@rainonwires You mean building on Linux ?? Then you need to use "makefile" + gcc. Just like any other cpp projects. |
I've never used a makefile before, nor built any cpp files from a custom makefile so could you help me out here? |
Actually I didn't myself try to build it on Linux. So it may give out certain errors/warning which should be fixed. I am presently working of hwencoding implementation. If you wish to help us with Linux compilation and you are uncomfortable with make, you can just use gcc to compile .cpp files to .o with -o argument and link all files into .so at the end. |
@ShootingKing-AM Alright Ill try that out. Thanks. |
If you are stuck with any errors or anything, you can use the discrod Server to ping us to get much faster reply :) |
I get |
Hey, thanks for bein' open to the idea of Linux support. I also was interested in trying to build this on Linux. Were you needing someone to create a Makefile for this? I didn't find one anywhere in the git checkout. |
Thanks for taking interest in this project :) @RichardTry and @RangerMauve were trying to compile it on linux. Seems still they didn't find a way. The discussion was going on discord(link in readme) group. Basically whats needed is makefile + some conditional code compilation based on the Compiler os. Some basic functions have some linux alternatives which need to be implemented to compile on linux. |
@blooalien you can find Makefile in my fork, many errors are fixed, but windows.h and d3d11.h are still in dependencies, so it not compiles yet. |
Oh, very nice! Thanks for that. I'll have to see if I can figure anything out. Prolly not. I'ma Python guy mostly, but I'ma try anyhow... :) |
Guys if you are stuck anywhere unable to convert winodws -> linux; Ping me with those spcecific issues, with Error, Line number, function, file name etc. on Discord. We have another similar community also trying to get things running on Linux, using OpenVR SDK as well as another Dev(who is more active on the other community :/) working on both. We can discuss and collaborate on specific issues :) Dont get depressed if you are not getting though a point ;) |
looks like most of the wide character typing is involved with file names. C++17 std::filesystem::path is cross platform and should make it so it handles wide characters and other types normally cross platform. Will be looking into this myself, but wanted to mention it here in case I do not complete this work https://en.cppreference.com/w/cpp/filesystem/path/path |
This has been solved in latest release by using ALVR Server. If its not feel free to reopen the issue. |
Any chance this could be made compatible with SteamVR for Linux?
Does the server side rely on windows-specific APIs?
The text was updated successfully, but these errors were encountered: