View Single Post
  #9  
Old 01-11-2004, 11:33 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

Very nice job! Should make quite a few people happy.
Dang! that makes an F#$%ing HUGE zone.exe!

First a note, I updated to mingw 3.3.1


In world\console.cpp
Code:
if defined(WIN32) && !defined(__MINGW32__)
is missing the # on the if

I had to add -D_GLIBCPP_USE_C99 -D_GLIBCPP_USE_C99_DYNAMIC to the dev files.

I got
Code:
Warning c:\SourceCode\EQEmu-0.5.3-DR1\world\Warning
.drectve `%.*s' unrecognized
when compiling world


For perl support:
c:\dev-cpp\bin\reimp -d c:\perl\lib\core\perl58.lib
c:\dev-cpp\bin\dlltool --input-def perl58.def --dllname perl58.dll --output-lib c:\dev-cpp\lib\perl58.a -k

and the beginning of zone_perl.dev
Code:
[Project]
FileName=Zone_perl.dev
Name=Zone_perl
Ver=1
IsCpp=1
Type=1
Compiler=-D__GNUWIN32__ -w -finline-functions -DCATCH_CRASH -D_WIN32_WINNT=0x0400 -DNDEBUG -DZONESERVER -DZONE -DINVERSEXY -DWIN32 -D_CONSOLE -D_MBCS -DFIELD_ITEMS -DEQDEBUG=0_@@_ -D_GLIBCPP_USE_C99 -D_GLIBCPP_USE_C99_DYNAMIC -DEMBPERL_PLUGIN -DEMBPERL_@@_
CppCompiler=-D__GNUWIN32__ -w -finline-functions -DCATCH_CRASH -D_WIN32_WINNT=0x0400 -DNDEBUG -DZONESERVER -DZONE -DINVERSEXY -DWIN32 -D_CONSOLE -D_MBCS -DFIELD_ITEMS -DEQDEBUG=0 -DSHAREMEM_@@_ -D_GLIBCPP_USE_C99 -D_GLIBCPP_USE_C99_DYNAMIC -DEMBPERL_PLUGIN -DEMBPERL_@@_
Includes=c:\mysql\include;c:\eqemu\zlib;c:\perl\lib\core
Linker=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lwsock32 -lzlib -lmysql_@@_ ../../../Dev-Cpp/lib/perl58.a_@@_
Libs=
UnitCount=121
Folders="Common Header Files","Common Source Files","Header Files","Source Files","Text Files"
ObjFiles=
PrivateResource=
ResourceIncludes=
MakeIncludes=
Icon=
ExeOutput=
ObjectOutput=
OverrideOutput=0
OverrideOutputName=Zone_perl.exe
I didn't do any testing besides compiling it.


FYI The changes didn't have an effect on compiling in MSVC++6
Not that they should have.
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote