Ask Your Question

momomonet's profile - activity

2012-11-15 03:45:48 -0500 asked a question Building opencv framework ios6 - dynamic link pb

Hello,

I tried to follow the installation tutorial: http://docs.opencv.org/trunk/doc/tutorials/introduction/ios_install/ios_install.html

but in the second part, building opencv from source, it doesn't work. It looks like my dynamic link is not working:

cd /
sudo ln -s /Applications/Xcode.app/Contents/Developer Developer

I have the following errors:

-- Setting up iPhoneOS toolchain
-- iPhoneOS toolchain loaded
-- The CXX compiler identification is unknown
CMake Error at /opt/local/share/cmake-2.8/Modules/CMakeFindBinUtils.cmake:71 (MESSAGE):
  Could not find install_name_tool, please check your installation.
Call Stack (most recent call first):
  /opt/local/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:176 (INCLUDE)
  CMakeLists.txt:61 (project)


CMake Error: Could not find cmake module file:/Users/morganbigot/Desktop/OpenCV_ios6/ios/build/iPhoneOS-armv7/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: Could not find cmake module file:/Users/morganbigot/Desktop/OpenCV_ios6/ios/build/iPhoneOS-armv7/CMakeFiles/CMakeCCompiler.cmake
-- Configuring incomplete, errors occurred!
User defaults from command line:
    IDEBuildOperationMaxNumberOfConcurrentCompileTasks = 8

Build settings from command line:
    ARCHS = armv7
    SDKROOT = iphoneos6.0

xcodebuild: error: The directory /Users/morganbigot/Desktop/OpenCV_ios6/ios/build/iPhoneOS-armv7 does not contain an Xcode project.

Build settings from command line:
    ARCHS = armv7
    SDKROOT = iphoneos6.0

xcodebuild: error: The directory /Users/morganbigot/Desktop/OpenCV_ios6/ios/build/iPhoneOS-armv7 does not contain an Xcode project.

Does anyone knows how to generate the framework opencv?

Thanks. Morgan.