[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] 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

[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)

Re: [CMake] is it worth using cmake to cross-compile for embedded arm device?

2016-09-16 Thread Gunter, Walter E
des that should be fine. Any suggestions on why when including #include The compiler has an issue with using its own linux headers from the toolchain? From: dfloge...@gmail.com [mailto:dfloge...@gmail.com] On Behalf Of Dave Flogeras Sent: Friday, September 16, 2016 3:43 PM To: Gunter, Walter E Subject:

[CMake] cross-compiling for embedded device running linux, how to include linux headers

2016-09-16 Thread Gunter, Walter E
I am referencing some includes that are part of my embedded device toolchain, #include If I have setup the cross compile directory correctly, does it know about these or do I need to make it known? if so, what’ the best approach? Current Main CMakeLists.txt cmake_minimum_required(VERSION

[CMake] using arm toolchain and having issues with linux socket can

2016-09-16 Thread Gunter, Walter E
So, now that I am rocking and rolling using the correct toolchain, I am stuck with a failed compile. error: 'PF_CAN' was not declared in this scope Does this mean it can’t find the header file? I am just implementing the CAN interface; nothing complex. Here is my file… Mycan.c #include

Re: [CMake] cross-compiling for arm

2016-09-16 Thread Gunter, Walter E
-Original Message- From: Rolf Eike Beer [mailto:e...@sf-mail.de] Sent: Thursday, September 15, 2016 12:06 PM To: cmake@cmake.org Cc: Gunter, Walter E Subject: Re: [CMake] cross-compiling for arm Am Donnerstag, 15. September 2016, 15:48:02 schrieb Gunter, Walter E: > I am using the arm-200

Re: [CMake] using arm toolchain and having issues with linux socket can

2016-09-18 Thread Gunter, Walter E
, September 17, 2016 1:19 AM To: Gunter, Walter E Cc: cmake@cmake.org Subject: Re: [CMake] using arm toolchain and having issues with linux socket can Am Freitag, 16. September 2016, 22:54:25 schrieb Gunter, Walter E: > Ah..got ya. > There are two in my toolchain: > Sys/socket.h > Li

Re: [CMake] using arm toolchain and having issues with linux socket can

2016-09-18 Thread Gunter, Walter E
:19 AM To: Gunter, Walter E Cc: cmake@cmake.org Subject: Re: [CMake] using arm toolchain and having issues with linux socket can Am Freitag, 16. September 2016, 22:54:25 schrieb Gunter, Walter E: > Ah..got ya. > There are two in my toolchain: > Sys/socket.h > Linux/socket.h > &g

Re: [CMake] using arm toolchain and having issues with linux socket can

2016-09-16 Thread Gunter, Walter E
...@sf-mail.de] Sent: Friday, September 16, 2016 4:21 PM To: cmake@cmake.org Cc: Gunter, Walter E Subject: Re: [CMake] using arm toolchain and having issues with linux socket can Am Freitag, 16. September 2016, 22:13:14 schrieb Gunter, Walter E: > So, now that I am rocking and rolling using the corr

Re: [CMake] using arm toolchain and having issues with linux socket can

2016-09-16 Thread Gunter, Walter E
enterprise arm-none-linux-gnueabi-g++: CMakeFiles/enterprise.dir/..o: No such file or directory What does that mean? -Original Message- From: Rolf Eike Beer [mailto:e...@sf-mail.de] Sent: Friday, September 16, 2016 4:21 PM To: cmake@cmake.org Cc: Gunter, Walter E Subject: Re: [CMake] using arm

[CMake] is it worth using cmake to cross-compile for embedded arm device?

2016-09-16 Thread Gunter, Walter E
I am having some troubles getting cmake setup and wonder if cmake is the right tool. Thoughts? Suggestions? Walter E. Gunter, Jr. Mechatronics Engineer/Roboticist AGV R Dematic North America 265 S 5200 W Salt Lake City, UT 84104 801.715.2602 Customer Service 1.800.530.9153 DEMATIC l We

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

2016-09-16 Thread Gunter, Walter E
, September 15, 2016 11:13 AM To: Gunter, Walter E; cmake@cmake.org Subject: Re: [CMake] after running cmake, getting an error cannot find -levent 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

Re: [CMake] using arm toolchain and having issues with linux socket can

2016-09-19 Thread Gunter, Walter E
Checked all that...no issues with spelling of the source files... Super confused on this... -Original Message- From: Rolf Eike Beer [mailto:e...@sf-mail.de] Sent: Saturday, September 17, 2016 1:21 AM To: Gunter, Walter E Cc: cmake@cmake.org Subject: Re: [CMake] using arm toolchain

Re: [CMake] Correct way to use ARMCC (Files in Modules/Compiler/ARMCC*)

2016-09-19 Thread Gunter, Walter E
_INCLUDE_DIRECTORIES as workaround in our MinGW scripts and it works fine at the moment. Thanks for feedback :) -- Demelier David -- Message: 2 Date: Mon, 19 Sep 2016 11:16:13 +0200 From: Uwe Koloska <uwe.kolo...@voiceinterconnect.de> To: "Gunter, Wal

Re: [CMake] is it worth using cmake to cross-compile for embedded arm device?

2016-10-19 Thread Gunter, Walter E
Can I put that in my CMakeLists.txt? Or would it be used on the command line when running cmake: >Cmake –DCMAKE_TOOLCHAIN_FILE=cmake/toolchain.cmake –sysroot From: J Decker [mailto:d3c...@gmail.com] Sent: Wednesday, October 19, 2016 2:10 PM To: Gunter, Walter E Cc: Dave Flogeras; cm

Re: [CMake] is it worth using cmake finds toolchain, but cannot find PF_CAN - os it confused?

2016-10-19 Thread Gunter, Walter E
CAN' was not declared in this scope error: 'AF_CAN' was not declared in this scope That’s it..nothing else. Walter From: J Decker [mailto:d3c...@gmail.com] Sent: Wednesday, October 19, 2016 2:10 PM To: Gunter, Walter E Cc: Dave Flogeras; cmake@cmake.org Subject: Re: [CMake] is it worth using cmake to cross-comp

Re: [CMake] is it worth using cmake to cross-compile for embedded arm device?

2016-10-19 Thread Gunter, Walter E
om: dfloge...@gmail.com [mailto:dfloge...@gmail.com] On Behalf Of Dave Flogeras Sent: Friday, September 16, 2016 5:43 PM To: Gunter, Walter E Subject: Re: [CMake] is it worth using cmake to cross-compile for embedded arm device? I personally use cmake with multiple cross toolchains successfully