cmake-gui

CMake Error: Could Not Find OpenSSL

拜拜、爱过 提交于 2019-12-08 15:24:29
My Objective: I'm trying to configure Mosquitto broker to use websockets. The Warnings and Errors: https://docs.google.com/document/d/1HJ75NO1wBsnNfFFszeXP4p8re7m4gTE_CMbFoSswJJs/edit?usp=sharing Software: Windows 10 x64 libwebsockets-master Cmake 3.6.2 win32 OpenSSL 1.1.0a Visual Studio 14 2015 (with C++ compiler) What I've tried: I'm using CMake gui cause I'm not really familiar with the commands. I configure the source and destination and set the following variables as paths and filepaths respectively: OPENSSL_ROOT_DIR = OpenSSL-Win32 OPENSSL_LIBRARIES = OpenSSL-Win32/lib or OpenSSL-Win32

CMake Error: Could Not Find OpenSSL

痴心易碎 提交于 2019-12-08 05:25:12
问题 My Objective: I'm trying to configure Mosquitto broker to use websockets. The Warnings and Errors: https://docs.google.com/document/d/1HJ75NO1wBsnNfFFszeXP4p8re7m4gTE_CMbFoSswJJs/edit?usp=sharing Software: Windows 10 x64 libwebsockets-master Cmake 3.6.2 win32 OpenSSL 1.1.0a Visual Studio 14 2015 (with C++ compiler) What I've tried: I'm using CMake gui cause I'm not really familiar with the commands. I configure the source and destination and set the following variables as paths and filepaths

How to set qt5 path with cmake find_package on Windows?

我与影子孤独终老i 提交于 2019-12-07 17:39:11
问题 I am adding QT like this: find_package(Qt5 COMPONENTS Core Quick REQUIRED) ... target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Quick ${OpenCV_LIBS}) but cmake finds some python artifacts instead of expected C:\QT... How can I change this? Tried to find some examples, but didn't find any clear instruction, which subfolder of C:\QT\ I should specify (any where). 回答1: find_package search order is following: Search in cache variables : CMAKE_PREFIX_PATH , CMAKE_FRAMEWORK_PATH , CMAKE

Assimp model loading library install/linking troubles

我是研究僧i 提交于 2019-12-06 22:13:35
问题 I'm trying to install Assimp to use in my projects, but I'm having some trouble. I'm currently using win 10 pro and visual studio 15 2017. I have downloaded Assimp 4.0.1.zip, extracted it into a directory, loaded cmakeGui and ran configuration twice, then generated into Assimp/build directory. Next I went into Assimp/build and I ran the Assimp.sln and chose the ALL_BUILD I think it was. I then copied all the files in the /code/debug that were alongside the .lib and .dll and moved them all

CMake error while configuring “install TARGETS given no RUNTIME DESTINATION for executable target ”assimp_simpletexturedogl“.”

天涯浪子 提交于 2019-12-06 05:19:39
问题 I'm trying to use CMake to configure assimp's samples but there are some error while configuring I've tried lot's of method but no one works. CMake Error at CMakeLists.txt:41 (INSTALL): install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.2) should be added at the top of the file. The version specified may be

Assimp model loading library install/linking troubles

╄→尐↘猪︶ㄣ 提交于 2019-12-05 05:26:14
I'm trying to install Assimp to use in my projects, but I'm having some trouble. I'm currently using win 10 pro and visual studio 15 2017. I have downloaded Assimp 4.0.1.zip, extracted it into a directory, loaded cmakeGui and ran configuration twice, then generated into Assimp/build directory. Next I went into Assimp/build and I ran the Assimp.sln and chose the ALL_BUILD I think it was. I then copied all the files in the /code/debug that were alongside the .lib and .dll and moved them all into the Debug directory of my project where my exe is built to. I copied the .lib into my opengl/libs

how to use framework using Cmake?

元气小坏坏 提交于 2019-12-04 19:04:37
For Macos, I'd like to link to some framework. In windows, I would like to link to some library. For example, OpenGL Framework, how to express this requirement using cmake? You could try the following code: target_link_libraries(<target name> "-framework AVFoundation" "-framework CoreGraphics" "-framework CoreMotion" "-framework Foundation" "-framework MediaPlayer" "-framework OpenGLES" "-framework QuartzCore" "-framework UIKit" ) To tell CMake that you want to link to OpenGL, add the following to your CMakeLists.txt : find_package(OpenGL REQUIRED) include_directories(${OPENGL_INCLUDE_DIR})

CMake error while configuring “install TARGETS given no RUNTIME DESTINATION for executable target ”assimp_simpletexturedogl“.”

牧云@^-^@ 提交于 2019-12-04 10:52:57
I'm trying to use CMake to configure assimp's samples but there are some error while configuring I've tried lot's of method but no one works. CMake Error at CMakeLists.txt:41 (INSTALL): install TARGETS given no RUNTIME DESTINATION for executable target "assimp_simpletexturedogl". CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.2) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help

rint() issue after creating VS Project using CMake

孤者浪人 提交于 2019-12-04 06:36:31
问题 I'm having an issue compiling code - specifically METIS - Serial Graph Partitioning and Fill-reducing Matrix Ordering. I've successfully managed to make Visual Studio 2013 Project out of the source files two ways: using CMake GUI (version 3.4.3) and using Command Line. However, in both cases when I try to build the created project in Visual Studio, I'm getting an error: Error C2059: syntax error : '(' on line _CRTIMP double __cdecl rint(_In_ double _X); where _CRTIMP is defined this way:

CMake: failed to run MSBuild command: MSBuild.exe

佐手、 提交于 2019-12-03 07:32:57
问题 I am trying to build FIAT using CMake GUI on windows 10. CMake Error at CMakeLists.txt:3 (project): Failed to run MSBuild command: MSBuild.exe to get the value of VCTargetsPath: Configuring incomplete, errors occurred! I configured CMake to use Visual Studio 15 2017 compiler. How can I fix this? If needed, here is the CMakeLists.txt file cmake_minimum_required(VERSION 3.2) include(CheckCXXCompilerFlag) project(FIAT CXX) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE