Results 1 to 4 of 4

Thread: Attention anyone who has Linux and can compile something for me please?

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    New Zealand
    Posts
    45

    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

  2. #2
    denniswrenn
    Guest
    Makefiles are also generated by MSVC++.... Maybe you could post the code here so we could all take a look?

  3. #3

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    New Zealand
    Posts
    45

    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 *%

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
  •  



Click Here to Expand Forum to Full Width