I will try to have a look to this repo. thx for that Arne. In fact I'm not the first trying to compile OB under Linux. I know that Sergi found a way to successfully compile and I know that other guys succeed this operation. I think my problem could be due to the fact I'm using gcc 3.4.2 (the version I used for ep1 engine). I will have to retry with gcc 4.2.2.
J. 2008/8/12 Arne Sikstrom <[EMAIL PROTECTED]> > 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 > > -- ------------------- [EMAIL PROTECTED] _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders