|
-
Jul 1st, 2001, 10:58 PM
#1
Thread Starter
Member
Attention anyone who has Linux and can compile something for me please?
Hey, I have CygWin and it won't compile this C++ project i have. It must be Linux 'cos it's gotta Makefile
if there's anyone out there who can compile it for me, please post back -or-
MSN Messenger: [email protected]
AOL Messenger: DamnedMoose
ICQ Number: 118284507
Thanks~
P.S - it's the compiler im sure, cos i have a friend who compiled it under Redhat 7.1
P.P.S - yes, i do know how to use Unix so it wasnt my fault
-
Jul 2nd, 2001, 12:18 AM
#2
Makefiles are also generated by MSVC++.... Maybe you could post the code here so we could all take a look?
-
Jul 2nd, 2001, 09:45 PM
#3
Thread Starter
Member
The code for the Makefile?
Do you mean the Makefile code or the actual project??
The makefile:
OBJS = gserver.o levels.o npcs.o otherstuff.o pascalstrings.o convertedclasses.o passwords.o libz.a
LLFLAGS =
SLFLAGS = -lcrypt -lmysqlclient
CFLAGS=
CC = g++ $(CFLAGS) -g -DNEWWORLD -DSERVERSIDENPCS -I/usr/include/mysql/
LD = g++
.SUFFIXES: .cpp
.cpp.o:
$(CC) -c $<
all: gserver
gserver: $(OBJS)
$(LD) -o gservernw $(OBJS) $(LLFLAGS) $(SLFLAGS)
clean:
-rm *.o *%
-
Jul 3rd, 2001, 07:34 AM
#4
Monday Morning Lunatic
You need to change the MySQL library/header path.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|