Jump to content
  • Advertisement
Sign in to follow this  
CC Ricers

Using MonoGame on Mac - Problems compiling basic sample

This topic is 2092 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In trying to do more XNA-like development on the Macbook when I do not have access to my main computer, I installed MonoDevelop 3.0 and MonoGame 3.0. So I created a basic project template (like the XNA one that just shows a blue-colored window) and tried to compile that. The log gives some strange and seemingly conflicting messages. One error has to do with missing dictionary keys (problem with the library perhaps?) Here is my error log.

 

Building Solution: MonoGameTest (Debug|x86)

Building: MonoGameTest (Debug|x86)
Performing main compilation...
/Library/Frameworks/Mono.framework/Versions/2.10.10/bin/dmcs /noconfig "/out:/Users/JustChris/Projects/MonoGameTest/MonoGameTest/bin/Debug/MonoGameTest.exe" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.10/lib/mono/4.0/System.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.10/lib/mono/4.0/System.Xml.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.10/lib/mono/4.0/System.Core.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.10/lib/mono/4.0/System.Xml.Linq.dll" "/r:/Library/Frameworks/Mono.framework/Versions/2.10.10/lib/mono/4.0/System.Drawing.dll" "/r:/Applications/MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/MonoDevelop.MonoMac/MonoMac.dll" "/r:/Users/JustChris/Library/Application Support/MonoDevelop-3.0/LocalInstall/Addins/MonoDevelop.MonoGame.3.0.0/assemblies/WindowsGL/MonoGame.Framework.dll" /nologo /warn:4 /debug:full /optimize- /codepage:utf8 /platform:x86 "/define:DEBUG"  /t:exe "/Users/JustChris/Projects/MonoGameTest/MonoGameTest/Game1.cs" "/Users/JustChris/Projects/MonoGameTest/MonoGameTest/Main.cs" "/Users/JustChris/Projects/MonoGameTest/MonoGameTest/Properties/AssemblyInfo.cs" 

Copying content files
Copying '/Users/JustChris/Projects/MonoGameTest/MonoGameTest/bin/Debug/MonoGameTest.exe' to '/Users/JustChris/Projects/MonoGameTest/MonoGameTest/bin/Debug/MonoGameTest.app/Contents/MonoBundle/MonoGameTest.exe'
Copying '/Users/JustChris/Projects/MonoGameTest/MonoGameTest/bin/Debug/MonoGameTest.exe.mdb' to '/Users/JustChris/Projects/MonoGameTest/MonoGameTest/bin/Debug/MonoGameTest.app/Contents/MonoBundle/MonoGameTest.exe.mdb'
Build complete -- 0 errors, 0 warnings

Updating application manifest

---------------------- Done ----------------------

Build successful.
Build failed. The given key was not present in the dictionary.

 

 

Strange to see a Build failed message after "Build successful". But I noticed something else.. it's linking to the MonoMac DLL but also to the WindowsGL MonoGame.Framework DLL. Is this required even for a Macintosh build?

 

Share this post


Link to post
Share on other sites
Advertisement

A quick search turned this up from Stack Overflow:

 

"It looks like your version of Xcode is old - it's likely that MonoDevelop's support for reading values from the older Apple SDKs' plists has regressed. I would suggest you either upgrade Xcode, or file a bug with the MonoDevelop log file (found in ~/Library/Logs/MonoDevelop-3.0) attached."

 

The error looks more or less identical to what your seeing. No idea what your environment looks like or if that'd fix it, but it's the only useful thing I found on it.

Share this post


Link to post
Share on other sites

That does sound very possible- I am using XCode 3.1 (older than what the Stack Overflow person is using), and on the same Snow Leopard as well. I've already looked for any version of XCode 4, but there are none available without upgrading to Lion. The one for Snow Leopard used to be in the App Store a while ago too :(

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!