-
Notifications
You must be signed in to change notification settings - Fork 60
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
Unable to compile on Ubuntu #149
Comments
Please try getting the NuGet package for "Netstandard" of version 2- let us know if it would work |
I've used NuGet to add the I'm reading up on other people encountering this same error (dotnet/standard#481). Is it possible that changing the projects to use the new |
I found 3 code errors I made that prevents Linux from building. Though I am having trouble with the shader compiling on Ubuntu. I fiddle more today. I'm trying to get appveyor to build on Ubuntu. So I am on a VM testing terminal commands to script out the build. #152 |
MonoGame/MonoGame#4313 Shaders cannot be compiled on linux. Windows only. |
Okay we did some trickery so when we build the opengl shader on windows it'll be copied to the linux version and we can commit it with git. |
Making progress! There were a few problems I encountered:
|
We made added a precompiled shader to the OpenGLLinux project. It will copy that to the bin folder. This is generated when we compile opengl on windows. Sadly no one has ported the Shader compiler to linux or mac. It only works on windows. MonoGame/MonoGame#4313 |
Though if the shader isn't working still on linux maybe we need to ignore shaders on linux. I got it compiled on my vm but I haven't ran it yet heh. I should probably do that |
Had issues with https://github.com/MaKiPL/OpenVIII/blob/master/linuxAutoBuild.sh sudo apt install mono-devel nuget snapd Throwing 1 error: |
I had updated the readme with new instructions. Back in July. Monogame had moved things around so I had to update the links. |
#189 refers to this link: That project uses the same version of monogame. |
I followed the instructions to the letter on the readme, but I am getting the following error when trying to compile:
/home/colin/openviii/Core/ImGuiRenderer.cs(37,37): Error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. (CS0012) (Core)
I've tried adding the
netstandard
assembly as a reference to the project, but that doesn't seem to work. Any help is much appreciated!The text was updated successfully, but these errors were encountered: