Jump to content
TrinityCore

Apple

Members
  • Posts

    44
  • Joined

  • Last visited

Posts posted by Apple

  1. I gotta try to reinstall everything and make sure everything is 120% x64.

     

    EDIT: can it be that I have Visual Studio 2013 professional? Installation guide talks about express version

     

    DOUBLE EDIT: I deleted CMake 3.0, rebooted, installed CMake 2.8.12 and it found Boost this time. Might be that CMake 3.0 did not find my Visual Studio 2013 pro.

  2. Greetings

     

    I have been struggling with this boost thing for many many hours already. I can't seem to figure out what's wrong. I have Windows 7 x64 home prem.

     

    I have downloaded both 32-bit and 64x archs of Boost 1.55 and placed them into C:/local. I set user and system environments to point to right directions (BOOST_ROOT => C:localboost_1_55_0) (BOOST_INCLUDEDIR => C:localboost_1_55_0boost). But when I try to configure cmake (I have deleted cmake's  build directory hundreds of times) it throws an error:

    The C compiler identification is MSVC 18.0.21005.1
    The CXX compiler identification is MSVC 18.0.21005.1
    Check for working C compiler using: Visual Studio 12 2013 Win64
    Check for working C compiler using: Visual Studio 12 2013 Win64 -- works
    Detecting C compiler ABI info
    Detecting C compiler ABI info - done
    Check for working CXX compiler using: Visual Studio 12 2013 Win64
    Check for working CXX compiler using: Visual Studio 12 2013 Win64 -- works
    Detecting CXX compiler ABI info
    Detecting CXX compiler ABI info - done
    Detected 64-bit platform
    Using supplied MySQL sources
    MSVC: 64-bit platform, enforced -D_WIN64 parameter
    MSVC: Enabled extended object-support for debug-compiles
    MSVC: Overloaded standard names
    MSVC: Disabled NON-SECURE warnings
    MSVC: Disabled POSIX warnings
    MSVC: Disabled generic compiletime warnings
    Found OpenSSL library: optimized;C:/Program Files (x86)/CMake/OpenSSL-Win64/lib/VC/ssleay32MD.lib;C:/Program Files (x86)/CMake/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;C:/Program Files (x86)/CMake/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;C:/Program Files (x86)/CMake/OpenSSL-Win64/lib/VC/libeay32MDd.lib
    Found OpenSSL headers: C:/Program Files (x86)/CMake/OpenSSL-Win64/include
    Looking for include file pthread.h
    Looking for include file pthread.h - not found
    Found Threads: TRUE  
    CMake Error at cmake/macros/FindBoost.cmake:1113 (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:60 (include)
    

    Cmake's error log says:

    Determining if files pthread.h exist failed with the following output:
    Change Dir: D:/trinitycore/cmaked/CMakeFiles/CMakeTmp
    
    Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec648381242.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0"
    Microsoft (R) Build Engine version 12.0.21005.1
    
    [Microsoft .NET Framework, version 4.0.30319.18444]
    
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    
    
    Build started 28.8.2014 1:24:01.
    
    Project "D:trinitycorecmakedCMakeFilesCMakeTmpcmTryCompileExec648381242.vcxproj" on node 1 (default targets).
    
    PrepareForBuild:
    
      Creating directory "cmTryCompileExec648381242.dirDebug".
    
      Creating directory "D:trinitycorecmakedCMakeFilesCMakeTmpDebug".
    
      Creating directory "cmTryCompileExec648381242.dirDebugcmTryCom.53273A62.tlog".
    
    InitializeBuildStatus:
    
      Creating "cmTryCompileExec648381242.dirDebugcmTryCom.53273A62.tlogunsuccessfulbuild" because "AlwaysCreate" was specified.
    
    ClCompile:
    
      C:Program Files (x86)Microsoft Visual Studio 12.0VCbinx86_amd64CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec648381242.dirDebug" /Fd"cmTryCompileExec648381242.dirDebugvc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue CheckIncludeFiles.c
    
      Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x64
    
      Copyright (C) Microsoft Corporation.  All rights reserved.
    
      
    
      cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR="Debug"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec648381242.dirDebug" /Fd"cmTryCompileExec648381242.dirDebugvc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue CheckIncludeFiles.c
    
      CheckIncludeFiles.c
    
      
    
    CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:trinitycorecmakedCMakeFilesCMakeTmpcmTryCompileExec648381242.vcxproj]
    
    Done Building Project "D:trinitycorecmakedCMakeFilesCMakeTmpcmTryCompileExec648381242.vcxproj" (default targets) -- FAILED.
    
    
    
    Build FAILED.
    
    
    
    "D:trinitycorecmakedCMakeFilesCMakeTmpcmTryCompileExec648381242.vcxproj" (default target) (1) ->
    
    (ClCompile target) -> 
    
      CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:trinitycorecmakedCMakeFilesCMakeTmpcmTryCompileExec648381242.vcxproj]
    
    
    
        0 Warning(s)
    
        1 Error(s)
    
    
    
    Time Elapsed 00:00:00.28
    
    
    Source:
    /* */
    #include <pthread.h>
    
    
    int main(){return 0;}
    
    
    

    I have seriously struggled with this many hours and I can't figure out what the hell is wrong with it.

     

    Regards,

    Apple

     

  3. Okay I ''designed'' my quest_poi_points table to same which it is in the TrinityCore wiki.

    Now I get error:

    Loading Quest POI
    
    SQL: SELECT questId, id, x, y FROM quest_poi_points ORDER BY questId DESC, idx
    
    ERROR: [1054] Unknown column 'idx' in 'order clause'
    
    Unhandled MySQL errno 1054. Unexpected behaviour possible

    and then comes classic ''Worldserver has stopped to respond''.

  4. -- EDIT BY Aokromes --

    If you get "unknown column" "missing table" "Duplicate column" errors:

    use mysql --default-character-set=utf8 to avoid import failures because timeout/mysql gone away/etc

    1) Clone desired branch.

    2) Import sql/create/create_mysql.sql

    3) start core

    4) leave core to update databases.

    Our Wiki: http://collab.kpsn.org/display/tc/TrinityCore+Home

×
×
  • Create New...