Getting first program to compile! HELP!

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
Grohl_
Posts: 2
Joined: Sun Aug 12, 2007 2:38 pm

Getting first program to compile! HELP!

Post by Grohl_ »

Hi,
I need to write a little C# code for a programming test and downloaded Zeus. I have a workspace, with a project and in the Source Files folder, I have created a file called 'prog1.cs'. Now how do I actually run it??

I know this is a silly, simple query but I'm really stuck.

When I click on 'Compile', I get the following error:

Debug: Command Line: C:\Windows\system32\cmd.exe /c csc.exe /debug /r:System.dll; "C:\Users\Nick\Documents\Programming\prog1.cs"
Debug: Started Process ID: 0x690

'csc.exe' is not recognized as an internal or external command,
operable program or batch file.

Please help!
Thanks, Nick :)
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Nick,

I created this topic describing how to configure the C# compiler: http://www.zeusedit.com/forum/viewtopic.php?t=1235

Cheers Jussi
Grohl_
Posts: 2
Joined: Sun Aug 12, 2007 2:38 pm

missing ...'Tools/vsvars32.bat'

Post by Grohl_ »

Thanks for pointing me to that forum. One problem though, my Visual Studio\Common7 folder has IDE and Packages, but no 'Tools' folder. Why would this be?? I'm suprised I even have the SDK folder in the first place.

I downloaded Zeus so I could quickly write some C# code but I can't seem to compile it easily. I ended up downloading some other MASSIVE program that included the SDK framework I think.

Err, help(?) please!
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Thanks for pointing me to that forum. One problem though, my Visual Studio\Common7 folder has IDE and Packages, but no 'Tools' folder. Why would this be??

Since you have a Common7 means you not running MSVC 2005.

The first thing you need to do is locate the MSVC environment batch file.

To do this use the Zeus Tools, DOS Command Line menu and type in the following command details:
Arguments: dir vs*.bat /s
Directory: d:\program files\
When you find the batch file, just change the instructions from the forum topic to match the location found and then run the test shown in the topic to see if it works.
I ended up downloading some other MASSIVE program that included the SDK framework I think.

You need the .NET framework to run C# programs and you need the .NET SDK to create C# programs. The .NET SDK is massive :!:

Cheers Jussi
Post Reply