Cmake error in configuration process



Cmake error in configuration process

Модератор форума: Dimitro
Форум » TrinityCore » Установка / Настройка TrinityCore » Исправление Cmake ошибок (все у кого возникли со cmak`om ошибки пишем в эту тему)

Доброе время суток. Начал компилировать ядро и возникли в cmake ошибки в поисках ответов и решениях долго блуждая по всемирной паутины я не нашел что нужно.. поэтому предлагаю создать список ошибок и их решение для новичков. Добавлю и свои ошибки.

200?’200px’:»+(this.scrollHeight+5)+’px’);»>

  • Ошибка
    CMake Error at cmake/macros/FindGit.cmake:24 (message):

Git was NOT FOUND on your system — did you forget to install a recent version, or setting the path to it?
Observe that for revision hash/date to work you need at least version 1.7
Call Stack (most recent call first):
CMakeLists.txt:65 (find_package)

  • Исправление
  • Удаляем Cmake/Git(чистим реестр)
  • Ставим Git по ссылке = Git last stabl version
    При установке ставим 2 галочку смотрим скрин.
  • Ставим Cmake по ссылке = Cmake 2.8.10.2
    взято с trinitycore.org
  • 200?’200px’:»+(this.scrollHeight+5)+’px’);»>

    • Ошибка

  • Исправление
  • Автор
  • И так, начнем решение этой проблемы. Для начала поставим галочки на «Grouped» и «Advanced».
    Выглядит это так:
  • Откроем каталоги LIB,OPENSSL и SSL. Видим вот такую картину:
  • Теперь,в местах, где есть NOTFOUND (не найдено) — нужно прописать пути в нужные библиотеки, для каждой нужны свои библиотеки:
    Для вкладки LIB — это файлы libeay32MDd.lib и libeay32MD.lib, которые можно найти в Папке с установленным OpenSSL-> Lib -> VC.
    Для вкладки OpenSSL(OPENSSL_INCLUDE) — это директория OpenSSL -> Include, а для OPENSSL_ROOT)-это корневая директория OpenSSL.
    Для вкладки SSL — это файлы ssleay32MDd.lib и ssleay32MD.lib, которые можно найти в Папке с установленным OpenSSL-> Lib -> VC.
  • 1й вариант-Библиотеки OpenSSL скачиваем тут, клик
  • 2й вариант-Библиотеки OpenSSL скачиваем тут, клик

  • В итоге получаем что-то в таком духе:
  • 200?’200px’:»+(this.scrollHeight+5)+’px’);»>

    • Ошибка
      CMake Error at cmake/macros/ConfigureBoost.cmake:17 (message):
      No BOOST_ROOT environment variable could be found! Please make sure it is
      set and the points to your Boost installation.
      Call Stack (most recent call first):
      CMakeLists.txt:57 (include)

    200?’200px’:»+(this.scrollHeight+5)+’px’);»>

    • Ошибка
      CMake Error at cmake/macros/FindMySQL.cmake:193 (message):
      Could not find the MySQL libraries! Please install the development
      libraries and headers
      Call Stack (most recent call first):
      CMakeLists.txt:61 (find_package)

  • Исправление
  • Ответ пользователя»Dark_Silence»
  • Так как убрали встроенные либы MySQL.
    Теперь их надо отдельно качать, и прописывать в пути.
    Тоже самое, что и с либами ACE.
    Вместо них теперь Boost.

    или
  • Пост будет обновляться, по мере поступление и решение ваших проблем. У кого какие ошибки пишите в коменты или в личку.

    Обновлена шапка, по вашим комментариям.

    Читайте также:  Fatal error failed to locate necessary tables to make adjustments что это

    Полезные гайды, ссылки, мануалы:
    Часто задаваемые вопросы и решения. Альтернативные посты, тонкий намек что на вов жп пропадают изображения с гайдов, мануалов.

    CMake Ошибка: источник «D :/ работы / источник / CMakeLists.txt» не соответствует источника «D :/ работы / CMakeLists.txt» используется для создания кэша. Повторные CMake с другой исходный каталог.

    Смак какой версии? и исходники вы правильно скачали и распаковали?

    Люди подскажите в чем ошибка вот все что в логе
    The C compiler identification is MSVC 16.0.30319.1
    The CXX compiler identification is MSVC 16.0.30319.1
    Check for working C compiler using: Visual Studio 10 Win64
    Could not copy from: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CMakeVSMacros2.vsmacros
    to: C:/Users/Миша/Documents/Visual Studio 2010/Projects/VSMacros80/CMakeMacros/CMakeVSMacros2.vsmacros

    Check for working C compiler using: Visual Studio 10 Win64 — works
    Detecting C compiler ABI info
    Could not copy from: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CMakeVSMacros2.vsmacros
    to: C:/Users/Миша/Documents/Visual Studio 2010/Projects/VSMacros80/CMakeMacros/CMakeVSMacros2.vsmacros

    Detecting C compiler ABI info — done
    Check for working CXX compiler using: Visual Studio 10 Win64
    Could not copy from: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CMakeVSMacros2.vsmacros
    to: C:/Users/Миша/Documents/Visual Studio 2010/Projects/VSMacros80/CMakeMacros/CMakeVSMacros2.vsmacros

    Check for working CXX compiler using: Visual Studio 10 Win64 — works
    Detecting CXX compiler ABI info
    Could not copy from: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CMakeVSMacros2.vsmacros
    to: C:/Users/Миша/Documents/Visual Studio 2010/Projects/VSMacros80/CMakeMacros/CMakeVSMacros2.vsmacros

    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: optimized;C:/OpenSSL-Win64/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win64/lib/VC/libeay32MDd.lib
    Found git binary : C:/Program Files (x86)/Git/cmd/git.exe

    Could not find a proper repository signature (hash) — you may need to pull tags with git fetch -t
    Continuing anyway — note that the versionstring will be set to «unknown 1970-01-01 00:00:00 (Archived)»

    * TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch)

    * Install core to : C:/Program Files/TrinityCore

    * Build world/auth : Yes (default)
    * Build with scripts : Yes (default)
    * Build map/vmap tools : No (default)
    * Build core w/PCH : Yes (default)
    * Build scripts w/PCH : Yes (default)
    * Show compile-warnings : No (default)
    * Use coreside debug : No (default)
    * Use MySQL sourcetree : Yes (default)
    * Use GIT revision hash : Yes

    — MySQL 5.5.9
    Looking for include file pthread.h
    Could not copy from: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CMakeVSMacros2.vsmacros
    to: C:/Users/Миша/Documents/Visual Studio 2010/Projects/VSMacros80/CMakeMacros/CMakeVSMacros2.vsmacros

    Looking for include file pthread.h — not found
    Found Threads: TRUE
    Check size of void *
    Could not copy from: C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Templates/CMakeVSMacros2.vsmacros
    to: C:/Users/Миша/Documents/Visual Studio 2010/Projects/VSMacros80/CMakeMacros/CMakeVSMacros2.vsmacros

    Check size of void * — done
    SCRIPT PREPARATIONS
    -> Prepared: Spells
    -> Prepared: Commands
    -> Prepared: Examples
    -> Prepared: Custom
    -> Prepared: World
    -> Prepared: Outdoor PVP Zones
    -> Prepared: Eastern Kingdoms
    -> Prepared: Kalimdor
    -> Prepared: Outland
    -> Prepared: Northrend
    -> Prepared: Events
    SCRIPT PREPARATION COMPLETE

    Читайте также:  Что делать если ксго не запускается fatal error

    Источник

    Cmake error «Project files may be invalid» #5

    Comments

    abdul2rafe commented Nov 18, 2014

    Hello,
    I am trying to make on windows using cmake GUI, making for visual studio 2010, and I keep getting the the message «error in configuration process, project files may be invalid», please find the log below:

    — Graphic backend is Ogre-1.9a

    mobile rtshader
    Add to your PATH: D:/Gamkit2/gamekit-master/Dependencies/Win32/gles2/bin
    Looking for DirectX9.
    Could not locate DirectX9
    Looking for DirectX.
    Could not locate DirectX
    Looking for DirectX11.
    Could not locate DirectX11

    — The following external packages were located on your system.
    — This installation will have the extra features provided by these packages.

    + OpenGLES2

    — The following OPTIONAL packages could NOT be located on your system.
    — Consider installing them to enable more features from this software.

    + DirectX11: Support for the DirectX11 render system http://msdn.microsoft.com/en-us/directx/

    DEP_INCLUDES: D:/Gamkit2/gamekit-master/Dependencies/Source/FreeType/include;D:/Gamkit2/gamekit-master/Dependencies/Source/FreeImage/ZLib;D:/Gamkit2/gamekit-master/Dependencies/Source/OIS/include;D:/Gamkit2/gamekit-master/Dependencies/Source/GameKit/Utils;D:/Gamkit2/gamekit-master/Dependencies/Source/GameKit/AnimKit;D:/Gamkit2/gamekit-master/Tools/FileTools/File;D:/Gamkit2/gamekit-master/Tools/FileTools/FileFormats/Blend
    CMake Error at CMakeLists.txt:175 (file):
    file COPY cannot find «D:/Developer/Installs/gamkit/systemlibs».

    Looking for Cg.
    Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    Could not locate Cg
    Configuring OGRE 1.9.0
    Creating Unity build files for target OgreMain
    D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_0.cpp is up to date.
    D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_1.cpp is up to date.
    D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_2.cpp is up to date.
    D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_3.cpp is up to date.
    D:/Developer/Installs/gamkit/OgreMain/compile_OgreMain_4.cpp is up to date.
    Creating Unity build files for target RenderSystem_GLES2
    D:/Developer/Installs/gamkit/RenderSystem_GLES2/compile_RenderSystem_GLES2_0.cpp is up to date.
    D:/Developer/Installs/gamkit/RenderSystem_GLES2/compile_RenderSystem_GLES2_1.cpp is up to date.
    Creating Unity build files for target Plugin_ParticleFX
    D:/Developer/Installs/gamkit/Plugin_ParticleFX/compile_Plugin_ParticleFX_0.cpp is up to date.
    Creating Unity build files for target OgreRTShaderSystem
    D:/Developer/Installs/gamkit/OgreRTShaderSystem/compile_OgreRTShaderSystem_0.cpp is up to date.
    Creating Unity build files for target OgreOverlay
    D:/Developer/Installs/gamkit/OgreOverlay/compile_OgreOverlay_0.cpp is up to date.
    OGREKIT_OGRE_LIBS: OgreMain;OgreOverlay;FreeImage;freetype;GameKitUtils;OIS;ZLib;AnimKit;fbtFile;bfBlend;OgreRTShaderSystem;D:/Gamkit2/gamekit-master/Dependencies/Android/OpenAL/bin/armeabi-v7a/libopenal.so;OggVorbis;Lua;ZZipLib
    Creating Unity build files for target OgreKitCore
    D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_0.cpp is up to date.
    D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_1.cpp is up to date.
    D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_2.cpp is up to date.
    D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_3.cpp is up to date.
    D:/Developer/Installs/gamkit/Bin/OgreKitCore/compile_OgreKitCore_4.cpp is up to date.
    zlib target:ZLib
    CMake Error at Samples/AndroidDemo/Shared/CMakeLists.txt:36 (if):
    if given arguments:

    Unknown arguments specified

    CMake Warning (dev) in Samples/OgreDemo/CMakeLists.txt:
    Syntax Warning in cmake code at

    Argument not separated from preceding token by whitespace.
    This warning is for project developers. Use -Wno-dev to suppress it.

    Configuring incomplete, errors occurred!
    See also «D:/Developer/Installs/gamkit/CMakeFiles/CMakeOutput.log».

    The text was updated successfully, but these errors were encountered:

    Источник

    (winows)Installation — CMake Error in generation process, project files may be invalid #1723

    Comments

    kaar0 commented Oct 16, 2020

    Issue Summary

    Been trying to get OpenPose on my Windows 10 laptop and stuck on this issue for 2 days.

    Читайте также:  Error 1064 you have an error in your sql syntax create table

    Executed Command (if any)

    pressed «generate» after follosing the installation guide

    OpenPose Output (if any)

    Errors (if any)

    On CMake:
    Configuring done
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    Caffe_LIB_DEBUG
    linked by target «openpose» in directory C:/openpose/src/openpose
    Caffe_LIB_RELEASE
    linked by target «openpose» in directory C:/openpose/src/openpose
    Caffe_Proto_LIB_DEBUG
    linked by target «openpose» in directory C:/openpose/src/openpose
    Caffe_Proto_LIB_RELEASE
    linked by target «openpose» in directory C:/openpose/src/openpose
    GFLAGS_LIBRARY_DEBUG
    linked by target «openpose» in directory C:/openpose/src/openpose
    GFLAGS_LIBRARY_RELEASE
    linked by target «openpose» in directory C:/openpose/src/openpose
    GLOG_LIBRARY_DEBUG
    linked by target «openpose» in directory C:/openpose/src/openpose
    GLOG_LIBRARY_RELEASE
    linked by target «openpose» in directory C:/openpose/src/openpose
    OpenCV_LIBS_DEBUG
    linked by target «openpose» in directory C:/openpose/src/openpose
    OpenCV_LIBS_RELEASE
    linked by target «openpose» in directory C:/openpose/src/openpose

    In Visual Code, after running the generated file:
    Severity Code Description Project File Line Suppression State
    Error C1083 Cannot open include file: ‘gflags/gflags.h’: No such file or directory OpenPoseDemo C:\openpose\include\openpose\flags.hpp 9
    Severity Code Description Project File Line Suppression State
    Error C1083 Cannot open include file: ‘opencv2/core/core.hpp’: No such file or directory openpose C:\openpose\include\openpose_private\tracking\pyramidalLK.hpp 4

    Type of Issue

    You might select multiple topics, delete the rest:

    • Compilation/installation error
    • Help wanted

    Your System Configuration

    Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: LINK
    pu them under «errors»

    OpenPose version: Latest GitHub code? Or specific commit (e.g., d52878f)? Or specific version from Release section (e.g., 1.2.0)?
    Latest Github Code

    General configuration:

    • Installation mode: CMake on windows, tried 3.19 and 3.17.5, same problem appears
    • Operating system windows
    • Operating system version Windows 10
    • Release or Debug mode? (by default: release): ran the vs in release
    • Compiler Visual Studio 2017

    Non-default settings:

    • 3-D Reconstruction module added? no
    • Any other custom CMake configuration with respect to the default version? no

    3rd-party software:

    • Caffe version: installed is using anaconda in an environment, had to use python 3.7 to do it, otherwise it wouldn’t work
    • CMake version ( cmake —version in Ubuntu): 3.19
    • OpenCV version: 4.4.0 installed using anaconda

    If GPU mode issue:

    • CUDA version ( cat /usr/local/cuda/version.txt in most cases): 10
    • cuDNN version: 7.5
    • GPU model ( nvidia-smi in Ubuntu): GeForce MX350

    If Windows system:

    • Portable demo or compiled library?: compiled library

    The text was updated successfully, but these errors were encountered:

    Источник

    Оцените статью
    toolgir.ru
    Adblock
    detector