View Single Post
  #1  
Old 01-11-2004, 05:43 AM
Tertiary
Hill Giant
 
Join Date: Nov 2003
Posts: 192
Default EQEmu DEV-C++ Howto (updated for 5.5DR1)

Here is a HOWTO to get EQEmu 5.3DR2 (01/01/2004 version) to compile
with Bloodshed Dev-C++ / mingw.

http://www.rama.demon.co.uk/EQEmu-Dev-C++.zip

Most of the changes were trivial. The two biggest headaches were:

1) Dev-C++ won't by default link against the mysql libraries

I have included instructions on how to create a libmysql.a

2) vsnprintf would SIGSEGV every time.

In the end I found a portable version of vsnprintf written in C
which I have included in the zip, and included in the HOWTO details
of where to put #ifdefs to use this version when compiling under Dev-C++.

I have also included .dev files for Emusharemem/world and zone (similar to VS .NET's .SLN fies).

I have only tested briefly under minilogin and it seems stable enough.

EDIT: The following added for 5.5DR1

The source tree for 5.5DR1 with Dev-C++ changes already made is available here:

www.rama.demon.co.uk/5.5DR1DevCPPSource.zip

I found out why vsnprintf wasn't working, so the 5.5DR1 zip no longer uses the 'portable vsnprintf', rather there are changes to allow the standard vsnprintf to work. As a result, any bugs (such as non-functioning #npcspawn add) relating to the use of the portable vsnprintf should be gone.
Reply With Quote