I am unable to use the Mono compiler mcs.exe. I have placed the full path link to the Mono directory. I then moved that towards the beginning of the path statement. Zeus loads and works fine otherwise.
Missing something obvious!
DC
Using Zeus with Mono
Missing something obvious!
It does sound like something obvious

Here are a few things I would try.
(1) Turn on the Tool Debug Option
Use the Options, Editor Options menu and turn on the Debug tools, macros and executables option.
If you now run the compile it will show extra debug information and you can see that output using the Macros, Macro Debug Output menu.
(2) Test the PATH Using the Zeus Command Line
For me if I use the Tools, DOS Command Line menu and run this analagous C# command:
Code: Select all
csc.exe -?
Code: Select all
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.5420
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
Visual C# 2008 Compiler Options
- OUTPUT FILES -
/out:<file> Specify output file name (default: base name of file with main class or first file)
/target:exe Build a console executable (default) (Short form: /t:exe)
...
You can also see the PATH using the same Tools, DOS Command Line menu and running this command:
Code: Select all
set PATH
Use the Tools, DOS Shell menu to open a DOS shell. That shell will have the exact same PATH as Zeus.
Now try to run the msc.exe command in that shell and see what happens.
If you still can't get the compiler running just post some of the output produced above and I will see if there is something obvious in that output.
Cheers Jussi
This link shows how to setup Zeus to work with Mono: http://www.zeusedit.com/zforum/viewtopic.php?t=7195
Cheers Jussi
Cheers Jussi
Still having path problems
When compiling a GTK# sample program I get the following errors-
Using document type compiler options....
error CS2001: Source file `C:\Program' could not be found
error CS2001: Source file `Files' could not be found
error CS2001: Source file `(x86)\Mono-3.2.3\samples\gtk-sharp-2.0\GtkDemo\DemoApplicationWindow.cs' could not be found
Compilation failed: 3 error(s), 0 warnings
The compiler is breaking the path into tokens at the start.
Any thoughts?
Thanks,
Dan
Using document type compiler options....
error CS2001: Source file `C:\Program' could not be found
error CS2001: Source file `Files' could not be found
error CS2001: Source file `(x86)\Mono-3.2.3\samples\gtk-sharp-2.0\GtkDemo\DemoApplicationWindow.cs' could not be found
Compilation failed: 3 error(s), 0 warnings
The compiler is breaking the path into tokens at the start.
Any thoughts?
Thanks,
Dan
Any thoughts?
This is a common issue when it comes to the command line and long file names that contain whitespace and the fix is to always wrap these long file names inside quotes.
So in this case in the Mono Document Type the compiler command line will be something like this:
Code: Select all
mcs.bat $fn
Code: Select all
mcs.bat "$fn"