Sign in to follow this  
Followers 0
CC Ricers

Using MonoGame on Mac - Problems compiling basic sample

2 posts in this topic

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?

 

0

Share this post


Link to post
Share on other sites

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.

0

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 :(

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0