• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] TrinityCore 4.3.4 cmake issue

Status
Not open for further replies.

Ladrek

Enthusiast
am i doing something wrong here???


Code:
Determining if files pthread.h exist failed with the following output:
Change Dir: C:/Users/Meltonja/Desktop/build4.3.4/CMakeFiles/CMakeTmp

Run Build Command:C:\PROGRA~2\MSBuild\12.0\Bin\MSBuild.exe cmTryCompileExec1332604714.vcxproj /p:Configuration=Debug /p:VisualStudioVersion=12.0
Microsoft (R) Build Engine version 12.0.30723.0

[Microsoft .NET Framework, version 4.0.30319.18408]

Copyright (C) Microsoft Corporation. All rights reserved.



Build started 11/25/2014 11:19:29 AM.

Project "C:\Users\Meltonja\Desktop\build4.3.4\CMakeFiles\CMakeTmp\cmTryCompileExec1332604714.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTryCompileExec1332604714.dir\Debug\".

  Creating directory "C:\Users\Meltonja\Desktop\build4.3.4\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTryCompileExec1332604714.dir\Debug\cmTryCom.71A7120F.tlog\".

InitializeBuildStatus:

  Creating "cmTryCompileExec1332604714.dir\Debug\cmTryCom.71A7120F.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  D:\VB\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1332604714.dir\Debug\\" /Fd"cmTryCompileExec1332604714.dir\Debug\vc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /analyze- /errorReport:queue CheckIncludeFiles.c

  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30723 for x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

  

  cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec1332604714.dir\Debug\\" /Fd"cmTryCompileExec1332604714.dir\Debug\vc120.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /analyze- /errorReport:queue CheckIncludeFiles.c

  

  CheckIncludeFiles.c

CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\Meltonja\Desktop\build4.3.4\CMakeFiles\CMakeTmp\cmTryCompileExec1332604714.vcxproj]

Done Building Project "C:\Users\Meltonja\Desktop\build4.3.4\CMakeFiles\CMakeTmp\cmTryCompileExec1332604714.vcxproj" (default targets) -- FAILED.



Build FAILED.



"C:\Users\Meltonja\Desktop\build4.3.4\CMakeFiles\CMakeTmp\cmTryCompileExec1332604714.vcxproj" (default target) (1) ->

(ClCompile target) -> 

  CheckIncludeFiles.c(2): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\Meltonja\Desktop\build4.3.4\CMakeFiles\CMakeTmp\cmTryCompileExec1332604714.vcxproj]



    0 Warning(s)

    1 Error(s)



Time Elapsed 00:00:00.35


Source:
/* */
#include <pthread.h>


int main(){return 0;}
 

Tommy

Founder
I searched around and I did see two people with the same issues but they never really replied back so we could we an idea on what causes it. Are you doing this on Windows or Linux? Make sure you have boost setup properly and that you have other dependencies installed:

OpenSSL (32-bit)
boost X.X.X (32-bit) (Make sure the Environment Variables -> System Variables is setup with BOOST_ROOT)
MySQL 5.1+ (Recommended 5.6+) (32-bit)
Visual Studio 2013 (12.0)
Git 2.1.3+
CMake 3.1.0+ (32-bit)

Make sure you're selecting the correct compiler in CMake as well.
 
Status
Not open for further replies.
Top