Hello, I'm very new to cmake and I'm attempting to build the webcamtools package. While I've been able to get CMake to work properly on the host I'm working on I really need it to configure for cross-compiling to a embedded ARM TS-7800 board. In reading through various documentation I've created my Toolchain.cmake file but the error I'm up against is "CMake Error: Error Processing file:". The host I'm running on is a fully patched intel debian 5.0.3 running as a VM session inside Virtual Box on a intel Mac. I'm using cmake 2.8.4. Below is a typescript of the session that gives the error. I'm also including the Toolchain-ts7800-arm.cmake file that I've created for this. I have not been able to find a way to get cmake to be more forthcoming about what the error is about much less fix it. the --debug-out didn't provide any info about the error either.
Thanks in advance, -Steve ---begin typescript of cmake run--- Script started on Sun 27 Feb 2011 01:19:09 PM CST [1]debian> cmake --version cmake version 2.8.4 [2]debian> cmake -CMAKE_TOOLCHAIN_FILE=/home/swt/work/Toolchain-ts7800-arm.cmake -DUVCVIDEO_INCLUDE_PATH=~/work/linux-2.6.34/drivers/media/video/uvc/ .. loading initial cache file MAKE_TOOLCHAIN_FILE=/home/swt/work/Toolchain-ts7800-arm.cmake CMake Error: Error processing file:MAKE_TOOLCHAIN_FILE=/home/swt/work/Toolchain-ts7800-arm.cmake ** Checking for uvcvideo ... ** Overriding uvcvideo.h search path: ~/work/linux-2.6.34/drivers/media/video/uvc/ ** Found Linux UVC Driver include file in: /home/swt/work/linux-2.6.34/drivers/media/video/uvc ** Using old-style uvcvideo.h from uvcvideo sources instead of public linux/uvcvideo.h. ** Checking for V4L2 ... ** Found V4L2 include file in: /usr/include ** Your V4L2 does NOT have V4L2_CTRL_TYPE_STRING support. Compiling WITHOUT raw control support. ** Installation directory for libwebcam: /usr/local/lib ** Debian package architecture: i386 ** Creating CPack configuration file for libwebcam ... ** Installation directory for uvcdynctrl: /usr/local/bin ** Debian package architecture: i386 ** Creating CPack configuration file for uvcdynctrl ... -- Configuring incomplete, errors occurred! [2]debian> exit exit Script done on Sun 27 Feb 2011 01:19:30 PM CST ---end typescript of cmake run--- ---begin Toolchain-ts7800-arm.cmake--- ## ## See www.vtk.orig/Wiki/CMake_Cross_Compiling for details ## # System name: Linux or Windows # set(CMAKE_SYSTEM_NAME Linux) # Indicate that we are cross compiling # set(CMAKE_CROSSCOMPILING TRUE) # Set the the processor # set(CMAKE_SYSTEM_PROCESSOR ARM) # Set the compilers # set(CMAKE_C_COMPILER /home/swt/work/toolchains/arm-2010.09/bin/arm-none-eabi-gcc) set(CMAKE_CXX_COMPILER /home/swt/work/toolchains/arm-2010.09/bin/arm-none-eabi-g++) # Set the root path to search for includes and libraries # set(CMAKE_FIND_ROOT_PATH /home/swt/work/linux-2.6.34/) #set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH) 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(BUILD /home/swt) ---end Toolchain-ts7800-arm.cmake---
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
