Forum Thread
  Posts  
Compiler Needed! (Forums : Development Banter : Compiler Needed!) Locked
Thread Options
Jun 25 2005 Anchor

Hello, I have a mod source code complete that needs to be compiled for use in game, please i am desperate for help.
if anyone can help please email me at vlightinc@cybertown.com

thans

--

What were fighting for in the end, were fighting for each other...
~Col. Joshua L. Chamberlain 20th Maine, 1863

ShortCutMan
ShortCutMan ♥ Pure ♥ Bred ♥ Geek ♥
Jun 25 2005 Anchor

Have a look on the MSDN, there is a free version of Visual C++ on there that is command line.

--

98% of the internet population has a Myspace. If you're part of the 98% that is an emo bastard, copy and paste this into your sig.
User Posted Image

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Jun 25 2005 Anchor

or devcpp from bloodshed software, it's free and GUI

Mauvebib
Mauvebib Swallow My Pride
Jun 25 2005 Anchor

assuming it's in c++ of course...

--

Defeat in Detail 2 - Standalone RTS Game
Planetquake.com
Moddb.com

Dragonlord
Dragonlord Linux-Dragon of quick wit and sharp tongue
Jun 25 2005 Anchor

ImTheDarkcyde wrote: or devcpp from bloodshed software, it's free and GUI

with one problem though: you can't just link to libs like that... you need to trans-compile (or trans-hack) them over to dev-cpp which can be a pain.

Dragonlord
Dragonlord Linux-Dragon of quick wit and sharp tongue
Jun 25 2005 Anchor

ShortCutMan wrote: Have a look on the MSDN, there is a free version of Visual C++ on there that is command line.

which is one of the things i always googled for and never found... where's this miraculous vc++ compiler for free?

a_llama
a_llama Teh moddb llama
Jun 25 2005 Anchor

Microsoft.com
I think that may be what you are looking for.

Jun 25 2005 Anchor

I have that bur have no idea how to use it, i also have no idea which files go in the server.dll or the client.dll

--

What were fighting for in the end, were fighting for each other...
~Col. Joshua L. Chamberlain 20th Maine, 1863

Jun 25 2005 Anchor

HL2 sdk REQUIRES Visual Studio C++ .Net

Edited by (in order): Chunky, Chunky

Dragonlord
Dragonlord Linux-Dragon of quick wit and sharp tongue
Jun 25 2005 Anchor

hm... wait a moment... you link against delivered .dlls right? with dev-cpp and some tricks you can use arbitrary dll files and compile against them... for sure not a piece of cake to do but it should work.

Jun 25 2005 Anchor

I have the microsft visual studio beta 2 but when i try to compile the game_sdk i get all this....
------ Build started: Project: client_sdk, Configuration: Release HL2MP Win32 ------
Compiling...
stdafx.cpp
c:\andmod\src\Public\tier0/dbg.h(482) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(314) : see declaration of '_vsnprintf'
c:\andmod\src\Public\vstdlib/strtools.h(89) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(56) : see declaration of 'strcpy'
c:\andmod\src\Public\vstdlib/strtools.h(90) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\andmod\src\Public\vstdlib/strtools.h(93) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\andmod\src\Public\datamap.h(384) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(56) : see declaration of 'strcpy'
c:\andmod\src\Public\datamap.h(385) : warning C4996: 'strcat' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(59) : see declaration of 'strcat'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50215
Copyright © Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\Release HL2MP\AlphaMaterialProxy.sbr': No such file or directory
Build log was saved at "file://c:\andmod\src\cl_dll\Release HL2MP\BuildLog.htm"
client_sdk - 3 error(s), 4 warning(s)
------ Build started: Project: hl, Configuration: Release HL2MP Win32 ------
Compiling...
stdafx.cpp
c:\andmod\src\Public\tier0/dbg.h(482) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\stdio.h(314) : see declaration of '_vsnprintf'
c:\andmod\src\Public\vstdlib/strtools.h(89) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(56) : see declaration of 'strcpy'
c:\andmod\src\Public\vstdlib/strtools.h(90) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\andmod\src\Public\vstdlib/strtools.h(93) : error C2440: 'return' : cannot convert from 'const char *' to 'char *'
Conversion loses qualifiers
c:\andmod\src\Public\datamap.h(384) : warning C4996: 'strcpy' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(56) : see declaration of 'strcpy'
c:\andmod\src\Public\datamap.h(385) : warning C4996: 'strcat' was declared deprecated
C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(59) : see declaration of 'strcat'
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50215
Copyright © Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\release_hl2mp\AI_Activity.sbr': No such file or directory
Build log was saved at "file://c:\andmod\src\dlls\Release HL2MP\BuildLog.htm"
hl - 3 error(s), 4 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

any way to fix it so it'll compile?

--

What were fighting for in the end, were fighting for each other...
~Col. Joshua L. Chamberlain 20th Maine, 1863

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.