I used the code from Allied Modders to get pass the Linux compiler errors.
Check this repo:
http://svn.alliedmods.net/viewvc.cgi/hl2sdk-ob/?root=sourcemm


On Mon, Aug 11, 2008 at 11:01 PM, Janek <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I got fix from Sergi to compile my HL2MP OB SDK mod but I have 2 compiling
> problem that I don't know how to fix:
>
> 1) achievements_hlx.cpp
> It seems that there is a problem with macro DECLARE_ACHIEVEMENT as in line
> 48, 75, 103 (each time I have a DECLARE_ACHIEVEMENT). Compiler is saying
> (it
> is in french I try a trasnlation here) : "Concatenating of «
> Create_CAchievementHLXKillWithPhysicsObjects » and « ( » does not give a
> valid preprocess lexical element"
>
> 2) npc_talker.cpp
> I have this error
> In file included from ../game/server/npc_talker.cpp:10:
> ../game/server/ai_component.h: In constructor
> `CAI_ComponentWithOuter<NPC_CLASS,
> BASE_COMPONENT>::CAI_ComponentWithOuter(NPC_CLASS*) [with NPC_CLASS =
> CNPCSimpleTalker, BASE_COMPONENT = CAI_Expresser]':
> ../game/server/npc_talker.h:70:   instantiated from here
> ../game/server/ai_component.h:152: error: no function to call «
> CAI_Expresser::CAI_Expresser(CNPCSimpleTalker*&) »
> ../game/server/ai_speech.h:145: note: candidates are:
> CAI_Expresser::CAI_Expresser(const CAI_Expresser&)
> ../game/server/ai_speech.h:147: note:
> CAI_Expresser::CAI_Expresser(CBaseFlex*)
>
> It is with fresh SDK. Does any of view face the same problems ? How did you
> fix them ?
>
> Thank you in advance for your help.
>
> --
> -------------------
> [EMAIL PROTECTED]
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to