• 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 Compiling Canary

nefinoo

Carnage.flv
Joined
Sep 11, 2010
Messages
549
Solutions
1
Reaction score
58
Location
Lo Mochis, Sinaloa
1> [CMake] 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):
1> [CMake] Could NOT find Protobuf (missing: Protobuf_LIBRARIES Protobuf_INCLUDE_DIR)
1> [CMake] Call Stack (most recent call first):
1> [CMake] C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
1> [CMake] C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.23/Modules/FindProtobuf.cmake:650 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
1> [CMake] C:/vcpkg/scripts/buildsystems/vcpkg.cmake:285 (_find_package)
1> [CMake] src/protobuf/CMakeLists.txt:6 (find_package)
1> [CMake] -- Configuring incomplete, errors occurred!
1> [CMake] See also "C:/Users/Nefi/OneDrive/Escritorio/canary/build/windows-release/CMakeFiles/CMakeOutput.log".
1> 'C:\Windows\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_TOOLCHAIN_FILE:FILEPATH="C:\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DOPTIONS_ENABLE_SCCACHE:STRING="ON" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\Nefi\OneDrive\Escritorio\canary" 2>&1"' execution failed with error: ''C:\Windows\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_TOOLCHAIN_FILE:FILEPATH="C:\vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" -DOPTIONS_ENABLE_SCCACHE:STRING="ON" -DCMAKE_MAKE_PROGRAM="C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\2022\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "C:\Users\Nefi\OneDrive\Escritorio\canary" 2>&1"' returned with exit code: 1'.
 
Go vcpkg folder and install protobuf?
vcpkg is 'great' library manager, often you got to remove it and install again to make it work.
i reinstall and update vcpkg, and then install protobuf and now get this error

CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:285 (_find_package):
1> [CMake] By not providing "Findspdlog.cmake" in CMAKE_MODULE_PATH this project has
1> [CMake] asked CMake to find a package configuration file provided by "spdlog", but
1> [CMake] CMake did not find one.
1> [CMake]
1> [CMake] Could not find a package configuration file provided by "spdlog" with any
1> [CMake] of the following names:
1> [CMake]
1> [CMake] spdlogConfig.cmake
1> [CMake] spdlog-config.cmake
1> [CMake]
1> [CMake] Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
1> [CMake] "spdlog_DIR" to a directory containing one of the above files. If "spdlog"
1> [CMake] provides a separate development package or SDK, be sure it has been
1> [CMake] installed.
Post automatically merged:

Fixxed the spdlog error, now i have this " Could NOT find GMP (missing: GMP_LIBRARIES GMP_INCLUDE_DIR)" and idk how install it
 
Last edited:
Back
Top