Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build Failed OpenCV2.4.5 in Mac

i have followed following step to install opencv in my mac. But i am getting build Failed message.

What is the solution for this ?

==================================

1) Create a New Folder OpenCV in desktop.//Working Directory.//

2) In Terminal

cd /Users/administrator/Desktop/OpenCV

3)In Terminal

git clone https://github.com/Itseez/opencv.git

Now you have the Cutting-edge OpenCV from Git Repository

4) Now install CMake software

http://www.cmake.org/files/v2.8/cmake-2.8.11-Darwin64-universal.dmg

5) In Terminal

cd /

6)In Terminal

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

7)Again open your working directory

cd /Users/administrator/Desktop/OpenCV

8)In Terminal

python opencv/ios/build_framework.py ios

//**** BUILD FAILED ******//

* BUILD FAILED *

The following build commands failed: Libtool /Users/administrator/Desktop/OpenCV/ios/build/iPhoneSimulator-i386/modules/world/UninstalledProducts/libopencv_world.a normal i386 (1 failure) Traceback (most recent call last): File "opencv/ios/build_framework.py", line 128, in <module> build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1])) File "opencv/ios/build_framework.py", line 120, in build_framework put_framework_together(srcroot, dstroot) File "opencv/ios/build_framework.py", line 88, in put_framework_together shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers") File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2' administrators-iMac-2:OpenCV administrator$

Build Failed OpenCV2.4.5 in Mac

i have followed following step to install opencv in my mac. But i am getting build Failed message.

What is the solution for this ?

==================================

1) Create a New Folder OpenCV in desktop.//Working Directory.//

2) In Terminal

cd /Users/administrator/Desktop/OpenCV

3)In Terminal

git clone https://github.com/Itseez/opencv.git

Now you have the Cutting-edge OpenCV from Git Repository

4) Now install CMake software

http://www.cmake.org/files/v2.8/cmake-2.8.11-Darwin64-universal.dmg

5) In Terminal

cd /

6)In Terminal

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

7)Again open your working directory

cd /Users/administrator/Desktop/OpenCV

8)In Terminal

python opencv/ios/build_framework.py ios

//**** BUILD FAILED ******//

* BUILD FAILED *

The following build commands failed: Libtool /Users/administrator/Desktop/OpenCV/ios/build/iPhoneSimulator-i386/modules/world/UninstalledProducts/libopencv_world.a normal i386 (1 failure) Traceback (most recent call last): File "opencv/ios/build_framework.py", line 128, in <module> build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1])) File "opencv/ios/build_framework.py", line 120, in build_framework put_framework_together(srcroot, dstroot) File "opencv/ios/build_framework.py", line 88, in put_framework_together shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers") File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2' administrators-iMac-2:OpenCV administrator$

Build OpenCV 2.4 build Failed OpenCV2.4.5 error while creating iOS framework in Mac

i have followed following step to install opencv in my mac. But i am getting build Failed message.

What is the solution for this ?

==================================

1) Create a New Folder OpenCV in desktop.//Working Directory.//

2) In Terminal

cd /Users/administrator/Desktop/OpenCV

3)In Terminal

git clone https://github.com/Itseez/opencv.git

Now you have the Cutting-edge OpenCV from Git Repository

4) Now install CMake software

http://www.cmake.org/files/v2.8/cmake-2.8.11-Darwin64-universal.dmg

5) In Terminal

cd /

6)In Terminal

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

7)Again open your working directory

cd /Users/administrator/Desktop/OpenCV

8)In Terminal

python opencv/ios/build_framework.py ios

//**** BUILD FAILED ******//

* BUILD FAILED *

The following build commands failed: Libtool /Users/administrator/Desktop/OpenCV/ios/build/iPhoneSimulator-i386/modules/world/UninstalledProducts/libopencv_world.a normal i386 (1 failure) Traceback (most recent call last): File "opencv/ios/build_framework.py", line 128, in <module> build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1])) File "opencv/ios/build_framework.py", line 120, in build_framework put_framework_together(srcroot, dstroot) File "opencv/ios/build_framework.py", line 88, in put_framework_together shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers") File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2' administrators-iMac-2:OpenCV administrator$

OpenCV 2.4 build Failed error while creating iOS framework in Mac

i I have followed the following step steps to install opencv in on my mac. But i I am getting build Failed a 'Build Failed' message.

What is the solution for this ?

==================================

1)


Steps that I have followed:

  1. Create a New Folder OpenCV in desktop.//Working Directory.//

    2) In Terminal

    Directory.

  2. In Terminal cd /Users/administrator/Desktop/OpenCV

    3)In Terminal

  3. In Terminal git clone https://github.com/Itseez/opencv.git

    Now you have the Cutting-edge

This results in the cutting edge OpenCV from Git Repository

4) GIT repository

  1. Now install CMake software

    http://www.cmake.org/files/v2.8/cmake-2.8.11-Darwin64-universal.dmg

    5) In Terminal

  2. In Terminal cd /

    6)In Terminal

  3. In Terminal sudo ln -s /Applications/Xcode.app/Contents/Developer Developer

    7)Again open your

  4. In Terminal cd /Users/administrator/Desktop/OpenCV (open working directory

    cd /Users/administrator/Desktop/OpenCV

    8)In Terminal

    directory)

  5. In Terminal python opencv/ios/build_framework.py ios

    //**** BUILD FAILED ******//

    * BUILD FAILED *

Result of this is the build failed message.

The following build commands failed:
Libtool /Users/administrator/Desktop/OpenCV/ios/build/iPhoneSimulator-i386/modules/world/UninstalledProducts/libopencv_world.a normal i386
(1 failure)
Traceback (most recent call last):
File "opencv/ios/build_framework.py", line 128, in <module>
build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1]))
File "opencv/ios/build_framework.py", line 120, in build_framework
put_framework_together(srcroot, dstroot)
File "opencv/ios/build_framework.py", line 88, in put_framework_together
shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'
administrators-iMac-2:OpenCV administrator$ 

administrator$

OpenCV 2.4 build Failed error while creating iOS framework in Mac

I have followed the following steps to install opencv on my mac. But I am getting a 'Build Failed' message.

What is the solution for this ?


Steps that I have followed:

  1. Create a New Folder OpenCV in desktop.//Working Desktop Working Directory.
  2. In Terminal cd /Users/administrator/Desktop/OpenCV
  3. In Terminal git clone https://github.com/Itseez/opencv.git

This results in the cutting edge OpenCV from GIT repository

  1. Now install CMake software
  2. In Terminal cd /
  3. In Terminal sudo ln -s /Applications/Xcode.app/Contents/Developer Developer
  4. In Terminal cd /Users/administrator/Desktop/OpenCV (open working directory)
  5. In Terminal python opencv/ios/build_framework.py ios

Result of this is the build failed message.

The following build commands failed:
    Libtool /Users/administrator/Desktop/OpenCV/ios/build/iPhoneSimulator-i386/modules/world/UninstalledProducts/libopencv_world.a normal i386
(1 failure)
Traceback (most recent call last):
  File "opencv/ios/build_framework.py", line 128, in <module>
    build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1]))
  File "opencv/ios/build_framework.py", line 120, in build_framework
    put_framework_together(srcroot, dstroot)
  File "opencv/ios/build_framework.py", line 88, in put_framework_together
    shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'
administrators-iMac-2:OpenCV administrator$