Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

How can I compile this? #115

Closed
fenexomega opened this issue Oct 5, 2013 · 1 comment
Closed

How can I compile this? #115

fenexomega opened this issue Oct 5, 2013 · 1 comment

Comments

@fenexomega
Copy link

Sorry to bother. I'm really desperate about this and I don't know how to proceed.

Keeping it short, it is simple: I can't (I even don't know how) to compile your fork of monogame which SEEMS to work using PreferredBackBuffer{Height|Width}.

I done the following:

git clone repo link
cd Monogame/
git submodule update --init

then I opened MonoGame.Framework.Linux.sln in monodevelop and tried to build, but there are 54 errors.

Am I losing something? Yes, I'm a noob on monogame programming and c# prograaming, but I want to learn it.

I hope you guys can help me.

And there are the errors:

/home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture.cs(70,26): error CS0246: The type or namespace name TextureTarget' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture.cs(71,18): error CS0246: The type or namespace nameTextureUnit' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/TextureCube.cs(49,17): error CS0246: The type or namespace name PixelInternalFormat' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/TextureCube.cs(50,17): error CS0246: The type or namespace namePixelFormat' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/TextureCube.cs(51,17): error CS0246: The type or namespace name PixelType' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/TextureCube.cs(291,25): error CS0246: The type or namespace nameTextureTarget' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/TextureCollection.cs(23,26): error CS0246: The type or namespace name TextureTarget' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/States/DepthStencilState.cs(209,24): error CS0246: The type or namespace nameGLStencilFunction' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/States/DepthStencilState.cs(235,24): error CS0246: The type or namespace name StencilOp' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/States/SamplerState.cs(70,23): error CS0246: The type or namespace nameGetPName' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/States/SamplerState.cs(71,23): error CS0246: The type or namespace name TextureParameterName' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/States/SamplerState.cs(292,28): error CS0246: The type or namespace nameTextureTarget' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/GamerServices/GamerProfile.cs(67,24): warning CS0628: Microsoft.Xna.Framework.GamerServices.GamerProfile.Dispose(bool)': new protected member declared in sealed class /home/jordy/MonoGame/MonoGame.Framework/Desktop/Audio/AudioLoader.cs(13,24): error CS0433: The imported typeOpenTK.Audio.OpenAL.ALFormat' is defined multiple times
/home/jordy/MonoGame/ThirdParty/Libs/OpenTK.dll (Location of the symbol related to previous error)
/home/jordy/MonoGame/MonoGame.Framework/bin/Linux/Release/SDL2#.dll (Location of the symbol related to previous error)
/home/jordy/MonoGame/MonoGame.Framework/Desktop/OpenTKGameWindow.cs(70,33): error CS0433: The imported type OpenTK.Graphics.GraphicsContext' is defined multiple times /home/jordy/MonoGame/ThirdParty/Libs/OpenTK.dll (Location of the symbol related to previous error) /home/jordy/MonoGame/MonoGame.Framework/bin/Linux/Release/SDL2#.dll (Location of the symbol related to previous error) /home/jordy/MonoGame/MonoGame.Framework/Desktop/Audio/OpenALSoundController.cs(20,17): error CS0433: The imported typeOpenTK.ContextHandle' is defined multiple times
/home/jordy/MonoGame/ThirdParty/Libs/OpenTK.dll (Location of the symbol related to previous error)
/home/jordy/MonoGame/MonoGame.Framework/bin/Linux/Release/SDL2#.dll (Location of the symbol related to previous error)
/home/jordy/MonoGame/MonoGame.Framework/Desktop/Audio/OpenALSoundController.cs(23,17): error CS0433: The imported type OpenTK.Audio.OpenAL.AlcError' is defined multiple times /home/jordy/MonoGame/ThirdParty/Libs/OpenTK.dll (Location of the symbol related to previous error) /home/jordy/MonoGame/MonoGame.Framework/bin/Linux/Release/SDL2#.dll (Location of the symbol related to previous error) /home/jordy/MonoGame/MonoGame.Framework/Audio/SoundEffect.cs(90,17): error CS0246: The type or namespace nameSound' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/Vertices/VertexDeclaration.cs(220,24): error CS0433: The imported type OpenTK.Graphics.ES20.VertexAttribPointerType' is defined multiple times /home/jordy/MonoGame/ThirdParty/Libs/OpenTK.dll (Location of the symbol related to previous error) /home/jordy/MonoGame/MonoGame.Framework/bin/Linux/Release/SDL2#.dll (Location of the symbol related to previous error) /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(233,23): error CS0246: The type or namespace nameFramebufferTarget' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(234,23): error CS0246: The type or namespace name RenderbufferTarget' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(235,23): error CS0246: The type or namespace nameFramebufferAttachment' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(236,23): error CS0246: The type or namespace name FramebufferAttachment' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(237,23): error CS0246: The type or namespace nameFramebufferAttachment' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(238,23): error CS0246: The type or namespace name GetPName' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(239,23): error CS0246: The type or namespace nameRenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(240,23): error CS0246: The type or namespace name RenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(241,23): error CS0246: The type or namespace nameRenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(242,23): error CS0246: The type or namespace name FramebufferErrorCode' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(117,25): error CS0246: The type or namespace nameDrawBuffersEnum' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(1858,24): error CS0246: The type or namespace name BeginMode' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsDevice.cs(1915,45): error CS0246: The type or namespace nameVertexBufferBinding' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(30,23): error CS0246: The type or namespace name All' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(87,23): error CS0246: The type or namespace nameVertexPointerType' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(131,31): error CS0246: The type or namespace name VertexAttribPointerType' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(201,23): error CS0246: The type or namespace nameColorPointerType' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(247,22): error CS0246: The type or namespace name NormalPointerType' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(293,22): error CS0246: The type or namespace nameTexCoordPointerType' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(340,31): error CS0246: The type or namespace name BlendEquationMode' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(366,31): error CS0246: The type or namespace nameBlendingFactorSrc' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(405,31): error CS0246: The type or namespace name BlendingFactorDest' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(438,54): error CS0246: The type or namespace namePixelInternalFormat' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(439,54): error CS0246: The type or namespace name PixelFormat' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/GraphicsExtensions.cs(440,54): error CS0246: The type or namespace namePixelType' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture2D.cs(117,17): error CS0246: The type or namespace name PixelInternalFormat' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture2D.cs(118,17): error CS0246: The type or namespace nameGLPixelFormat' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture2D.cs(119,17): error CS0246: The type or namespace name PixelType' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/RenderTarget2D.cs(68,11): error CS0246: The type or namespace nameRenderbufferTarget' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/RenderTarget2D.cs(69,11): error CS0246: The type or namespace name RenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/RenderTarget2D.cs(70,11): error CS0246: The type or namespace nameRenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/RenderTarget2D.cs(71,11): error CS0246: The type or namespace name RenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/RenderTarget2D.cs(72,11): error CS0246: The type or namespace nameRenderbufferStorage' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture3D.cs(29,17): error CS0246: The type or namespace name PixelInternalFormat' could not be found. Are you missing a using directive or an assembly reference? /home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture3D.cs(30,17): error CS0246: The type or namespace namePixelFormat' could not be found. Are you missing a using directive or an assembly reference?
/home/jordy/MonoGame/MonoGame.Framework/Graphics/Texture3D.cs(31,17): error CS0246: The type or namespace name `PixelType' could not be found. Are you missing a using directive or an assembly reference?

@flibitijibibo
Copy link
Owner

MonoGame.Framework.Linux is not meant to be used in MG-SDL2. Use MonoGame.Framework.SDL2 instead.

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

No branches or pull requests

2 participants