Jump to content

naczelnynieuk

Inactive Member
  • Posts

    19
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by naczelnynieuk

  1. Now i have something like this: 

     

     
    
    
    Compiling...
    StdAfx.cpp
    C:UsersMuchaDesktopdriect8DXFDXSDKincluded3d8.h(33) : fatal error C1083: Cannot open include file: 'objbase.h': No such file or directory
    Creating browse information file...
    Microsoft Browse Information Maintenance Utility Version 9.00.21022
    Copyright (C) Microsoft Corporation. All rights reserved.
    BSCMAKE: error BK1506 : cannot open file '.DebugInstanceBase.sbr': No such file or directory

     

  2. I download this header files, and now i have this problem : 

    Compiling...
    StdAfx.cpp
    C:Program FilesMicrosoft SDKsWindowsv6.0Aincludewinnt.h(236) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
    C:Program FilesMicrosoft SDKsWindowsv6.0Aincludewinnt.h(236) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    C:Program FilesMicrosoft SDKsWindowsv6.0Aincludewinnt.h(7818) : error C2146: syntax error : missing ';' before identifier 'Buffer'
    C:Program FilesMicrosoft SDKsWindowsv6.0Aincludewinnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    C:Program FilesMicrosoft SDKsWindowsv6.0Aincludewinnt.h(7818) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
    c:usersmuchadesktopclienteterbaselzo.h(5) : fatal error C1083: Cannot open include file: 'lzo-2.03/lzo1x.h': No such file or directory
    Creating browse information file...
    Microsoft Browse Information Maintenance Utility Version 9.00.21022
    Copyright (C) Microsoft Corporation. All rights reserved.
    BSCMAKE: error BK1506 : cannot open file '.DebugInstanceBase.sbr': No such file or directory
  3. Output Window
    
    Compiling...
    StdAfx.cpp
    c:usersmuchadesktopclientuserinterface../eterLib/StdAfx.h(23) : fatal error C1083: Cannot open include file: 'd3d8.h': No such file or directory
    Creating browse information file...
    Microsoft Browse Information Maintenance Utility Version 9.00.21022
    Copyright (C) Microsoft Corporation. All rights reserved.
    BSCMAKE: error BK1506 : cannot open file '.DebugInstanceBase.sbr': No such file or directory
  4. Ok with this i have another problem: 

    usr/bin/ld: cannot find -lmysqlclient

    MAKEFILE:

     

    MAKE = gmake
    CC = g++
    
    
    INCDIR =
    LIBDIR =
    BINDIR = ..
    OBJDIR = .obj
    
    
    GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3  | cut -d'.' -f1)
    BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
    P4_VERSION = 12345
    
    
    TARGET = $(BINDIR)/db_r$(P4_VERSION)
    
    
    CFLAGS = -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE
    
    
    ifeq ($(GCC_VERSION), 4)
    CFLAGS += -mtune=i686
    else
    CFLAGS += -mcpu=i686
    endif
    
    
    # boost
    INCDIR += -I../../boost
    
    
    LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib
    
    
    ifeq ($(BSD_VERSION), 7)
    INCDIR += -I../../libmysql/7.x-5.1.35
    LIBDIR += -L../../libmysql/7.x-5.1.35
    else
    INCDIR += -I../../libmysql/5.x-5.1.35
    LIBDIR += -L../../libmysql/5.x-5.1.35
    endif
    
    
    LIBS = -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz
    
    
    SRCS = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp 
    Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp 
    ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp 
    PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp 
    Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp 
    AuctionManager.cpp ProtoReader.cpp CsvReader.cpp 
    
    
    OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o)
    
    
    default: $(TARGET)
    
    
    $(TARGET): $(OBJS)
    @echo linking ...
    @$(CC) $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET)
    @touch version.cpp
    
    
    $(OBJDIR)/%.o: %.cpp
    @echo compile $<
    @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
    
    
    $(OBJDIR)/version.o: version.cpp
    @$(CC) $(CFLAGS) -D__USER__="$(USER)" -D__HOSTNAME__="$(HOSTNAME)" -D__PWD__="$(PWD)" -D__P4_VERSION__="$(P4_VERSION)" -c $< -o $@
    @echo compile $<
    
    
    $(OBJDIR):
    @mkdir $(OBJDIR)
    
    
    clean:
    @rm -f $(OBJS) $(BINDIR)/db_r*
    
    
    dep:
    @touch Depend
    makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null
    
    
    sinclude Depend
    

     

  5. Hello, i used fbsd machine by Terenzo, and i did all like Denis here : http://metin2dev.org/board/index.php/topic/140-compile-source-on-freebsd/

     

    and when i write : gmake -j20 fbds show communicate: 

    svn: not found

    and after compilation

     

     

    ERROR_LOG:

    ClientManagerPlayer.cpp: In member function 'char* CClientManager::GetCommand(char*)':
    ClientManagerPlayer.cpp:433: warning: address of local variable 'command' returned
    AuctionManager.cpp:719:7: warning: no newline at end of file
    CsvReader.cpp: In member function 'const char* cCsvAlias::operator[](size_t) const':
    CsvReader.cpp:72: warning: left-hand operand of comma has no effect
    CsvReader.cpp:72: warning: right-hand operand of comma has no effect
    CsvReader.cpp: In member function 'size_t cCsvAlias::operator[](const char*) const':
    CsvReader.cpp:90: warning: left-hand operand of comma has no effect
    CsvReader.cpp:90: warning: right-hand operand of comma has no effectDB_BUILD_LOGcompile Config.cpp
    compile NetBase.cpp
    compile Peer.cpp
    compile PeerBase.cpp
    compile Main.cpp
    compile Lock.cpp
    compile DBManager.cpp
    compile Cache.cpp
    compile LoginData.cpp
    compile ClientManager.cpp
    compile ClientManagerPlayer.cpp
    compile ClientManagerLogin.cpp
    compile ClientManagerBoot.cpp
    compile ClientManagerParty.cpp
    compile ClientManagerGuild.cpp
    compile GuildManager.cpp
    compile HB.cpp
    compile PrivManager.cpp
    compile MoneyLog.cpp
    compile ItemAwardManager.cpp
    compile ClientManagerEventFlag.cpp
    compile Marriage.cpp
    compile Monarch.cpp
    compile BlockCountry.cpp
    compile ItemIDRangeManager.cpp
    compile ClientManagerHorseName.cpp
    compile AuctionManager.cpp
    compile version.cpp
    compile ProtoReader.cpp
    compile CsvReader.cpp
    linking ..

     

    DB_BUILD_LOG:

    ompile Config.cpp
    compile NetBase.cpp
    compile Peer.cpp
    compile PeerBase.cpp
    compile Main.cpp
    compile Lock.cpp
    compile DBManager.cpp
    compile Cache.cpp
    compile LoginData.cpp
    compile ClientManager.cpp
    compile ClientManagerPlayer.cpp
    compile ClientManagerLogin.cpp
    compile ClientManagerBoot.cpp
    compile ClientManagerParty.cpp
    compile ClientManagerGuild.cpp
    compile GuildManager.cpp
    compile HB.cpp
    compile PrivManager.cpp
    compile MoneyLog.cpp
    compile ItemAwardManager.cpp
    compile ClientManagerEventFlag.cpp
    compile Marriage.cpp
    compile Monarch.cpp
    compile BlockCountry.cpp
    compile ItemIDRangeManager.cpp
    compile ClientManagerHorseName.cpp
    compile AuctionManager.cpp
    compile version.cpp
    compile ProtoReader.cpp
    compile CsvReader.cpp
    linking ...

    Can somebody help me ?

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.