Hello I tried to cross compile my simple program requiring opencv and cuda but I failed.
I downloaded gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu and it works for a program without opencv but everything fails when I link Opencv.
That is my toolchain.cmake
set(CROSS_COMPILE aarch64-linux-gnu)
set(CC_PREFIX /home/volk/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/)
set(ROOTFS_PATH /home/volk/jetsonROOT/rootfs/)
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
SET(CMAKE_C_COMPILER ${CC_PREFIX}/${CROSS_COMPILE}-gcc)
SET(CMAKE_CXX_COMPILER ${CC_PREFIX}/${CROSS_COMPILE}-g++)
SET(CMAKE_LINKER ${CC_PREFIX}/${CROSS_COMPILE}-ld)
SET(CMAKE_AR ${CC_PREFIX}/${CROSS_COMPILE}-ar)
SET(CMAKE_OBJCOPY ${CC_PREFIX}/${CROSS_COMPILE}-objcopy)
#set(CUDA_TOOLKIT_ROOT_DIR ${ROOTFS_PATH}usr/local/cuda-10.2)
#set(CUDA_NVCC_EXECUTABLE ${ROOTFS_PATH}usr/local/cuda-10.2/bin/nvcc)
#set(CUDA_INCLUDE_DIRS ${ROOTFS_PATH}usr/local/cuda-10.2/include)
#set(CUDA_CUDART_LIBRARY${ROOTFS_PATH}usr/local/cuda-10.2/lib64)
SET(CMAKE_FIND_ROOT_PATH ${ROOTFS_PATH})
SET(CMAKE_SYSROOT ${ROOTFS_PATH})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
CMakeLists.txt
project(Test )
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIR})
add_executable(Test main.cpp)
target_link_libraries(Test ${OpenCV_LIBS})
I'm trying to compile for a jetson Nano
I downloaded a jetson's rootfs with rsync and checked links with readlink.
Also I tried to add paths to libs from jetson's rootfs to my ld.conf.d but it didn't help.
As you see in toolchain.cmake
I tried to set CUDA_ROOT_DIR I will show the results with it and without.
WITH CUDA_ROOT_DIR
> -- The C compiler identification is GNU 7.3.1
> -- The CXX compiler identification is GNU 7.3.1
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Check for working C compiler: /home/volk/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin//aarch64-linux-gnu-gcc
> - skipped
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Check for working CXX compiler: /home/volk/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin//aarch64-linux-gnu-g++
> - skipped
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done /lib/ld-linux-aarch64.so.1: No such file or directory CMake Error at
> /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:786 (string):
> string sub-command REGEX, mode REPLACE needs at least 6 arguments
> total to command. Call Stack (most recent call first):
> /home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:86
> (find_package)
> /home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:108
> (find_host_package) CMakeLists.txt:51 (find_package)
>
>
> CMake Error at /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:787
> (string): string sub-command REGEX, mode REPLACE needs at least 6
> arguments total to command. Call Stack (most recent call first):
> /home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:86
> (find_package)
> /home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:108
> (find_host_package) CMakeLists.txt:51 (find_package)
>
>
> CMake Error at
> /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218
> (message): Could NOT find CUDA: Found unsuitable version ".", but
> required is exact version "10.2" (found
> /home/volk/jetsonROOT/rootfs/usr/local/cuda-10.2) Call Stack (most
> recent call first):
> /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:575
> (_FPHSA_FAILURE_MESSAGE)
> /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:1121
> (find_package_handle_standard_args)
> /home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:86
> (find_package)
> /home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:108
> (find_host_package) CMakeLists.txt:51 (find_package)
>
>
> -- Configuring incomplete, errors occurred! See also "/home/volk/armCROSSCOMP/build/CMakeFiles/CMakeOutput.log".
WITHOUT CUDA_ROOT_DIR
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/volk/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin//aarch64-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/volk/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin//aarch64-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
/lib/ld-linux-aarch64.so.1: No such file or directory
CMake Error at /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:786 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
/home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:86 (find_package)
/home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
CMakeLists.txt:51 (find_package)
CMake Error at /usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:787 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
/home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:86 (find_package)
/home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
CMakeLists.txt:51 (find_package)
CMake Error at /usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find CUDA: Found unsuitable version ".", but required is exact
version "10.2" (found /home/volk/jetsonROOT/rootfs/usr/local/cuda-10.2)
Call Stack (most recent call first):
/usr/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:575 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.19/Modules/FindCUDA.cmake:1121 (find_package_handle_standard_args)
/home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:86 (find_package)
/home/volk/jetsonROOT/rootfs/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake:108 (find_host_package)
CMakeLists.txt:51 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/volk/armCROSSCOMP/build/CMakeFiles/CMakeOutput.log".
What Am I doing wrong?
Related
This question already has an answer here:
Every call to configure_file fails on WSL: configure_file Problem configuring file
(1 answer)
Closed 7 months ago.
I'm running cmake on win10 WSL with ubuntu20.04, apt-get installed cmake and used the simpliest CMakeLists.txt as below:
cmake_minimum_required(VERSION 3.4)
project(my)
add_executable(testConst01 testConst.c01)
Run mkdir build; cd build; cmake ../my it will give a bunch of error:
CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:185 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- The C compiler identification is GNU 9.4.0
CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineCCompiler.cmake:212 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- The CXX compiler identification is GNU 9.4.0
CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineCXXCompiler.cmake:210 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:80 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:73 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
-- Configuring incomplete, errors occurred!
See also "/mnt/d/my/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/d/my/build/CMakeFiles/CMakeError.log".
Then I run cmake the second time, everything become ok, and make command will generate all I wanted. Then I rm -fr the build dir, do the job again. First time it fails and second time it succeeds. Always like this.
I took a look at the CMakeOutput.log and CMakeError.log file, didn't find any real error message either.
What is the cause of this problem, how to fix it? Thanks!
Finnaly I found this was WSL config issue, not cmake problem, as stated in this thread:
Every call to configure_file fails on WSL: configure_file Problem configuring file
Step to fix:
In wsl command line window, sudo vi /etc/wsl.conf
add these lines:
options = "metadata"
enabled = true
Then close all wsl windows.
Then in cmd.exe or powershell, restart my linux instance. E.g. I'm using Ubuntu20.04 I'll
wsl -t Ubuntu20.04
Then run my cmake job, everything is OK now.
I'm not able to compile on Fedora 31. I installed fmt and followed these instructions:
git clone https://github.com/facebook/folly.git
cd folly
mkdir _build
cd _build
cmake ..
When I run cmake .., I get the following error:
[vagrant#localhost _build]$ cmake ..
-- The CXX compiler identification is GNU 9.3.1
-- The C compiler identification is GNU 9.3.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR context filesystem
program_options regex system thread) (Required is at least version
"1.51.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBoost.cmake:2166 (find_package_handle_standard_args)
CMake/folly-deps.cmake:36 (find_package)
CMakeLists.txt:113 (include)
-- Configuring incomplete, errors occurred!
See also "/vagrant/folly/_build/CMakeFiles/CMakeOutput.log".
See also "/vagrant/folly/_build/CMakeFiles/CMakeError.log".
I am using Mac with OS 10.11.6
I am trying to install OpenGV on my Mac. This is a part of dependencies that will be needed to build the OpenSfM library. So, what I did is:
brew install homebrew/science/ceres-solver
brew install boost-python
brew install eigen
git clone https://github.com/paulinus/opengv.git
cd opengv
mkdir build
cd build
cmake .. -DBUILD_TESTS=OFF -DBUILD_PYTHON=ON
make install
But I got this error:
In file included from /Users/hilman_dayo/opengv/src/relative_pose/modules/main.cpp:47:
/Users/hilman_dayo/opengv/include/opengv/math/Sturm.hpp:43:10: fatal error: 'boost/shared_ptr.hpp' file not found
#include <boost/shared_ptr.hpp>
^
1 error generated.
make[2]: *** [CMakeFiles/opengv.dir/src/relative_pose/modules/main.o] Error 1
make[1]: *** [CMakeFiles/opengv.dir/all] Error 2
make: *** [all] Error 2
How can I solve this? Already checked, and the file is there at /usr/local/include/boost/shared_ptr.hpp.
If it is ever needed, this is the output during cmake:
-- The C compiler identification is AppleClang 7.3.0.7030031
-- The CXX compiler identification is AppleClang 7.3.0.7030031
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Checking for C++11 compiler
-- Checking for C++11 compiler - available
-- Performing Test SUPPORTS_STD_CXX11
-- Performing Test SUPPORTS_STD_CXX11 - Success
-- Performing Test SUPPORTS_STD_CXX01
-- Performing Test SUPPORTS_STD_CXX01 - Success
-- Found Eigen: /usr/local/include/eigen3 (Required is at least version "2.91.0")
CMake Warning at /usr/local/Cellar/cmake/3.6.3/share/cmake/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version 106200
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.3/share/cmake/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/Cellar/cmake/3.6.3/share/cmake/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
python/CMakeLists.txt:2 (find_package)
-- Boost version: 1.62.0
-- Found the following Boost libraries:
-- python
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found version "2.7.10")
-- Found PythonInterp: /Users/hilman_dayo/.virtualenvs/cv/bin/python2.7 (found version "2.7.12")
-- Found NumPy: version "1.11.1" /Users/hilman_dayo/.virtualenvs/cv/lib/python2.7/site-packages/numpy/core/include
-- Configuring done
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
pyopengv
This warning is for project developers. Use -Wno-dev to suppress it.
-- Generating done
-- Build files have been written to: /Users/hilman_dayo/opengv/build
OK. Comment by #usr1234567 give me a hint to find the answer. After a quick search, all I need to do is just execute this on the command line:
xcode-select --install
I have a problem with cocos2d-x 3.6, I installed the program and create my first hello world file found in the program, but when I try to run, I get the following error, someone could tell me how to fix it and explain why it happened the error
cocos run -s ~/MyCompany2/MyGame -p linux
Running command: compile
Building mode: debug
running: 'cmake -DCMAKE_BUILD_TYPE=Debug -DDEBUG_MODE=ON ..'
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
It appears you are builing natively for Linux with GCC
-- OpenGL include dirs: /usr/include
-- GLEW include dirs: /usr/include
-- PkgConfig found
-- checking for module 'glfw3'
-- package 'glfw3' not found
CMake Error at cocos2d/cmake/Modules/FindPackageHandleStandardArgs.cmake:136
(message):
Could NOT find GLFW3 (missing: GLFW3_LIBRARIES GLFW3_INCLUDE_DIR)
Call Stack (most recent call first):
cocos2d/cmake/Modules/FindPackageHandleStandardArgs.cmake:343
(_FPHSA_FAILURE_MESSAGE)
cocos2d/cmake/Modules/FindGLFW3.cmake:152
(find_package_handle_standard_args)
cocos2d/cmake/Modules/CocosBuildHelpers.cmake:44 (find_package)
cocos2d/CMakeLists.txt:187 (cocos_find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jmuniz/MyCompany2/MyGame/linux-build/CMakeFile/CMakeOutput.log".
Error running command, return code: 1
The way to read errors in your build chain is typically from the top down; find the first thing marked "error" and fix that.
In this case, the first error is:
CMake Error at cocos2d/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find GLFW3 (missing: GLFW3_LIBRARIES GLFW3_INCLUDE_DIR)
and right above it the very helpful:
-- package 'glfw3' not found
So, it seems that what you're building requires this glfw3, and it can't find it.
I'm guessing that it's this: http://www.glfw.org/
You should check that you have that. If you don't, download it and install it appropriately for your system (which may, depending on what OS you're running, be as easy as finding it in your package manager), and try again.
I am trying to build SFML on Windows 8, and using cmake to create a visual studio 2010 project. The program is giving me an error, and I am not sure what to do with it.
Any help? Here is the output from cmake.
The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler using: Visual Studio 10
Check for working C compiler using: Visual Studio 10 -- works
Detecting C compiler ABI info
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (try_compile):
Cannot copy output executable
''
to destination specified by COPY_FILE:
'C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/2.8.10.2/CMakeDetermineCompilerABI_C.bin'
Unable to find the executable at any of:
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/cmTryCompileExec3899792351.exe
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3899792351.exe
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec3899792351.exe
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:75 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:17 (project)
Detecting C compiler ABI info - done
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:52 (file):
file STRINGS file
"C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/2.8.10.2/CMakeDetermineCompilerABI_C.bin"
cannot be read.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:75 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:17 (project)
Check for working CXX compiler using: Visual Studio 10
Check for working CXX compiler using: Visual Studio 10 -- works
Detecting CXX compiler ABI info
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31 (try_compile):
Cannot copy output executable
''
to destination specified by COPY_FILE:
'C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/2.8.10.2/CMakeDetermineCompilerABI_CXX.bin'
Unable to find the executable at any of:
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/cmTryCompileExec1219109554.exe
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec1219109554.exe
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec1219109554.exe
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:17 (project)
Detecting CXX compiler ABI info - done
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:52 (file):
file STRINGS file
"C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/2.8.10.2/CMakeDetermineCompilerABI_CXX.bin"
cannot be read.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:17 (project)
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
Check size of void*
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:92 (try_compile):
Cannot copy output executable
''
to destination specified by COPY_FILE:
'C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CheckTypeSize/SIZEOF_VOID_PTR.bin'
Unable to find the executable at any of:
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/cmTryCompileExec3928396189.exe
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3928396189.exe
C:/Users/Zachary/Downloads/SFML/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec3928396189.exe
Call Stack (most recent call first):
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CheckTypeSize.cmake:177 (__check_type_size_impl)
cmake/Config.cmake:7 (check_type_size)
CMakeLists.txt:20 (include)
CMake Error at cmake/Config.cmake:13 (message):
Unsupported architecture
Call Stack (most recent call first):
CMakeLists.txt:20 (include)
Configuring incomplete, errors occurred!
Start terminal as Administrator.
helped me, with cygwin.