Jump to content

dylanbab22

Inactive Member
  • Posts

    13
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by dylanbab22

  1. Hello, I have some errors when I compile the game (mainline) with Visual Studio 2013 :

    Erreur	1	error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall CryptoPP::InvalidRounds::InvalidRounds(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int)" (__imp_??0InvalidRounds@CryptoPP@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@I@Z)	C:\Users\Utilisateur\Desktop\Files by Daymortel\Src_server\Server\game\src\cryptlib.lib(tea.obj)	game
    Erreur	2	error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall CryptoPP::InvalidRounds::~InvalidRounds(void)" (__imp_??1InvalidRounds@CryptoPP@@UAE@XZ)	C:\Users\Utilisateur\Desktop\Files by Daymortel\Src_server\Server\game\src\cryptlib.lib(tea.obj)	game
    Erreur	3	error LNK2001: symbole externe non résolu "__declspec(dllimport) public: __thiscall CryptoPP::InvalidRounds::InvalidRounds(class CryptoPP::InvalidRounds const &)" (__imp_??0InvalidRounds@CryptoPP@@QAE@ABV01@@Z)	C:\Users\Utilisateur\Desktop\Files by Daymortel\Src_server\Server\game\src\cryptlib.lib(tea.obj)	game
    Erreur	4	error LNK1120: 3 externes non résolus	C:\Users\Utilisateur\Desktop\Files by Daymortel\Src_server\Server\game\game.exe	1	1	game

    Thanks for help

  2. Hello, I have an error with cmake

    The C compiler identification is MSVC 17.0.50727.1
    The CXX compiler identification is MSVC 17.0.50727.1
    Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe
    Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe -- works
    Detecting C compiler ABI info
    Detecting C compiler ABI info - done
    Detecting C compile features
    Detecting C compile features - done
    Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe
    Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe -- works
    Detecting CXX compiler ABI info
    Detecting CXX compiler ABI info - done
    Detecting CXX compile features
    Detecting CXX compile features - done
    CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
      The OLD behavior for policy CMP0005 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    CMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy):
      The OLD behavior for policy CMP0043 will be removed from a future version
      of CMake.
    
      The cmake-policies(7) manual explains that the OLD behaviors of all
      policies are deprecated and that a policy should be set to OLD only under
      specific short-term circumstances.  Projects should be ported to the NEW
      behavior and not rely on setting a policy to OLD.
    
    
    MSVC: Enabled large address awareness
    MSVC: Enabled SSE2 support
    MSVC: Disabled Safe Exception Handlers for debug builds
    MSVC: Overloaded standard names
    MSVC: Disabled NON-SECURE warnings
    MSVC: Disabled POSIX warnings
    CMake Warning (dev) at cmake/macros/ConfigureBoost.cmake:28 (find_package):
      Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables.
      Run "cmake --help-policy CMP0074" for policy details.  Use the cmake_policy
      command to set the policy and suppress this warning.
    
      Environment variable Boost_ROOT is set to:
    
        C:/Boost/include/boost-1_57
    
      For compatibility, CMake is ignoring the variable.
    Call Stack (most recent call first):
      CMakeLists.txt:66 (include)
    This warning is for project developers.  Use -Wno-dev to suppress it.
    
    CMake Error at cmake/macros/FindBoost.cmake:1115 (message):
      Unable to find the requested Boost libraries.
    
      Unable to find the Boost header files.  Please set BOOST_ROOT to the root
      directory containing Boost or BOOST_INCLUDEDIR to the directory containing
      Boost's headers.
    Call Stack (most recent call first):
      cmake/macros/ConfigureBoost.cmake:28 (find_package)
      CMakeLists.txt:66 (include)
    
    
    Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
    Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed
    
    * Install core to        : E:/Dylan/Documents/DevEmu/EnhanceMT/Server/Build
    
    * Libraries :
      - Boost include : Boost_INCLUDE_DIR-NOTFOUND
      - Boost library dir : 
      - CryptoPP : C:/cryptopp/include
      - MySQL : E:/Dylan/Documents/DevEmu/EnhanceMT/Server/src/shared/libmysql/6.0.2/win32
      - OpenSSL : C:/OpenSSL-Win32/include
    
    * Build Game server       : Yes (default)
    
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    Boost_INCLUDE_DIR (ADVANCED)
       used as include directory in directory E:/Dylan/Documents/DevEmu/EnhanceMT/Server/src/shared
       used as include directory in directory E:/Dylan/Documents/DevEmu/EnhanceMT/Server/src/db
       used as include directory in directory E:/Dylan/Documents/DevEmu/EnhanceMT/Server/src/libthecore
       used as include directory in directory E:/Dylan/Documents/DevEmu/EnhanceMT/Server/src/game
    CRYPTOPP_LIBRARY
        linked by target "game" in directory E:/Dylan/Documents/DevEmu/EnhanceMT/Server/src/game
    
    Configuring incomplete, errors occurred!
    See also "E:/Dylan/Documents/DevEmu/EnhanceMT/Server/build/CMakeFiles/CMakeOutput.log".
    See also "E:/Dylan/Documents/DevEmu/EnhanceMT/Server/build/CMakeFiles/CMakeError.log".

    Can you help me please ?

  3. Hi, when I try to compile the game of mainline, I have an error :

    compile @g++ -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG -mtune=i686 -fstack-protector-all -I../../../Extern/include -I../../libdevil -I../../libmysql -I../../../Extern/include -I../../libhackshield/include -I../../libxtrap/include -I../../liblua/include -I/usr/local/include -L/usr/local/lib/mysql -I../../libserverkey -c
    g++: @echo: No such file or directory
    g++: compile: No such file or directory
    g++: No input files specified
    gmake: *** [OBJDIR/version.o] Error 1

    Thanks for help and good day.

     

    Edit : Solved

  4. Le 23/02/2015 à 15:09, cosmin24hd a dit :

     

    1. Open PuTTY and log in as

    
    User: root
    Password dev

    2.

    
    Type cd /var/db

    3

    
    tar zxvf inscarnium_db.tar.gz

    After this follow the next steps =>

     

    1 Go to

    
    /etc/rc  (FileZilla)

    2

    
    Edit rc.conf and add last line
    mysql_args="--skip-grant-tables --skip-networking"

    3

    
    /usr/local/etc/rc.d/mysql-server restart

    4

    
     mysql -u root mysql

    5

    
    UPDATE user SET Password=PASSWORD('New Password') WHERE USER='root';

    6

    
    FLUSH PRIVILEGES;

    7

    
    exit;

    8

    
    Edit again rc. conf and delete the line
    mysql_args="--skip-grant-tables --skip-networking"

    8

    
    /usr/local/etc/rc.d/mysql-server restart

    9

    
    mysql_upgrade -p --force => the password you've set above
    

    10

    
    Login to MySQL with your password.

    I did as you said, but there is always the error on Navicat when I try to connect :

    1045 - Access denied for user 'root'@'192.168.1.34'(using password: YES)

    Can you help me please ?

    Le 23/02/2015 à 15:09, cosmin24hd a dit :

     

    1. Open PuTTY and log in as

    
    User: root
    Password dev

    2.

    
    Type cd /var/db

    3

    
    tar zxvf inscarnium_db.tar.gz

    After this follow the next steps =>

     

    1 Go to

    
    /etc/rc  (FileZilla)

    2

    
    Edit rc.conf and add last line
    mysql_args="--skip-grant-tables --skip-networking"

    3

    
    /usr/local/etc/rc.d/mysql-server restart

    4

    
     mysql -u root mysql

    5

    
    UPDATE user SET Password=PASSWORD('New Password') WHERE USER='root';

    6

    
    FLUSH PRIVILEGES;

    7

    
    exit;

    8

    
    Edit again rc. conf and delete the line
    mysql_args="--skip-grant-tables --skip-networking"

    8

    
    /usr/local/etc/rc.d/mysql-server restart

    9

    
    mysql_upgrade -p --force => the password you've set above
    

    10

    
    Login to MySQL with your password.

    I did as you said, but there is always the error on Navicat when I try to connect :

    1045 - Access denied for user 'root'@'192.168.1.34'(using password: YES)

    Can you help me please ?

    Le 23/02/2015 à 15:09, cosmin24hd a dit :

     

    1. Open PuTTY and log in as

    
    User: root
    Password dev

    2.

    
    Type cd /var/db

    3

    
    tar zxvf inscarnium_db.tar.gz

    After this follow the next steps =>

     

    1 Go to

    
    /etc/rc  (FileZilla)

    2

    
    Edit rc.conf and add last line
    mysql_args="--skip-grant-tables --skip-networking"

    3

    
    /usr/local/etc/rc.d/mysql-server restart

    4

    
     mysql -u root mysql

    5

    
    UPDATE user SET Password=PASSWORD('New Password') WHERE USER='root';

    6

    
    FLUSH PRIVILEGES;

    7

    
    exit;

    8

    
    Edit again rc. conf and delete the line
    mysql_args="--skip-grant-tables --skip-networking"

    8

    
    /usr/local/etc/rc.d/mysql-server restart

    9

    
    mysql_upgrade -p --force => the password you've set above
    

    10

    
    Login to MySQL with your password.

    I did as you said, but there is always the error on Navicat when I try to connect :

    1045 - Access denied for user 'root'@'192.168.1.34'(using password: YES)

    Can you help me please ?

    • Metin2 Dev 2
×
×
  • 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.