Compiling Source Code

Started by
9 comments, last by drozen22 20 years, 6 months ago
I am wondering who wants answer some questions for me related to .net framework sdk and dsw workspace files. Basicly I am trying to teach myself how to compile source code from windows, without actually owning a copy of expensive visual stuio 7 .net. I am using free .net framework sdk wich has the same compiler as vs7 .net. I am also using a Visual Basic Script called VCMake.vbs that will open and compile DSW Workspace files since i have Cl.exe from the .net framework sdk. ( see I am a trying to be a legitimate coder here and not a nasty software pirate. ;D ) So here is what happens i run the script and get 90 compile errors that say "Hey dude where are all your include files at?" (more or less) and I was smart enough (or knowlagable) to include all my lovely Windows SDK include files from PATH using the Environmental Varriables option under MY Computer/Propertys/Advanced tab. So basicly why dosent it find the include files..? I am basicly telling it where to go. Also I tested a simple Frame that i made with ASP.net Web Matrix that has only 1 include file in it and it too is unable to find the include file even when using simple Cl.exe (the VS7 .net compiler)
Advertisement
quote:Original post by drozen22
I am using free .net framework sdk wich has the same compiler as vs7 .net.

No it doesn''t. the SDK includes only the C# compiler, not the C++ or VB compilers.

As regards your problem, perhaps you should just pass in the include directories as options to cl.exe.

How appropriate. You fight like a cow.
Sneftel - this has been brought up recently in another thread, and apparently it does include a C/C++ compiler.

drozen22 - you don''t want to use the PATH environment variable. I''m not sure of the specifics for that version of the compiler, but you''ll need to create INCLUDE and LIB environment variables (or something similar) and put the include and lib paths there. The SDK docs, or perhaps MSDN, should show you exactly what you need.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_.2f.i.asp

[ Games made by gamers'' minds | maxiInnovation - miniCan | mail: ChristianRoesch@gmx.de ]
[ Games made by gamers' minds | maxiInnovation - miniCan | mail: ChristianRoesch@gmx.de ]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_.2f.libpath.asp <- This one too.

--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
quote:Original post by drozen22
without actually owning a copy of
expensive visual stuio 7 .net.


You may not be aware of this, but an academic copy of VS.NET (if you''re a student), goes from between $100-150 US easily!

--ThanksSamFor the latest development news:<a href="http://www.samsmith.co.nz/UFO/index.html>UFO: X-Clone
I purchased a copy of visual studio.Net Standard Edition (which allows you to sell stuff you make with it) for £80 from amazon.co.uk, I''m not certain what that is in dollars, but if you convert it to dollars it will almost certainly cost you less than that. That''s about half the price of VC++ 6 Standard, and it does everything that it does (and is more standards compliant as well), and it''s only about the price of buying three games, so the next three times you''re going to buy a game, instead keep the moneys and buy Visual C++.net.
80 pounds is about 160 US dollars/ Euros...

[edited by - samsmithnz on October 8, 2003 6:36:21 PM]
--ThanksSamFor the latest development news:<a href="http://www.samsmith.co.nz/UFO/index.html>UFO: X-Clone
It''s actually closer to 120, I think...
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
quote:Original post by Promit
It''s actually closer to 120, I think...

To be more precise 80 GBP corresponds to 133,16 USD (as of today by today`s exchange rates) which is the amount I paid for my own copy of Visual C++ 6.0 some time ago. So I wouldn`t say it`s THAT expensive compared to price of whole PC.


VladR
Avenger 3D game

VladR My 3rd person action RPG on GreenLight: http://steamcommunity.com/sharedfiles/filedetails/?id=92951596

This topic is closed to new replies.

Advertisement