Skip to content
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

Installation instructions do not work at all #1

Open
Mailaender opened this issue Oct 20, 2012 · 0 comments
Open

Installation instructions do not work at all #1

Mailaender opened this issue Oct 20, 2012 · 0 comments

Comments

@Mailaender
Copy link

I tried to follow https://github.com/toshok/scsharp/wiki/Installation but it does not work: ./configure does nothing and there is no autogen.sh when I git clone. Opening the project files with MonoDevelop does not work either: error project map uses another ToolVersion. I can compile it with xbuild however. I copied SC and BW, installed Starcraft using wine and set up the scsharp.exe.config. Afterwards I ran src/mono.sh and then cd bin/Debug/ and mono --debug scsharp.exe

System.DllNotFoundException: /System/Library/Frameworks/Cocoa.framework/Cocoa
  at (wrapper managed-to-native) Driver:NSApplicationLoad ()
  at Driver.Main (System.String[] args) [0x0004f] in /home/matthias/Projekte/scsharp/src/scsharp.cs:60 
found StarDat.mpq
found SC install.exe
found BW install.exe
loading font palette
returning null stream for resource: glue\Palmm\tFont.pcx
loading cursor palette
returning null stream for resource: glue\Palmm\tEffect.pcx
loading background
returning null stream for resource: glue\title\title-beta.pcx

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at SCSharp.Util.ReadByte (System.IO.Stream fs) [0x00000] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.Util/Util.cs:31 
  at SCSharp.UI.Pcx.ReadFromStream (System.IO.Stream stream, Int32 translucentIndex, Int32 transparentIndex) [0x00017] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/Pcx.cs:53 
  at SCSharp.UI.GuiUtil.SurfaceFromStream (System.IO.Stream stream, Int32 translucentIndex, Int32 transparentIndex) [0x00006] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/GuiUtil.cs:347 
  at SCSharp.UI.UIScreen.ResourceLoader () [0x0011c] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/UIScreen.cs:397 
  at SCSharp.UI.TitleScreen.ResourceLoader () [0x00000] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/TitleScreen.cs:51 
  at SCSharp.UI.UIScreen.LoadResources () [0x00000] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/UIScreen.cs:461 
  at SCSharp.UI.Game.UserEvent (System.Object sender, SdlDotNet.Core.UserEventArgs args) [0x0000c] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/Game.cs:334 
  at SdlDotNet.Core.Events.OnUserEvent (SdlDotNet.Core.UserEventArgs e) [0x00000] in <filename unknown>:0 
  at SdlDotNet.Core.Events.ProcessEvent (SDL_Event ev) [0x00000] in <filename unknown>:0 
  at SdlDotNet.Core.Events.Poll () [0x00000] in <filename unknown>:0 
  at SdlDotNet.Core.Events.ThreadTicker () [0x00000] in <filename unknown>:0 
  at SdlDotNet.Core.Events.Run () [0x00000] in <filename unknown>:0 
  at SCSharp.UI.Game.Startup (Boolean fullscreen) [0x00079] in /home/matthias/Projekte/scsharp/SCSharp/SCSharp.UI/Game.cs:305 
  at Driver.Main (System.String[] args) [0x0009a] in /home/matthias/Projekte/scsharp/src/scsharp.cs:70

It seems that you depend on http://www.mono-project.com/CocoaSharp which kinda makes this Mac only. You should note this somewhere.

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

No branches or pull requests

1 participant