Comments (15)
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 ;)
from phonevr.
@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.
from phonevr.
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
https://stackoverflow.com/questions/821873/how-to-open-an-stdfstream-ofstream-or-ifstream-with-a-unicode-filename
from phonevr.
This has been solved in latest release by using ALVR Server. If its not feel free to reopen the issue.
from phonevr.
Hello,
The OpenVR API Seems not to fully support linux yet(ValveSoftware/openvr#749), but I personally didnt test PVR on linux. As far as building goes, there shouldn't be any issue in compiling PVR-Server for linux.
Any PRs for linux support are welcome :D
from phonevr.
@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!
from phonevr.
@rainonwires You mean building on Linux ?? Then you need to use "makefile" + gcc. Just like any other cpp projects.
from phonevr.
@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?
from phonevr.
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.
from phonevr.
@ShootingKing-AM Alright Ill try that out. Thanks.
from phonevr.
If you are stuck with any errors or anything, you can use the discrod Server to ping us to get much faster reply :)
from phonevr.
I get
error: no matching function for call to βstd::basic_ifstream<char>::basic_ifstream(const wchar_t*)
cos ifstream(wchar_t *)
is not standard C++.
from phonevr.
Any PRs for linux support are welcome :D
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.
from phonevr.
Any PRs for linux support are welcome :D
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 :)
I didn't personally compile it on linux so no makefile is in the repo.
@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.
from phonevr.
@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... :)
from phonevr.
Related Issues (20)
- [Issue/Bug] In the phone side the streaming vibrate a lot. HOT 17
- [Issue/Bug] Decoder error in PhoneVR ALVR client HOT 8
- [Issue/Bug] ALVR v20.2.1 does not work on linux + wayland HOT 1
- [Feature] Add Passthrough Mode HOT 13
- [Feature Request] RGB spectrum correction HOT 2
- PhoneVC crashes on startup on an HTC Vive Focus Pro HOT 4
- Make App available through F-Droid Repository HOT 2
- [Issue/Bug] App does not request storage using storage access framework (SAF) HOT 5
- [enhancement] Allow manual brightness control when using ALVR HOT 1
- [Issue/Bug] Pairing failed! Cause: timeout ... for 5secs HOT 6
- ARCore support? HOT 4
- [Issue] the 2.7.1alvr is notwoking HOT 5
- [Issue/Bug] Black Screen with Flat color flickering. I apologize, this is a duplicate, I only realized later while trying to solve anoher issue
- The two covered legs cannot be focused[Issue/Bug] Title HOT 2
- make controller app for another phone (optional) HOT 2
- java.lang.StackOverflowError: stack size 8188KB HOT 12
- [Issue/Bug] Phone connects for a few seconds and tracks but disconnects HOT 1
- [suggestion] Cease to depend on server HOT 1
- [Refactor idea] Dropping PhoneVR Server support
- [Issue/Bug] Jittery video HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonevr.