View Single Post
  #23  
Old 05-17-2020, 01:56 AM
indigo_hermit's Avatar
indigo_hermit
Fire Beetle
 
Join Date: Oct 2009
Location: TN, USA
Posts: 29
Default cmake error

I honestly dont know if this post is still active or not, but I thought I would try it regardless. I have been trying for the past month to compile my own server files, and I keep getting some errors in cmake, here is the log. Any help would be greatly appreciated.

Code:
Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
The C compiler identification is MSVC 19.25.28614.0
The CXX compiler identification is MSVC 19.25.28614.0
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x86/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x86/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/2019/Enterprise/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x86/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.25.28610/bin/Hostx64/x86/cl.exe - works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Resolving vcpkg dependencies...
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (Perl) does
  not match the name of the calling package (PerlLibs).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.17/Modules/FindPerl.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  C:/Program Files/CMake/share/cmake-3.17/Modules/FindPerlLibs.cmake:48 (include)
  vcpkg/vcpkg-export-x86/scripts/buildsystems/vcpkg.cmake:286 (_find_package)
  cmake/DependencyHelperMSVC.cmake:64 (FIND_PACKAGE)
  CMakeLists.txt:48 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

Found Perl: C:/Perl/bin/perl.exe (found version "5.12.3") 
Found PerlLibs: C:/Perl/lib/CORE/perl512.lib (found version "5.12.3") 
Found Boost: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/include (found version "1.72.0")  
Found MySQL: C:/Program Files/MariaDB 10.0/lib/libmysql.lib  
Found MariaDB: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/libmariadb.lib  
Found ZLIB: optimized;C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/zlib.lib;debug;C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/debug/lib/zlibd.lib (found version "1.2.11") 
Found OpenSSL: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/libcrypto.lib (found version "1.1.1d")  
Found Lua51: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/lua51.lib (found version "5.1.4") 
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (Perl) does
  not match the name of the calling package (PerlLibs).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.17/Modules/FindPerl.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  C:/Program Files/CMake/share/cmake-3.17/Modules/FindPerlLibs.cmake:48 (include)
  vcpkg/vcpkg-export-x86/scripts/buildsystems/vcpkg.cmake:286 (_find_package)
  CMakeLists.txt:58 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
  The package name passed to `find_package_handle_standard_args` (SODIUM)
  does not match the name of the calling package (Sodium).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSodium.cmake:29 (find_package_handle_standard_args)
  vcpkg/vcpkg-export-x86/scripts/buildsystems/vcpkg.cmake:286 (_find_package)
  CMakeLists.txt:59 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

Found SODIUM: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/libsodium.lib  
Found mbedTLS:
  version 2.16.3
  TLS: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/mbedtls.lib
  X509: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/mbedx509.lib
  Crypto: C:/Games/Source1/Server/vcpkg/vcpkg-export-x86/installed/x86-windows/lib/mbedcrypto.lib
**************************************************
* Library Detection                              *
**************************************************
* MySQL:                                   FOUND *
* MariaDB:                                 FOUND *
* ZLIB:                                    FOUND *
* Lua:                                     FOUND *
* Perl:                                    FOUND *
* libsodium:                               FOUND *
* OpenSSL:                                 FOUND *
* mbedTLS:                                 FOUND *
**************************************************

**************************************************
* Library Usage                                  *
**************************************************
* Database:                                MySQL *
* TLS:                                   OpenSSL *
* Sodium:                              Libsodium *
* Lua:                                   Lua 5.1 *
* Perl:                                     Perl *
* zlib:                                  zlib-ng *
**************************************************
CMake Error at CMakeLists.txt:348 (ADD_SUBDIRECTORY):
  The source directory

    C:/Games/Source1/Server/submodules/fmt

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:349 (ADD_SUBDIRECTORY):
  The source directory

    C:/Games/Source1/Server/submodules/libuv

  does not contain a CMakeLists.txt file.


ZLIB_HEADER_VERSION: 1.2.11
ZLIBNG_HEADER_VERSION: 1.9.9
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Looking for sys/sdt.h
Looking for sys/sdt.h - not found
Architecture: AMD64
Check size of off64_t
Check size of off64_t - failed
Check size of _off64_t
Check size of _off64_t - failed
Check size of __off64_t
Check size of __off64_t - failed
Looking for fseeko
Looking for fseeko - not found
Looking for strerror
Looking for strerror - found
Looking for unistd.h
Looking for unistd.h - not found
Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN
Performing Test HAVE_ATTRIBUTE_VISIBILITY_HIDDEN - Failed
Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL
Performing Test HAVE_ATTRIBUTE_VISIBILITY_INTERNAL - Failed
Performing Test HAVE_BUILTIN_CTZL
Performing Test HAVE_BUILTIN_CTZL - Failed
Performing Test HAVE_PTRDIFF_T
Performing Test HAVE_PTRDIFF_T - Success
Performing Test MFPU_NEON_AVAILABLE
Performing Test MFPU_NEON_AVAILABLE - Success
Architecture-specific source files: arch/x86/x86.c
CMake Error at CMakeLists.txt:360 (ADD_SUBDIRECTORY):
  The source directory

    C:/Games/Source1/Server/submodules/recastnavigation

  does not contain a CMakeLists.txt file.


Configuring incomplete, errors occurred!
See also "C:/Games/Source1/Server/build/CMakeFiles/CMakeOutput.log".
See also "C:/Games/Source1/Server/build/CMakeFiles/CMakeError.log".
Reply With Quote