Need help with compiling SDK

X

Xen0sis

Guest
Hey

Am working on a school project where I need to use sourceSDK. But I have some problems with getting startet.

The problem is that I don't have Studio C++ 2003 7.1, but I have access to Visual MS Studio Net Professional 2003,Microsoft Visual C++ 6.0 Standard Edition, MS Visual Studio 2005 Pro and Visual C++ 2005 Express Edition..

I've tryed compiling Game_sdk.sln with Visual Studio 2005 Pro, but am getting this:

------ Build started: Project: client, Configuration: Release HL2 Win32 ------
Compiling...
stdafx.cpp
c:\Test\src\Public\tier1/strtools.h(98) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\Test\src\Public\tier1/strtools.h(102) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\test\src\cl_dll\interpolatedvar.h(257) : warning C4346: 'CInterpolatedVarArrayBase<Type>::CVarHistory::IndexType_t' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\test\src\cl_dll\interpolatedvar.h(254) : see reference to class template instantiation 'CInterpolatedVarArrayBase<Type>::CInterpolationInfo' being compiled
c:\test\src\cl_dll\interpolatedvar.h(322) : see reference to class template instantiation 'CInterpolatedVarArrayBase<Type>' being compiled
c:\test\src\cl_dll\interpolatedvar.h(257) : error C2146: syntax error : missing ';' before identifier 'oldest'
c:\test\src\cl_dll\interpolatedvar.h(257) : warning C4517: access-declarations are deprecated; member using-declarations provide a better alternative
c:\test\src\cl_dll\interpolatedvar.h(257) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\test\src\cl_dll\interpolatedvar.h(258) : warning C4346: 'CInterpolatedVarArrayBase<Type>::CVarHistory::IndexType_t' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\test\src\cl_dll\interpolatedvar.h(258) : error C2146: syntax error : missing ';' before identifier 'older'
c:\test\src\cl_dll\interpolatedvar.h(258) : warning C4517: access-declarations are deprecated; member using-declarations provide a better alternative
c:\test\src\cl_dll\interpolatedvar.h(258) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\test\src\cl_dll\interpolatedvar.h(259) : warning C4346: 'CInterpolatedVarArrayBase<Type>::CVarHistory::IndexType_t' : dependent name is not a type
prefix with 'typename' to indicate a type
c:\test\src\cl_dll\interpolatedvar.h(259) : error C2146: syntax error : missing ';' before identifier 'newer'
c:\test\src\cl_dll\interpolatedvar.h(259) : warning C4517: access-declarations are deprecated; member using-declarations provide a better alternative
c:\test\src\cl_dll\interpolatedvar.h(259) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\test\src\public\compressed_vector.h(328) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\cl_dll___win32_hl2_release\AlphaMaterialProxy.sbr': No such file or directory
Build log was saved at "file://c:\Test\src\cl_dll\cl_dll___Win32_HL2_Release\BuildLog.htm"
client - 10 error(s), 6 warning(s)
------ Build started: Project: hl, Configuration: Release HL2 Win32 ------
Compiling...
stdafx.cpp
c:\Test\src\Public\tier1/strtools.h(98) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\Test\src\Public\tier1/strtools.h(102) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\test\src\public\compressed_vector.h(328) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\release_hl2\AI_Activity.sbr': No such file or directory
Build log was saved at "file://c:\Test\src\dlls\Release_hl2\BuildLog.htm"
hl - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

I've tryed a few fixes around the web, but without luck..

Please can anyone help me, so I can get startet on my school project..

Thanks..
 
it should compile fine in either Visual MS Studio Net Professional 2003 or Microsoft Visual C++ 6.0 Standard Edition
 
It would be nice if it also compiled (without problems) on MS Visual C++ 2005 Express (which can be downloaded for free).
 
eh check zapplin's thread i already told him what he can do to properly compile it, hope it works
 
Back
Top