• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

error when try to compile project in msvc from github

Diarreamental

Well-Known Member
Joined
Jul 6, 2015
Messages
453
Solutions
1
Reaction score
80
Hello I-m trying to compile a proyect in msvc cloned from github opened directly from github to msvc
i get this error im using msvc 2022 +tfs 1.5 downgraded by nekiro
Lua:
Severity    Code    Description    Project    File    Line    Suppression State
Error        CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Lua (missing: LUA_LIBRARIES LUA_INCLUDE_DIR)        C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake    230

Lua:
Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Users/diap/source/repos/tfs-1.x-8.0-graphics-7-4/out/build/x64-Debug/CMakeFiles/CMakeTmp

Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_1f475 && [1/2] Building C object CMakeFiles\cmTC_1f475.dir\CheckIncludeFile.c.obj

FAILED: CMakeFiles/cmTC_1f475.dir/CheckIncludeFile.c.obj

C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1433~1.316\bin\Hostx64\x64\cl.exe  /nologo   /DWIN32 /D_WINDOWS /W3  /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_1f475.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_1f475.dir\ /FS -c C:\Users\felip\source\repos\tfs-1.x-8.0-graphics-7-4\out\build\x64-Debug\CMakeFiles\CMakeTmp\CheckIncludeFile.c

C:\Users\diap\source\repos\tfs-1.x-8.0-graphics-7-4\out\build\x64-Debug\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
ninja: build stopped: subcommand failed.

please help
 
Last edited:
Back
Top