Hello,
I am successfully able to use CMake to generate the OpenCV dynamic library.
The program I am working on is giving me errors loading these libraries, so
I am trying to compile static libraries instead.
So, I set the following:
BUILD_SHARED_LIBS:BOOL=OFF
and fail with:
ld: library not f
Am 01.08.2012 12:34, schrieb João Pinto:
I need to use a variable X when setting CMAKE_C_LINK_EXECUTABLE. The
problem is that X is defined after the definition of
CMAKE_C_LINK_EXECUTABLE, and if I simply use ${X} (when defining
CMAKE_C_LINK_EXECUTABLE ), the expansion of X will be empty. So my
q
I need to use a variable X when setting CMAKE_C_LINK_EXECUTABLE. The
problem is that X is defined after the definition of
CMAKE_C_LINK_EXECUTABLE, and if I simply use ${X} (when defining
CMAKE_C_LINK_EXECUTABLE ), the expansion of X will be empty. So my question
is if there is any option of delayin
Am 2012-08-01 08:53, schrieb Collin Eggert:
Hello,
I am working with cross-compiling code using CMake. I am able to get
the following CMakeLists.txt to work:
# --
SET(CMAKE_TOOLCHAIN_FILE ../toolchain/Prizm.cmake)
project(example1)
file(GLOB EXAMPLE1_SRC "src/example1/*.c*")
add_execu