2011/2/28 Stephen Thomas <[email protected]>: > 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:".
[...] > ---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 You have a typo on your command line: -CMAKE_TOOLCHAIN_FILE=/home/swt/work/Toolchain-ts7800-arm.cmake should be -DCMAKE_TOOLCHAIN_FILE=/home/swt/work/Toolchain-ts7800-arm.cmake Thus the error: > MAKE_TOOLCHAIN_FILE=/home/swt/work/Toolchain-ts7800-arm.cmake > CMake Error: Error processing -C option is for preloading cache -D for defining some var value. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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
