Questions tagged as 'cmake'

0
answers

Error LNK2019 compiling OpenCL Project on Windows [closed]

I'm getting a lot of LNK2019 errors, after I use the nmake command on VS2015 console: kmeans.cpp.obj : error LNK2019: unresolved external symbol clGetPlatformIDs referenced in function "int __cdecl initialize(int)" (?initialize@@YAHH@Z) kmean...
asked by 18.03.2017 / 02:18
0
answers

cmake source_group has no effect

I'm trying to organize the project generated in visual studio, so I'm using the source_group function to add the directories I want, but it does not seem to have any effect: set(CPP_FILES_REGEX "\b(\w|\d)+\b\.(hpp|cpp|c|h)") source_gro...
asked by 02.12.2016 / 01:33
1
answer

Linphone compilation error no ./prepare.py

I downloaded the linux project from git, installed all necessary dependencies and configured everything correctly (I believe) but when executing the command ./prepare.py It ends in the middle of the build at this point -- Detecting CXX co...
asked by 22.09.2016 / 19:45
1
answer

Error compiling Caffe / Pycaffe

I'm trying to compile Caffe on an Ubuntu 14.04, but I still get the following error: /usr/bin/ld: cannot find -lboost_python-py35 /usr/bin/ld: cannot find -lpython3.5m collect2: error: ld returned 1 exit status make: *** [.build_release/lib/li...
asked by 16.06.2017 / 16:25
1
answer

Libraries in CMake as submodule in project

I'm developing a C ++ project where I make use of some libraries I've previously produced, the problem I do not know how to import them into my new project without putting the full path in the include and adding all the files in my project's cma...
asked by 11.10.2016 / 23:12
1
answer

Problem with CMake makefiles generator

I'm going to go on this tutorial on how to install allegro 5 with MSYS2. But I have a problem. By the time I'm going to run the command cmake \ -G"MSYS Makefiles" \ -DCMAKE_SYSTEM_PREFIX_PATH:PATH=/mingw64/x86_64-w64-mingw32/...
asked by 06.08.2015 / 01:10
0
answers

Problems using GLEW with CMake and msys2

I am new to the C world and have been tempted to learn more about the ecosystem and to study some language libraries more thoroughly. I have setup on my Visual Studio 2017 and msys2 computer with the Mingw-w64 development packages installed....
asked by 05.12.2018 / 02:17
0
answers

CMake - Compile file in C using object file

Hello, I have a very general question: Assuming I create the main.c , list.c and list.h files. And you want to create the list.c object file, which contains the helper functions I will use in main.c whose signatures are in the he...
asked by 22.04.2018 / 06:52
1
answer

Error compiling in CodeBlocks - Libboost

I'm compiling here in CodeBlocks, it's been a week since I'm trying to compile, but it always gives some error, and now that it's at the end of the compilation, it's giving some errors and I'm not able to solve it. Can anyone help me solve this?...
asked by 10.12.2017 / 18:31