Re: [hlcoders] Compiling Problems

2009-05-16 Thread Yaakov Smith
the source code somewhere and link it here. - Original Message - From: Yaakov Smith m4ngr...@gmail.com To: 'Discussion of Half-Life Programming' hlcoders@list.valvesoftware.com Sent: Friday, May 15, 2009 5:57 AM Subject: Re: [hlcoders] Compiling Problems I don't see where

Re: [hlcoders] Compiling Problems

2009-05-16 Thread Jonas 'Sortie' Termansen
, May 16, 2009 12:43 PM Subject: Re: [hlcoders] Compiling Problems The code is at http://forums.steampowered.com/forums/showthread.php?t=860217 On Fri, May 15, 2009 at 11:57 PM, Jonas 'Sortie' Termansen hlcod...@maxsi.dk wrote: Are you sure you are not declaring it from inside some macro

Re: [hlcoders] Compiling Problems

2009-05-15 Thread Jonas 'Sortie' Termansen
@list.valvesoftware.com Sent: Friday, May 15, 2009 5:57 AM Subject: Re: [hlcoders] Compiling Problems I don't see where. There is no reference to CLaserBolt in weapon_blaster apart from creating it, and the include. -Original Message- From: hlcoders-boun...@list.valvesoftware.com

[hlcoders] Compiling Problems

2009-05-14 Thread Yaakov Smith
I'm trying to create a starwars-style laser gun. I cloned the crossbow and crossbow bolt, but then I tried moving the cloned crossbow bolt to it's own .h/.cpp so I can use it for multiple weapons, and got: 1-- Build started: Project: Server SDK, Configuration: Release Win32 -- 2--

Re: [hlcoders] Compiling Problems

2009-05-14 Thread Jonas 'Sortie' Termansen
definitions of a few entities, and you'll see what I mean. - Original Message - From: Yaakov Smith m4ngr...@gmail.com To: 'Discussion of Half-Life Programming' hlcoders@list.valvesoftware.com Sent: Friday, May 15, 2009 2:33 AM Subject: [hlcoders] Compiling Problems I'm trying to create

Re: [hlcoders] Compiling Problems

2009-05-14 Thread Yaakov Smith
, 15 May 2009 10:42 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Compiling Problems Looks like you forgot to declare or implement the server class in your .h file class definition, and that you forgot to give some functions a body - if you declare them and call them, you must

Re: [hlcoders] Compiling Problems

2009-05-14 Thread Jonas 'Sortie' Termansen
networking in games). - Original Message - From: Yaakov Smith m4ngr...@gmail.com To: 'Discussion of Half-Life Programming' hlcoders@list.valvesoftware.com Sent: Friday, May 15, 2009 2:46 AM Subject: Re: [hlcoders] Compiling Problems I added it to the server project (silly me, I only had

Re: [hlcoders] Compiling Problems

2009-05-14 Thread Yaakov Smith
To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Compiling Problems Fixing the very first error often solves the following in the output. Try and learn to read it carefully. 2weapon_blaster.obj : error LNK2005: private: virtual int __thiscall C_LaserBolt

Re: [hlcoders] Compiling Problems

2009-05-14 Thread Jonas 'Sortie' Termansen
, May 15, 2009 3:30 AM Subject: Re: [hlcoders] Compiling Problems New problems now: 1-- Build started: Project: Server SDK, Configuration: Release Win32 -- 2-- Build started: Project: Client SDK, Configuration: Release Win32 -- 2Compiling... 1Compiling... 2LaserBolt.cpp

Re: [hlcoders] Compiling Problems

2009-05-14 Thread Yaakov Smith
2009 11:54 AM To: Discussion of Half-Life Programming Subject: Re: [hlcoders] Compiling Problems Again, you are defining the same stuff in the LaserBolt.cpp and weapon_blaster on the Server. You might be defining the same class twice. - Original Message - From: Yaakov Smith m4ngr