RE: [hlcoders] Linux is the bane of my existence...
As well as LM 8.0+ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of botman Sent: Wednesday, March 13, 2002 4:51 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Linux is the bane of my existence... > -- > Doesn't RH 7.2 come with kgcc? If so, use that instead of gcc, since > it actually is egcs 1.1.2. Yes, RH 7.2 does come with kgcc. "kgcc -v" gives "gcc version 2.91.66, egcs-1.1.2". Just replace the "gcc" in the makefile with "kgcc" and it will be happy. Jeffrey "botman" Broome ___ 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
Re: [hlcoders] Linux is the bane of my existence...
> -- > Doesn't RH 7.2 come with kgcc? If so, use that instead of gcc, since it > actually is egcs 1.1.2. Yes, RH 7.2 does come with kgcc. "kgcc -v" gives "gcc version 2.91.66, egcs-1.1.2". Just replace the "gcc" in the makefile with "kgcc" and it will be happy. Jeffrey "botman" Broome ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Linux is the bane of my existence...
This is a multi-part message in MIME format. -- Doesn't RH 7.2 come with kgcc? If so, use that instead of gcc, since it actually is egcs 1.1.2. > -Original Message- > From: Dynerman David M [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 8:21 AM > To: [EMAIL PROTECTED] > Subject: RE: [hlcoders] Linux is the bane of my existence... > > > Or just install EGCS 1.2 and compile with that, it ignores these > mistakes. > > david > > -Original Message- > From: Commando [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 13, 2002 12:27 AM > To: [EMAIL PROTECTED] > Subject: Re: [hlcoders] Linux is the bane of my existence... > > You are using a newer version of gcc which is a bit stricter on > enforcing > the rules. SetThink(DoThink) should actually be > SetThink(&CGenericMonster::DoThink); If you are starting > from scratch, > then you should look at Botman's patches for the 2.2 SDK for Borland > that > he announced a couple of days ago. If not, then just modify every > instance > of SetThink, SetTouch, SetMoveDone and SetUse in the files in the dlls > directory like above. You don't need all of botman's changes because > several of them are just for Borland. There are a few more > minor errors > that you will encounter, but you can figure those out from the error > messages or looking what Botman did with those lines. It is a tedious > process, but only took me a couple of hours for our mod. > > Rob Prouse > Tour of Duty Mod > http://www.tourofdutymod.com > > > At 11:18 PM 12/03/2002 -0500, you wrote: > >I was able to compile it "no problem" under Redhat 6.x, but now that > >that installation tanked and I'm forced on to Redhat 7.2, I have > compile > >issues. Wish I knew the intricacies of Linux; took me an hour to get > >things like FTP or the HL Dedicated Server running... > > > > > >gcc -Dstricmp=strcasecmp -D_strnicmp=strncasecmp > -Dstrnicmp=strncasecmp > >-DVALVE_DLL -w -m486 -O2 -ffast-math -funroll-loops > -fomit-frame-pointer > >-fexpensive-optimizations -malign-loops=2 -malign-jumps=2 > >-malign-functions=2 -nostartfiles -fPIC -I. -I../engine -I../common > >-I../pm_shared -I../persistence -I../game_shared -o > obj/genericmonster.o > >-c genericmonster.cpp > > > >genericmonster.cpp: In method 'void CGenericMonster::Spawn ()' > >genericmonster.cpp:112: invalid static_cast from type > '{unknown type}' > >to type 'void (CBaseEntity::*)()' > > > >The line in question is "SetThink(DoThink);" > > > >Suggestions, anyone? -- [ winmail.dat of type application/ms-tnef deleted ] -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] Linux is the bane of my existence...
Or just install EGCS 1.2 and compile with that, it ignores these mistakes. david -Original Message- From: Commando [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 12:27 AM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Linux is the bane of my existence... You are using a newer version of gcc which is a bit stricter on enforcing the rules. SetThink(DoThink) should actually be SetThink(&CGenericMonster::DoThink); If you are starting from scratch, then you should look at Botman's patches for the 2.2 SDK for Borland that he announced a couple of days ago. If not, then just modify every instance of SetThink, SetTouch, SetMoveDone and SetUse in the files in the dlls directory like above. You don't need all of botman's changes because several of them are just for Borland. There are a few more minor errors that you will encounter, but you can figure those out from the error messages or looking what Botman did with those lines. It is a tedious process, but only took me a couple of hours for our mod. Rob Prouse Tour of Duty Mod http://www.tourofdutymod.com At 11:18 PM 12/03/2002 -0500, you wrote: >I was able to compile it "no problem" under Redhat 6.x, but now that >that installation tanked and I'm forced on to Redhat 7.2, I have compile >issues. Wish I knew the intricacies of Linux; took me an hour to get >things like FTP or the HL Dedicated Server running... > > >gcc -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp >-DVALVE_DLL -w -m486 -O2 -ffast-math -funroll-loops -fomit-frame-pointer >-fexpensive-optimizations -malign-loops=2 -malign-jumps=2 >-malign-functions=2 -nostartfiles -fPIC -I. -I../engine -I../common >-I../pm_shared -I../persistence -I../game_shared -o obj/genericmonster.o >-c genericmonster.cpp > >genericmonster.cpp: In method 'void CGenericMonster::Spawn ()' >genericmonster.cpp:112: invalid static_cast from type '{unknown type}' >to type 'void (CBaseEntity::*)()' > >The line in question is "SetThink(DoThink);" > >Suggestions, anyone? > >___ >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 ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] Linux is the bane of my existence...
You are using a newer version of gcc which is a bit stricter on enforcing the rules. SetThink(DoThink) should actually be SetThink(&CGenericMonster::DoThink); If you are starting from scratch, then you should look at Botman's patches for the 2.2 SDK for Borland that he announced a couple of days ago. If not, then just modify every instance of SetThink, SetTouch, SetMoveDone and SetUse in the files in the dlls directory like above. You don't need all of botman's changes because several of them are just for Borland. There are a few more minor errors that you will encounter, but you can figure those out from the error messages or looking what Botman did with those lines. It is a tedious process, but only took me a couple of hours for our mod. Rob Prouse Tour of Duty Mod http://www.tourofdutymod.com At 11:18 PM 12/03/2002 -0500, you wrote: >I was able to compile it "no problem" under Redhat 6.x, but now that >that installation tanked and I'm forced on to Redhat 7.2, I have compile >issues. Wish I knew the intricacies of Linux; took me an hour to get >things like FTP or the HL Dedicated Server running... > > >gcc -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp >-DVALVE_DLL -w -m486 -O2 -ffast-math -funroll-loops -fomit-frame-pointer >-fexpensive-optimizations -malign-loops=2 -malign-jumps=2 >-malign-functions=2 -nostartfiles -fPIC -I. -I../engine -I../common >-I../pm_shared -I../persistence -I../game_shared -o obj/genericmonster.o >-c genericmonster.cpp > >genericmonster.cpp: In method 'void CGenericMonster::Spawn ()' >genericmonster.cpp:112: invalid static_cast from type '{unknown type}' >to type 'void (CBaseEntity::*)()' > >The line in question is "SetThink(DoThink);" > >Suggestions, anyone? > >___ >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
Re: [hlcoders] Linux is the bane of my existence...
> I was able to compile it "no problem" under Redhat 6.x, but now that > that installation tanked and I'm forced on to Redhat 7.2, I have compile > issues. Wish I knew the intricacies of Linux; took me an hour to get > things like FTP or the HL Dedicated Server running... > > > gcc -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp > -DVALVE_DLL -w -m486 -O2 -ffast-math -funroll-loops -fomit-frame-pointer > -fexpensive-optimizations -malign-loops=2 -malign-jumps=2 > -malign-functions=2 -nostartfiles -fPIC -I. -I../engine -I../common > -I../pm_shared -I../persistence -I../game_shared -o obj/genericmonster.o > -c genericmonster.cpp > > genericmonster.cpp: In method 'void CGenericMonster::Spawn ()' > genericmonster.cpp:112: invalid static_cast from type '{unknown type}' > to type 'void (CBaseEntity::*)()' > > The line in question is "SetThink(DoThink);" > > Suggestions, anyone? A perl script to fix most of the problems, and instructions on how to fix the rest. ftp://ftp.edgegaming.com/edgegaming.com/swarm/DarthBobo/correctfp.pl Jeff "DarthBobo" Fearn ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders