Hi all,
http://www.everquestserver.com/forum...pic.php?t=9648
compiler = Dev-c++ build 4.9.8.5
I follow up all the HOWTO
There are 16 errors when I building EMuShareMem
Quote:
Compiler: Default compiler
Building Makefile: "K:\EQEMu\cvs\eqemu\NewSource\EMuShareMem\Makefile .win"
Executing make clean
rm -f DLLMain.o Doors.o Items.o Loot.o MMF.o MMFMutex.o NPCFactionLists.o NPCTypes.o Spells.o ../common/EMuShareMem.o ../common/timer.o ../common/debug.o ../common/Mutex.o EMuShareMem.exe
g++.exe -c DLLMain.cpp -o DLLMain.o -I"K:/mysql/include" -I"K:/EQEMu/zlib" -I"k:/Dev-Cpp/include/c++" -I"k:/Dev-Cpp/include/c++/mingw32" -I"k:/Dev-Cpp/include/c++/backward" -I"k:/Dev-Cpp/include" -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS
g++.exe -c Doors.cpp -o Doors.o -I"K:/mysql/include" -I"K:/EQEMu/zlib" -I"k:/Dev-Cpp/include/c++" -I"k:/Dev-Cpp/include/c++/mingw32" -I"k:/Dev-Cpp/include/c++/backward" -I"k:/Dev-Cpp/include" -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS
g++.exe -c Items.cpp -o Items.o -I"K:/mysql/include" -I"K:/EQEMu/zlib" -I"k:/Dev-Cpp/include/c++" -I"k:/Dev-Cpp/include/c++/mingw32" -I"k:/Dev-Cpp/include/c++/backward" -I"k:/Dev-Cpp/include" -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS
g++.exe -c Loot.cpp -o Loot.o -I"K:/mysql/include" -I"K:/EQEMu/zlib" -I"k:/Dev-Cpp/include/c++" -I"k:/Dev-Cpp/include/c++/mingw32" -I"k:/Dev-Cpp/include/c++/backward" -I"k:/Dev-Cpp/include" -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS
g++.exe -c MMF.cpp -o MMF.o -I"K:/mysql/include" -I"K:/EQEMu/zlib" -I"k:/Dev-Cpp/include/c++" -I"k:/Dev-Cpp/include/c++/mingw32" -I"k:/Dev-Cpp/include/c++/backward" -I"k:/Dev-Cpp/include" -D__GNUWIN32__ -w -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -D_USRDLL -DEMUSHAREMEM_EXPORTS
In file included from MMF.h:5,
from MMF.cpp:1:
../common/types.h:40:18: #error __int64 not supported
MMF.cpp: In member function `bool MMF::Open(const char*, unsigned int)':
MMF.cpp:153: `__try' undeclared (first use this function)
MMF.cpp:153: (Each undeclared identifier is reported only once for each
function it appears in.)
MMF.cpp:153: parse error before `{' token
MMF.cpp: At global scope:
MMF.cpp:251: syntax error before `{' token
MMF.cpp:259: ISO C++ forbids declaration of `Close' with no type
MMF.cpp:261: parse error before `return'
MMF.cpp:267: `hMutex' was not declared in this scope
MMF.cpp:267: ISO C++ forbids declaration of `CloseHandle' with no type
MMF.cpp:267: `int CloseHandle' redeclared as different kind of symbol
k:/Dev-Cpp/include/winbase.h:988: previous declaration of `BOOL
CloseHandle(void*)'
MMF.cpp:271: parse error before `return'
MMF.cpp: In member function `void MMF::Close()':
MMF.cpp:615: `CloseHandle' cannot be used as a function
make.exe: *** [MMF.o] Error 1
Execution terminated
|
/yell
Help me please
