-
Notifications
You must be signed in to change notification settings - Fork 38
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
Cross-platform build scripts #8
Comments
Yeah, those two scripts you mention are primarily for the sake of the CI that's generating the binary snapshots with |
Since there's a native unity editor for linux it would be nice if people could experiment with this. But the automated builds still only contain the windows plugins. "Manually" building Managed-OSVR doesn't work on linux because the csproject files don't work with xbuild. I.e. you get the error
and when you work around that you get
and then I gave up for the time being. Will linux libraries and plugins come any time soon? |
Oh, I was mistaken. I believed that the precompiled packages contained windows-specific libraries, but it looks like it's all .Net code that works on linux. I tried to build a very simple project on the experimental unity editor for linux and both the in-editor view and the build work fine: It goes into side by side mode and has working head tracking fully automatically: https://www.youtube.com/watch?v=rwTlW2Nr6i0 Maybe the specific references to windows can be removed from http://access.osvr.com/binary/osvr-unity
|
Good catch, thanks. That page's hand-written content hasn't been touched in a while apparently - we've been shipping 64-bit native binaries for Windows in there too for a while. |
This script dropped in the root of OSVR-Unity builds a .unitypackage for me with msbuild:
To anyone: Feel free to improve it. |
build-unity-packages.cmd and prep-package.cmd only work on Windows, of course, but there may be contributors running Linux or Mac. Cross-platform build scripts would be useful for these folks. As long as it doesn't involve installing cygwin/mingw or running in bash shell on windows.
Options might be things like build scripts written in JavaScript and run via node.
Or, since this is a .net repo, maybe a .net build script:
https://github.com/cake-build/cake
http://fsharp.github.io/FAKE/
Or just provide both .sh scripts for Mac/Linux and .cmd for windows, since the scripts are so small.
The text was updated successfully, but these errors were encountered: