Quote:
Originally Posted by lerxst2112
Without you telling us what errors you're seeing we'd be guessing at any problems you might have. My advice is go back and double check all of the settings first, try and compile, and if you still have trouble post the actual errors you are getting.
|
Ok, this was just for EMuShareMem, the others had many fun returns as well.
--- Edit - Perhaps its because I am using DEV-CPP version of unistd.h? It aparently doesnt come stock with any of the referenced files from the guide. Its acting as if its not native to my system with the files needed that I downloaded from the guide too :( ---
1>------ Build started: Project: EMuShareMem, Configuration: Release Win32 ------
1>Embedding manifest...
1>Project : error PRJ0003 : Error spawning 'mt.exe'.
1>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\EMu ShareMem\Release\BuildLog.htm"
1>EMuShareMem - 1 error(s), 0 warning(s)
2>------ Build started: Project: World, Configuration: Release Win32 ------
2>Compiling...
2>packet_functions.cpp
2>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
2>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>misc.cpp
2>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
2>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>client.cpp
2>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
2>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
2>Generating Code...
2>Creating browse information file...
2>Microsoft Browse Information Maintenance Utility Version 9.00.30729
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\Wor ld\Release\BuildLog.htm"
2>World - 6 error(s), 0 warning(s)
3>------ Build started: Project: Zone, Configuration: Release Win32 ------
3>Compiling...
3>packet_functions.cpp
3>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
3>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>misc.cpp
3>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
3>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>client_process.cpp
3>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
3>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>client_packet.cpp
3>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
3>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
3>Generating Code...
3>Creating browse information file...
3>Microsoft Browse Information Maintenance Utility Version 9.00.30729
3>Copyright (C) Microsoft Corporation. All rights reserved.
3>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\Zon e\Release\BuildLog.htm"
3>Zone - 8 error(s), 0 warning(s)
4>------ Build started: Project: eqlaunch, Configuration: Release Win32 ------
4>Compiling...
4>packet_functions.cpp
4>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
4>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
4>misc.cpp
4>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
4>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
4>Generating Code...
4>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\eql aunch\Release\BuildLog.htm"
4>eqlaunch - 4 error(s), 0 warning(s)
5>------ Build started: Project: ucs, Configuration: Release Win32 ------
5>Compiling...
5>packet_functions.cpp
5>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
5>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>misc.cpp
5>C:\Dev-Cpp\include\unistd.h(24) : error C2144: syntax error : 'int' should be preceded by ';'
5>C:\Dev-Cpp\include\unistd.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
5>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\ucs \Release\BuildLog.htm"
5>ucs - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========
ok,i edited unistd.h. it DID show this:
int ftruncate(int, off_t);
__CRT_INLINE int ftruncate(int __fd, off_t __length)
So i took out the space to...:
(int__fd,...)
and that error didnt come up, but i got:
1>------ Rebuild All started: Project: EMuShareMem, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'EMuShareMem', configuration 'Release|Win32'
1>Compiling...
1>timer.cpp
1>SharedLibrary.cpp
1>Mutex.cpp
1>debug.cpp
1>Spells.cpp
1>SkillCaps.cpp
1>Opcodes.cpp
1>NPCTypes.cpp
1>NPCFactionLists.cpp
1>MMF.cpp
1>.\MMF.cpp(325) : warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling
1>Loot.cpp
1>Items.cpp
1>Doors.cpp
1>DLLMain.cpp
1>Generating Code...
1>Linking...
1> Creating library .\../Build/EMuShareMem/EMuShareMem.lib and object .\../Build/EMuShareMem/EMuShareMem.exp
1>Embedding manifest...
1>Project : error PRJ0003 : Error spawning 'mt.exe'.
1>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\EMu ShareMem\Release\BuildLog.htm"
1>EMuShareMem - 1 error(s), 1 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
--- Yet, another EDIT - OK! I found mt.exe in the microsoft SDK Files, which was NOT referenced in the Executable Files section in my config. Behold:
1>------ Rebuild All started: Project: EMuShareMem, Configuration: Release Win32 ------
1>Deleting intermediate and output files for project 'EMuShareMem', configuration 'Release|Win32'
1>Compiling...
1>timer.cpp
1>SharedLibrary.cpp
1>Mutex.cpp
1>debug.cpp
1>Spells.cpp
1>SkillCaps.cpp
1>Opcodes.cpp
1>NPCTypes.cpp
1>NPCFactionLists.cpp
1>MMF.cpp
1>.\MMF.cpp(325) : warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling
1>Loot.cpp
1>Items.cpp
1>Doors.cpp
1>DLLMain.cpp
1>Generating Code...
1>Linking...
1> Creating library .\../Build/EMuShareMem/EMuShareMem.lib and object .\../Build/EMuShareMem/EMuShareMem.exp
1>Embedding manifest...
1>Build log was saved at "file://c:\EQEMUSVNFILES\EQemu\trunk\EQEmuServer\Build\EMu ShareMem\Release\BuildLog.htm"
1>EMuShareMem - 0 error(s), 1 warning(s)
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Lets hope I can get this ball rolling. Hopefully this process gives others insight if they have similar problems!