PDA

View Full Version : Compileing EmuShareMem.dll errors


Flame_storm
06-07-2004, 01:03 PM
Hello, thanks for reading, and please just post the answer if you know it, ive searched for this, but all the threads i found, 143 of emm, had different errors tho. Here is what i get, and sorry if i posted something that has already been posted, but i suck at finding things on the web.

Compiling...
NPCTypes.cpp
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.h( 16) : error C2065: 'CALLBACK_DBLoadNPCTypes' : undeclared identifier
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.h( 16) : error C2146: syntax error : missing ')' before identifier 'cbDBLoadNPCTypes'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.h( 16) : error C2059: syntax error : ')'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(29) : error C2146: syntax error : missing ')' before identifier 'cbDBLoadNPCTypes'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(29) : error C2059: syntax error : ')'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(29) : error C2143: syntax error : missing ';' before '{'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(29) : error C2447: missing function header (old-style formal list?)
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(61) : error C2146: syntax error : missing ')' before identifier 'cbDBLoadNPCTypes'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(61) : error C2086: 'pDLLLoadNPCTypes' : redefinition
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(61) : error C2059: syntax error : ')'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(61) : error C2143: syntax error : missing ';' before '{'
C:\EQemucompile\Sourcecode\EMuShareMem\NPCTypes.cp p(61) : error C2447: missing function header (old-style formal list?)
Error executing cl.exe.

EMuShareMem.dll - 12 error(s), 0 warning(s)

Please post any links/ answers you kno, thanks for reading this, and thank you for your time.

Flame_storm
06-07-2004, 01:05 PM
Oh, BTW, This is DR4. Maybe that will help a lil. Im running on VC++ 6.0, was able to compile Zones and World.exe with no problem, but those NPC types are a pain.

I got files from biosprite, lastest release, 5-29-04

masteryoda
06-07-2004, 01:09 PM
remove NPCTypes.cpp and .h from the source

masteryoda
06-07-2004, 01:10 PM
remove NPCTypes.cpp and .h from the source

Flame_storm
06-07-2004, 01:13 PM
How, lol. im new to sourceing, been like 5 hrs.

animepimp
06-07-2004, 03:18 PM
Are you using Visual Studio like the tutorial says? If so then open the project and in the project explorer thing right click those 2 files and click on remove from source.