anyone know what is needed to compile monster plugin ?
ive tried vc++ 2005 + psdk and ive got this:
Code:
[small]
Creating command line "cl.exe @"c:\Documents and Settings\VoivoDian\Moje dokumenty\Visual Studio 2005\Projects\monster_plugin\dlls\Debug\RSP00000338241088.rsp" /nologo /errorReport:prompt"
Output Window
Compiling...
agrunt.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\engine\eiface.h(383) : warning C4005: 'ARRAYSIZE' : macro redefinition
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(950) : see previous definition of 'ARRAYSIZE'
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(82) : error C3867: 'CMSprite::AnimateUntilDead': function call missing argument list; use '&CMSprite::AnimateUntilDead' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(168) : error C3867: 'CMBaseEntity::SUB_Remove': function call missing argument list; use '&CMBaseEntity::SUB_Remove' to create a pointer to member
AI_BaseNPC_Schedule.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\engine\eiface.h(383) : warning C4005: 'ARRAYSIZE' : macro redefinition
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(950) : see previous definition of 'ARRAYSIZE'
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(82) : error C3867: 'CMSprite::AnimateUntilDead': function call missing argument list; use '&CMSprite::AnimateUntilDead' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(168) : error C3867: 'CMBaseEntity::SUB_Remove': function call missing argument list; use '&CMBaseEntity::SUB_Remove' to create a pointer to member
animating.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\engine\eiface.h(383) : warning C4005: 'ARRAYSIZE' : macro redefinition
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(950) : see previous definition of 'ARRAYSIZE'
animation.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\animation.cpp(166) : warning C4996: 'stricmp' was declared deprecated
c:\program files\microsoft visual studio 8\vc\include\string.h(213) : see declaration of 'stricmp'
Message: 'The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _stricmp. See online help for details.'
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\animation.cpp(331) : error C2065: 'i' : undeclared identifier
apache.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\engine\eiface.h(383) : warning C4005: 'ARRAYSIZE' : macro redefinition
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(950) : see previous definition of 'ARRAYSIZE'
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(82) : error C3867: 'CMSprite::AnimateUntilDead': function call missing argument list; use '&CMSprite::AnimateUntilDead' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(168) : error C3867: 'CMBaseEntity::SUB_Remove': function call missing argument list; use '&CMBaseEntity::SUB_Remove' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(56) : error C3867: 'CMApache::StartupUse': function call missing argument list; use '&CMApache::StartupUse' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(60) : error C3867: 'CMApache::HuntThink': function call missing argument list; use '&CMApache::HuntThink' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(61) : error C3867: 'CMApache::FlyTouch': function call missing argument list; use '&CMApache::FlyTouch' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(125) : error C3867: 'CMApache::HuntThink': function call missing argument list; use '&CMApache::HuntThink' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(126) : error C3867: 'CMApache::FlyTouch': function call missing argument list; use '&CMApache::FlyTouch' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(139) : error C3867: 'CMApache::DyingThink': function call missing argument list; use '&CMApache::DyingThink' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(140) : error C3867: 'CMApache::CrashTouch': function call missing argument list; use '&CMApache::CrashTouch' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(349) : error C3867: 'CMBaseEntity::SUB_Remove': function call missing argument list; use '&CMBaseEntity::SUB_Remove' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(902) : error C3867: 'CMApacheHVR::IgniteThink': function call missing argument list; use '&CMApacheHVR::IgniteThink' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(903) : error C3867: 'CMGrenade::ExplodeTouch': function call missing argument list; use '&CMGrenade::ExplodeTouch' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\apache.cpp(949) : error C3867: 'CMApacheHVR::AccelerateThink': function call missing argument list; use '&CMApacheHVR::AccelerateThink' to create a pointer to member
barney.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\engine\eiface.h(383) : warning C4005: 'ARRAYSIZE' : macro redefinition
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(950) : see previous definition of 'ARRAYSIZE'
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(82) : error C3867: 'CMSprite::AnimateUntilDead': function call missing argument list; use '&CMSprite::AnimateUntilDead' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(168) : error C3867: 'CMBaseEntity::SUB_Remove': function call missing argument list; use '&CMBaseEntity::SUB_Remove' to create a pointer to member
bigmomma.cpp
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\engine\eiface.h(383) : warning C4005: 'ARRAYSIZE' : macro redefinition
c:\program files\microsoft visual studio 8\vc\platformsdk\include\winnt.h(950) : see previous definition of 'ARRAYSIZE'
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(82) : error C3867: 'CMSprite::AnimateUntilDead': function call missing argument list; use '&CMSprite::AnimateUntilDead' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\effects.h(168) : error C3867: 'CMBaseEntity::SUB_Remove': function call missing argument list; use '&CMBaseEntity::SUB_Remove' to create a pointer to member
c:\documents and settings\voivodian\moje dokumenty\visual studio 2005\projects\monster_plugin\dlls\bigmomma.cpp(1144) : error C3867: 'CMBMortar::Animate': function call missing argument list; use '&CMBMortar::Animate' to create a pointer to member
bullsquid.cpp
...
[/small]
ive tried mingw ~ like in tutorial to compile podbot and got this:
Code:
VoivoDian@VOIVOD /d/work/compile/mingw/proj/monster_plugin/monster_plugin/dlls
$ gcc -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -m386 -O2 -w -I. -I../engine -I
../common -I../pm_shared -I../../metamod -c AI_BaseNPC_Schedule.cpp -o AI_BaseN
PC_Schedule.o
In file included from weapons.h:18,
from cmbasemonster.h:322,
from AI_BaseNPC_Schedule.cpp:22:
effects.h: In member function `void CMSprite::AnimateAndDie(float)':
effects.h:82: error: invalid static_cast from type `<unknown type>' to type `void (CMBaseEntity::*)()'
effects.h: In member function `void CMBeam::LiveForTime(float)':
effects.h:168: error: invalid static_cast from type `<unknown type>' to type `void (CMBaseEntity::*)()'
AI_BaseNPC_Schedule.cpp: At global scope:
AI_BaseNPC_Schedule.cpp:1392: sorry, unimplemented: inter-module optimisations not implemented yet
AI_BaseNPC_Schedule.cpp:1393:2: mtune=i386: No such file or directory
`-m386' is deprecated. Use `-march=i386' or `-mtune=i386' instead.
anyone ?