Hi,

 

I want to build the opencv lib with the cl6x compile for a dsp platform
under linux.

For that I use the following toolchain file:

 

set(CMAKE_SYSTEM_NAME Linux )

set(DVSDK_HOME /home/developer/ti-dvsdk_omapl138-evm_04_02_00_06)

SET(CMAKE_FIND_ROOT_PATH ${DVSDK_HOME}/cgt6x_6_1_14)

set(CMAKE_C_COMPILER ${DVSDK_HOME}/cgt6x_6_1_14/bin/cl6x)

set(CMAKE_STRIP ${DVSDK_HOME}/cgt6x_6_1_14/bin/strip6x)

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_C_LINK_EXECUTABLE "${DVSDK_HOME}/cgt6x_6_1_14/bin/cl6x -g -d_DEBUG
-q -ml3 -mv6740 -rtti -I${DVSDK_HOME}/cgt6x_6_1_14/include
-I${DVSDK_HOME}/cgt6x_6_1_14/lib")

 

 

And this is the error message:

 

-- The C compiler identification is TI_DSP

-- The CXX compiler identification is GNU 4.4.3

-- Check for working C compiler:
/home/developer/ti-dvsdk_omapl138-evm_04_02_00_06/cgt6x_6_1_14/bin/cl6x

-- Check for working C compiler:
/home/developer/ti-dvsdk_omapl138-evm_04_02_00_06/cgt6x_6_1_14/bin/cl6x --
works

-- Detecting C compiler ABI info

CMake Error at
/usr/local/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:31
(TRY_COMPILE):

  Cannot copy output executable

 

    ''

 

  to destination specified by COPY_FILE:

 

 
'/home/developer/OpenCV-2.3.1/build/CMakeFiles/CMakeDetermineCompilerABI_C.b
in'

 

  Unable to find the executable at any of:

 

 
/home/developer/OpenCV-2.3.1/build/CMakeFiles/CMakeTmp/cmTryCompileExec26378
97029

 
/home/developer/OpenCV-2.3.1/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExe
c2637897029

 
/home/developer/OpenCV-2.3.1/build/CMakeFiles/CMakeTmp/Development/cmTryComp
ileExec2637897029

 

Call Stack (most recent call first):

  /usr/local/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)

  CMakeLists.txt:40 (project)

 

 

-- Detecting C compiler ABI info - done

CMake Error at
/usr/local/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:48
(FILE):

  file STRINGS file

 
"/home/developer/OpenCV-2.3.1/build/CMakeFiles/CMakeDetermineCompilerABI_C.b
in"

  cannot be read.

Call Stack (most recent call first):

  /usr/local/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)

  CMakeLists.txt:40 (project)

 

 

Has anyone an idea?

 

Thanks

            Antje

 

--

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

Reply via email to