Jump to content
TrinityCore

Gib_adm

Plebs
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Gib_adm

  1. 13 hours ago, Aokromes said:

    if you don't have any custom thing i sugest you to drop world database, if you have custom things i recomend you to pull to tdb  335.19031, then  335.19041.... there are to much commits betweeen your db and head.

    Please tell me how to pull up the database  335.19031, then  335.19041 correctly ?

    I tried clean upload TDB_full_world_335.22101_2022_10_17.sql database but I get errors:

    >> The file '2018_02_28_02_world_335.sql' was applied to the database, but is missing in your update directory now!
    >> The file '2018_03_03_02_world_335.sql' was applied to the database, but is missing in your update directory now!
    >> The file '2021_04_02_02_world_335.sql' was applied to the database, but is missing in your update directory now!
    >> The file '2018_08_02_00_world_335.sql' was applied to the database, but is missing in your update directory now!
    >> The file '2018_03_03_03_world_335.sql' was applied to the database, but is missing in your update directory now!
    >> The file '2018_03_03_04_world_335.sql' was applied to the database, but is missing in your update directory now!
    >> The file '2018_03_03_05_world_335.sql' was applied to the database, but is missing in your update directory now!
    Cleanup is disabled! There were  3104 dirty files applied to your database, but they are now missing in your source directory!
    >> Applied 1 query. Containing 0 new and 6287 archived updates.
    In mysql_stmt_prepare() id: 20, sql: "UPDATE creature SET spawndist = ?, MovementType = ? WHERE guid = ?"
    Unknown column 'spawndist' in 'field list'
    In mysql_stmt_prepare() id: 62, sql: "INSERT INTO creature (guid, id , map, spawnMask, phaseMask, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType, npcflag, unit_flags, dynamicflags) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
    Unknown column 'spawndist' in 'field list'
    Could not prepare statements of the World database, see log for details.

     

  2. 4 hours ago, Aokromes said:

    remove 

    
    	  clang: warning: optimization flag '-fno-strength-reduce' is not supported
    	  clang: warning: optimization flag '-frename-registers' is not supported
    	  error: unknown target CPU 'nocona-m64'
    

    from your cmake line.

    Thanks,Aokromes.

    How then to specify the processor model?

    I'm facing another problem:

    trinity@trinity-dev:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/trinity/server -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DDO_DEBUG=0 -DDO_SCRIPTS=true -DCMAKE_DFD_SETSIZE=4096 -DLARGE_CELL=0 -DSHORT_SLEEP=1 -DCMAKE_C_FLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing" -DCMAKE_CXX_FLAGS="${CMAKE_C_FLAGS}" -DBOOST_LIBRARYDIR=/usr/lib/x86_64-linux-gnu
    -- Detected 64-bit platform
    -- UNIX: Using default configuration directory
    -- UNIX: Using default library directory
    -- UNIX: Configuring uninstall target
    -- UNIX: Created uninstall target
    -- UNIX: Detected compiler: /usr/bin/cc
    -- cotire 1.7.10 loaded.
    -- Using mysql-config: /usr/bin/mysql_config
    -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmariadbclient.so
    -- Found MySQL headers: /usr/include/mysql
    -- Found MySQL executable: /usr/bin/mysql
    -- Found git binary : /usr/bin/git
    
    * TrinityCore revision   : 3753ec56476d 2018-02-22 02:37:00 -0300 (3.3.5 branch)
    * TrinityCore buildtype  : RelWithDebInfo
    
    * Install core to        : /usr/local
    * Install libraries to   : /usr/local/lib
    * Install configs to     : /usr/local/etc
    
    * Build world/auth       : Yes (default)
    * Build with scripts     : Yes (static)
    * Build map/vmap tools   : Yes (default)
    * Build core w/PCH       : Yes (default)
    * Build scripts w/PCH    : Yes (default)
    * Show compile-warnings  : No  (default)
    * Use coreside debug     : No  (default)
    * Show source tree       : Yes (hierarchical)
    * Use GIT revision hash  : Yes (default)
    
    -- Boost version: 1.62.0
    -- Found the following Boost libraries:
    --   system
    --   filesystem
    --   thread
    --   program_options
    --   iostreams
    --   regex
    CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
      Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.8")
    Call Stack (most recent call first):
      /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      /usr/share/cmake-3.7/Modules/FindZLIB.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
      dep/zlib/CMakeLists.txt:13 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeOutput.log".
    See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeError.log".
    

     

    How to select the default path to libraries?

    WARNINGS:

    	WARNING: Target "vmap4assembler" requests linking to directory "/usr/lib/x86_64-linux-gnu".  Targets may link only to libraries.  CMake is dropping the item.
    CMake Error in src/tools/vmap4_extractor/CMakeLists.txt:
      No known features for CXX compiler
    	  ""
    	  version .
    	
    WARNING: Target "vmap4extractor" requests linking to directory "/usr/lib/x86_64-linux-gnu".  Targets may link only to libraries.  CMake is dropping the item.
    CMake Error in src/tools/mmaps_generator/CMakeLists.txt:
      No known features for CXX compiler
    	  ""
    	  version .
    	
    WARNING: Target "mmaps_generator" requests linking to directory "/usr/lib/x86_64-linux-gnu".  Targets may link only to libraries.  CMake is dropping the item.
    	 
    	

  3. Hi, please help

    OS Debian 9 x64

    gcc 6.3.0-4

    clang 3.8-36

    cmake 3.7.2-1

    Cmake options :

    	trinity@trinity-dev:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/trinity/server -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DDO_DEBUG=0 -DDO_SCRIPTS=true -DCMAKE_DFD_SETSIZE=4096 -DLARGE_CELL=0 -DSHORT_SLEEP=1 -DCMAKE_C_FLAGS="-march=nocona-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strength-reduce -fno-strict-aliasing -frename-registers" -DCMAKE_CXX_FLAGS="${CMAKE_C_FLAGS}"
    	

    Errors:

    	-- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- broken
    CMake Error at /usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message):
      The C compiler "/usr/bin/cc" is not able to compile a simple test program.
    	  It fails with the following output:
    	   Change Dir: /home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp
    	 
    	  Run Build Command:"/usr/bin/make" "cmTC_b3567/fast"
    	  /usr/bin/make -f CMakeFiles/cmTC_b3567.dir/build.make
      CMakeFiles/cmTC_b3567.dir/build
    	  make[1]: вход в каталог
      «/home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp»
    	  Building C object CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o
    	  /usr/bin/cc -march=nocona-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
      -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math
      -fno-strength-reduce -fno-strict-aliasing -frename-registers -o
      CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o -c
      /home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp/testCCompiler.c
    	  clang: warning: optimization flag '-fno-strength-reduce' is not supported
    	  clang: warning: optimization flag '-frename-registers' is not supported
    	  error: unknown target CPU 'nocona-m64'
    	  CMakeFiles/cmTC_b3567.dir/build.make:65: ошибка выполнения
      рецепта для цели
      «CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o»
    	  make[1]: *** [CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o] Ошибка 1
    	  make[1]: выход из каталога
      «/home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp»
    	  Makefile:126: ошибка выполнения рецепта для
      цели «cmTC_b3567/fast»
    	  make: *** [cmTC_b3567/fast] Ошибка 2
    	 
    	  CMake will not be able to correctly generate this project.
    Call Stack (most recent call first):
      CMakeLists.txt:19 (project)
    	
    -- Configuring incomplete, errors occurred!
    See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeOutput.log".
    See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeError.log".
    	

     

×
×
  • Create New...