View Full Version : windows command line compiling?

06 June 2005, 09:05 PM
Hey. I've been trying to figure this out for awhile now. Some articles (case in point: ) have given instructions that involve compiling programs through a command prompt. I have visual studio .net 2003 (Academic) installed, but every time I try to compile through the command line, it won't recognize the 'cl' command.
Am I just completely missing something here? Do I have to do something more to be able to compile through the command line?

EDIT:...okay...I'm stupid...just completely missed that 'visual studio .net command prompt' tool...:banghead:

06 June 2005, 07:32 AM
You should set up environment variables:
add to PATH variable

add to INCLUDE variable

add to LIB variable

where %path_to_vc2003% is for example C:\Program Files\Microsoft Visual Studio .NET 2003

06 June 2005, 09:59 PM
Hey, nice tip. Wasn't even aware of the environment variables, but that seemed to get everything working just fine through the standard command prompt.

06 June 2005, 05:12 PM
There's always cygwin too. ;)

06 June 2005, 08:41 PM
There's always cygwin too.

lol. my friends tried to get me into linux once, but i was so used to windows, i kept on using cygwin. Eventually linux triumphed ... of course.

CGTalk Moderation
06 June 2005, 08:41 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.