Re: [CMake] Issues with Library Dependency while building OpenCV Static

2012-08-12 Thread lvicks
Correction, the dynamic library was not linking, it simply wouldn't fail when it couldn't find libraries, which is why I had errors importing. I was able to fix this by forcing an include of /opt/local/lib in CMakeList.txt with: LINK_DIRECTORIES(/opt/local/lib) I am still confused why the abundan

[CMake] Issues with Library Dependency while building OpenCV Static

2012-08-01 Thread lvicks
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