Installing OpenCV for xCode issue - ios

I could not install/build openCV for xCode. I get this following error in the last command given in this installation document link. http://docs.opencv.org/2.4/doc/tutorials/introduction/ios_install/ios_install.html
Error is File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd
When giving python opencv/platforms/ios/build_framework.py ios command. Can you please suggest help on this ? Have installed cmake using homebrew.

Hi I was facing the same problem but was resolved.Please check out same question asked by me.A guy answered this question.Please check out this link and let me know if it helps
OPEN CV iOS installation

After cmake installaion, I directly downloaded openCV for mac and used its framework.

Related

'openssl/conf.h' file not found error on on MacOS Big Sur

I am currently attempting to run an xcode project that creates a Vapor server for the ios application, however, I get an error complaining that 'openssl/conf.h' file is not found. I also get Could not build Objective-C module 'CNIOOpenSSL' on the import package, but I suspect that this is linked to the file not being found by the compiler. I have already brew installed vapor using these instructions https://stackoverflow.com/que[enter image description here]1stions/43070534/openssl-ctls-trouble-with-vapor-2, but no luck. I also installed openssl and libressl, but same results. Any suggestions on what I may be missing? I've linked screenshots of the error below.enter image description here
For me it was installing old version of openssl - openssl 1.1 and setting
echo 'export PATH="/usr/local/opt/openssl#1.1/bin:$PATH"' >> ~/.bash_profile

Problem with OpenCV C++ Ubuntu 16.04-/usr/bin/ld: cannot find -lopencv_*

I am new to Ubuntu. I installed OpenCV following http://milq.github.io/install-opencv-ubuntu-debian/. Note that opencv_contrib are not installed. I had an error initially that opencv4.pc file was not found which I corrected by creating a new opencv4.pc in usr/local/lib and making appropriate changes in ~/.bashrc file. Now the error while compiling using c++ file from :
https://cv-tricks.com/installation/opencv-4-1-ubuntu18-04/.
This is the error I got:
.
I tried to locate the missing files in other locations but I was unable to find them. Please help me solve my problem.

OpenCV for image detection and analyzing in iOS

I want to use opencv in iOS app. I cloned openCV through terminal (git clone https://github.com/opencv/opencv.git) for building opencvframework.
I used this command python opencv/platforms/ios/build_framework.py ios as per official opencv website's tutorial but i get an error that say
ERROR: Command '['xcodebuild', '-version']' returned non-zero exit
status 1
I think that might be opencv compatitibility error. I am using Xcode 8.2.1 in MAC OSX El capitan. Can somebody tell me what am i doing wrong?
There is a same issue on Github, and it looks has been fixed:
https://github.com/opencv/opencv/issues/6093
Please check:
If I add "#include " in gzguts.h, this error can be fixed.
And I have successfully build the framework under maxOS Sierra 10.12.6 and Xcode 8.3.3:
You could download it directly from link: http://onqouewnn.bkt.clouddn.com/opencv2.framework.zip

Cocos2d-x v3 from github : Don't have glfw3.h

After I followed the steps on how to run cpp test on Mac OsX, there is an error when I run it in Xcode. It says that:
#include "glfw3.h <--- file not found
When I checked the folder, where I downloaded it from github, it seems that there is no glfw folder or even a file that was needed here.
So probably the files are missing. Please guide me on what could be done here to resolve this issue. Need guidance. I am using OS X version 10.9 and have Xcode 5.1.
Did you read the doc?
You need to run python download-deps.py

Build VLC for iOS, get the "FFTW3 lib not found. Set FFTW3_DIR to find it." error

I want to build vlc for iOS.
My environment is MacOS 10.8.3, Xcode4.6.2 with iOS6.1 SDK.
I cloned the vlc lib form https://github.com/videolan/vlc.git, cd into the /extras/package/ios, and run the build.sh in terminal, everything goes okay except when I start making the chromaprint, I got this error:
FFTW3 lib not found. Set FFTW3_DIR to find it.
CMake Error at CMakeLists.txt:114 (message):
Neither FFmpeg with avfft.h nor FFTW3 found
This is because chromaprint needs the fft library, it will find FFMPEG and also FFTW3.
I want to use the FFMPEG for an fft calculation, so I have download a copy of ffmpeg source code and complied it,the libs and headers are in the directories: /Users/king/ffmpeg/complied/include and /Users/king/ffmpeg/complied/lib,
then I set the FFMPEG_ROOT as /Users/king/ffmpeg/complied in the cmake/modules/FindFFmpeg.cmake, just before the FIND_PATH() function.
something like : set(${FFMPEG_ROOT} /Users/king/ffmpeg/complied)
,I hope the FIND_PATH() can find the releated libs and headers, this doesn't work.
So my question is, How do i set the FFMPEG path or FFTW3_DIR for chromaprint?
Thanks in advance, I am really run out of my head!
I have same problem on VLC Windows cross build.
After I upgrade cmake to 3.22.0, this problem is fixed.
I download latest cmake source code and build.
I also download fftw3 package and extracted under /home/[username]/fftw3.
Set FFTW3_DIR to ~/fftw3 by
export FFTW3_DIR=/home/[username]/fftw3

Resources