Go Back   EQEmulator Home > EQEmulator Forums > Archives > OpenEQ > OpenEQ::Development

OpenEQ::Development Development discussion for OpenEQ. Do not post for support.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 12-16-2004, 01:44 PM
MOG
Fire Beetle
 
Join Date: Dec 2004
Posts: 16
Default

I found it necessary to edit the makefile slightly as references to libs were incorrect for windows. In particular,

LINKOPTS=-lz -lopengl32 -lglu32 -lSDL -LSDL

But that wasn't enough to get it to compile.

Code:
$ make
g++  -g  src/pfs.o src/ter.o src/draw.o src/ddslib.o src/move.o src/matrix.o src/zon.o src/file.o src/octree.o src/frustum.o src/main.o -lz -lopengl32 -lglu32 -lSDL -LSDL  -o openeq
src/pfs.o(.text+0x252): In function `ZN9PFSLoader4OpenEP6_iobuf':
/openeq/src/pfs.cpp:74: undefined reference to `ntohl'
c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2.3/../../../libmingw32.a(main.o)(.text+0x97):main.c: undefined reference to `WinMain@16'
make: *** [openeq] Error 1
By the way, I have noticed I posted this out of the support area by mistake, feel free to transfer the topic to where it is allowed. I apologise for the oversight.


MOG
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:26 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3