Re: [CMake] cross-compiling for arm

2016-09-15 Thread Rolf Eike Beer
Am Donnerstag, 15. September 2016, 15:48:02 schrieb Gunter, Walter E: > I am using the arm-2008q3 toolchain and having some issues with compiling. > Doing a c++ compile for RT Linux, > I have setup the following in my main CMakeLists.txt Use a toolchain file. project() will scan for the compiler a

[CMake] cross-compiling for arm

2016-09-15 Thread Gunter, Walter E
I am using the arm-2008q3 toolchain and having some issues with compiling. Doing a c++ compile for RT Linux, I have setup the following in my main CMakeLists.txt arm-none-linux-gnueabi-g++ cmake_minimum_required(VERSION 3.2) project(enterprise CXX) set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_CXX_COM

Re: [CMake] after running cmake, getting an error cannot find -levent

2016-09-15 Thread Michael Ellery
that seems to refer to libevent and the linker is not finding it - so you probably need to build/install that lib for your toolchain. It doesn’t look like there is a standard finder module for libevent currently, but if there were then find_package(LibEvent) would have likely alerted you when ru

[CMake] after running cmake, getting an error cannot find -levent

2016-09-15 Thread Gunter, Walter E
I am cross-compiling for an arm, and can run cmake successfully, but when I run make, I am getting the following: /opt/toolchains/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -levent I tried adding –levent to COMPILE_FLAGS, but th

[CMake] after running cmake, getting an error cannot find -levent

2016-09-15 Thread Gunter, Walter E
Subject: after running cmake, getting an error cannot find -levent I am cross-compiling for an arm, and can run cmake successfully, but when I run make, I am getting the following: /opt/toolchains/arm-2008q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:

[CMake] ExternalProject autotools with MSYS from a MinGW root project

2016-09-15 Thread David Demelier
Hello, I was guessing if it is possible to build a autotools based project that requires MSYS from a MinGW project. The ExternalProject could works but using the MinGW generator in the root projects requires to *not* have the sh.exe in the PATH. So I'm stuck on how to achieve this. Do you have

[CMake] xcode-select and CMake -G Xcode

2016-09-15 Thread Harry Mallon
Hello, I saw XCode 8 was released so i duplicated my XCode install and updated it. CMake now fails if I use xcode-select -s to choose the old XCode. It seems that if the XCode path has a space in it it fails. i.e. With "xcode-select -s /Applications/Xcode\ copy.app/Contents/Developer": $ cmak