000
25.12.2006, 19:11
Devil2308
|
Halli Hallo und frohe Weihnachten =)
Wie der Name schon sagt habe ich Probleme beim compilieren, genauer bei der client.dll
also wenn ich compilieren will dann klappt erstmal alles ganz gut bis er bei der ammo.cpp ankommt,dort spuckt er mir folgende Fehler aus:
"ammo.cpp:235:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:236:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:237:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:238:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:239:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:240:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:241:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:243:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:244:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:245:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:246:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:247:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:248:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:249:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:250:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:251:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:252:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:253:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:254:1: pasting "." and "m_Ammo" does not give a valid preprocessing token ammo.cpp:255:1: pasting "." and "m_Ammo" does not give a valid preprocessing token"
Ich habe das HL-SDK 2.2 von Botman und verwende den Bloodshed Dev-C++ 4.9.9.2 Compiler.
Ich hoffe ihr könnt damit was anfagen und mir helfen. Danke im Vorraus für eure Hilfe
Merry X-Mas
--
|
|
Profil || Suche
|
001
26.12.2006, 15:57
Adrian_Broher
Admin
|
was steht in der (den) entsprechenden zeilen?
kopier mal den inhalt der zeile
ammo.cpp:235 hier rein.
--
There is nothing wrong with high standards. It's your problem that you don't meet them. If you think it's simple, then you have misunderstood the problem. When a customer says "nothing has changed", assume they're lying.
|
|
Profil || Suche
|
002
26.12.2006, 16:06
Devil2308
|
Die entsprechenden Zeilen wären :
"DECLARE_MESSAGE(m_Ammo, CurWeapon); // Current weapon and clip DECLARE_MESSAGE(m_Ammo, WeaponList); // new weapon type DECLARE_MESSAGE(m_Ammo, AmmoX); // update known ammo type's count DECLARE_MESSAGE(m_Ammo, AmmoPickup); // flashes an ammo pickup record DECLARE_MESSAGE(m_Ammo, WeapPickup); // flashes a weapon pickup record DECLARE_MESSAGE(m_Ammo, HideWeapon); // hides the weapon, ammo, and crosshair displays temporarily DECLARE_MESSAGE(m_Ammo, ItemPickup);
DECLARE_COMMAND(m_Ammo, Slot1); DECLARE_COMMAND(m_Ammo, Slot2); DECLARE_COMMAND(m_Ammo, Slot3); DECLARE_COMMAND(m_Ammo, Slot4); DECLARE_COMMAND(m_Ammo, Slot5); DECLARE_COMMAND(m_Ammo, Slot6); DECLARE_COMMAND(m_Ammo, Slot7); DECLARE_COMMAND(m_Ammo, Slot8); DECLARE_COMMAND(m_Ammo, Slot9); DECLARE_COMMAND(m_Ammo, Slot10); DECLARE_COMMAND(m_Ammo, Close); DECLARE_COMMAND(m_Ammo, NextWeapon); DECLARE_COMMAND(m_Ammo, PrevWeapon);"
Schonmal Danke für die Antwort, ich hoffe du kannst mir weiterhelfen
--
|
|
Profil || Suche
|
003
26.12.2006, 17:05
Bluthund
|
evtl hilft dir das weiter: http://weblog.pell.portland.or.us/~orc/2004/12/30/000/index.html
(m_Ammo sollte ein #define sein)
--
The C language combines all the power of assembly language with all the ease-of-use of assembly language. "humorig is n blödwort :>" by -CarniGGeLjumpR-
|
|
Profil || Suche
|