Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2011-08-07 09:50:28

259/703

Compiling JohtoMap with Mono

Yes, another JohtoMap thread.

Brought on by the recent discussion of portable programs, I’ve been trying to run JohtoMap (written in C#) on Unix with Mono. Unfortunately, running the program directly (with “mono JohtoMap.exe”) doesn’t show the desired output:

0APJF.png

So I thought I’d try compiling it instead. I’ve never worked with C# or mono before, though, and don’t know the procedure. It looks like gmcs is the compiler, so I tried it:

$ gmcs Program.cs -pkg:dotnet              
Program.cs(21,31): error CS0246: The type or namespace name `Form1' could not be found. Are you missing a using directive or an assembly reference?
Program.cs(22,31): error CS0246: The type or namespace name `GBHL' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 2 error(s), 0 warnings

The first seems to be related to WinForms; maybe I don’t have it installed (?) or Mono’s support for it is not complete.

The second is related to GBHL, a dll that Lin made:

Lin wrote:

Q: What is GBHL.DLL?
A: A DLL I made to make my ROM hacking life a lot easier. You need it to run JohtoMap.

I don’t know if it’s open‐source, or how to “load” the DLL so it doesn’t give that error.

More to come, should I figure anything out.

#2 2012-07-08 05:18:26

Lin
Member
Registered: 2011-06-27
Post 7/12

Re: Compiling JohtoMap with Mono

I hate to bump this, but is it still an issue? I could recompile JohtoMap using Mono if you'd like.

Offline

#3 2012-07-08 06:21:50

480/703

Re: Compiling JohtoMap with Mono

That would be great, especially since I don’t know Mono.

Don’t feel bad about bumping when you have something valuable to say, either.

Board footer

Powered by FluxBB