Compiling under VS2002: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (forgot to add category tags)
(Minor factual/typographical error: 'crs' folder changed to 'src'.)
Line 3: Line 3:
The project files are saved as VS2003 project files so you will need to edit the fallowing files in notepad.
The project files are saved as VS2003 project files so you will need to edit the fallowing files in notepad.


For the solution file <code>crs/Game_sdk.sln</code> change the first line from  ...
For the solution file <code>src/Game_sdk.sln</code> change the first line from  ...
<pre>
<pre>
Microsoft Visual Studio Solution File, Format Version 8.00
Microsoft Visual Studio Solution File, Format Version 8.00
Line 12: Line 12:
</pre>
</pre>


For the C++ project file <code>crs/cl_dll/client_sdk.vcproj</code> change the version on line 4 from  ...
For the C++ project file <code>src/cl_dll/client_sdk.vcproj</code> change the version on line 4 from  ...
<pre>
<pre>
Version="7.10"
Version="7.10"
Line 21: Line 21:
</pre>
</pre>


And finnaly for the C++ project file <code>crs/dlls/hl_sdk.vcproj</code> change the version on line 4 from  ...
And finnaly for the C++ project file <code>src/dlls/hl_sdk.vcproj</code> change the version on line 4 from  ...
<pre>
<pre>
Version="7.10"
Version="7.10"
Line 30: Line 30:
</pre>
</pre>


Then open the <code>crs/Game_sdk.sln</code> file in VS2002 and compile the solution. This process worked for me. --[[User:Createdbyx|Created by: X]] 17:57, 1 Sep 2005 (PDT)
Then open the <code>src/Game_sdk.sln</code> file in VS2002 and compile the solution. This process worked for me. --[[User:Createdbyx|Created by: X]] 17:57, 1 Sep 2005 (PDT)

Revision as of 03:22, 25 September 2005

I have tested out compiling under Visual Studio 2002 Pro and it works! Here is what you need to do...

The project files are saved as VS2003 project files so you will need to edit the fallowing files in notepad.

For the solution file src/Game_sdk.sln change the first line from ...

Microsoft Visual Studio Solution File, Format Version 8.00

... to ...

Microsoft Visual Studio Solution File, Format Version 7.00

For the C++ project file src/cl_dll/client_sdk.vcproj change the version on line 4 from ...

Version="7.10"

... to ...

Version="7.00"

And finnaly for the C++ project file src/dlls/hl_sdk.vcproj change the version on line 4 from ...

Version="7.10"

... to ...

Version="7.00"

Then open the src/Game_sdk.sln file in VS2002 and compile the solution. This process worked for me. --Created by: X 17:57, 1 Sep 2005 (PDT)