Comments (6)
Having OpenCV 2.2. installed and in PATH is irrelevant. We use OpenCV 1.1 pre for this project and the source is already included and built when you build. Someone else has also reported the same problem you are running into, but unfortunately I don't have a Windows machine to debug this. The other person eventually gave up and used Linux to build. If that isn't an option for you, then I would appreciate your help investigating. Here are the instructions I gave to the other person:
Everything built except for the opencv module which requires linking to all of the other libraries. The only thing I can guess is that one of two things is happening:
* On your machine TARGET_OUT is not pointing to [ROOT OF OPENCV PRJ]/obj/local/armeabi
o You might try hard-coding the path in there and removing -L$(TARGET_OUT). See if that works. If it doesn't then the other problem might be...
* ld.exe isn't respecting that -lcxcore is a reference to libcxcore.a
o You might try reading the documentation for ld.exe and see if there are some rules that are different about the Windows implementation from the Linux / Mac implementation.
Let me know if you make any progress as I would like to warn others.
from opencv-android.
I struggled with this for way to long now and finally it worked. Setting the search path with -L to an absolute path instead of TARGET_OUT helped.
LOCAL_LDLIBS := -L $(SYSROOT)/usr/lib -l dl -l log \
-L "D:\OpenCV-Android\obj\local\armeabi" \
-l cxcore -l cv -l cvaux -l cvml -l cvhighgui
from opencv-android.
Hello
I had the same problem and this solution helped me out...
I just wonder if is there a neater way to do it...
thanks
from opencv-android.
Xirus,
I'm stuck on Android 1.6 platform because the project I am working on requires it for now. You might want to look at the official OpenCV project by Willow Garage if you are able to use newer versions of Android.
http://opencv.willowgarage.com/wiki/Android
from opencv-android.
Thanks - I will have a look.
Another problem:
I am trying the open the OpenCVSample project with eclipse.
I just started with Android so perhaps I am doing something wrong.
Thanks
Jay
-----Original Message-----
From: billmccord [mailto:[email protected]]
Sent: Sunday, August 07, 2011 1:49 AM
To: [email protected]
Subject: Re: [OpenCV-Android] Unable to build on Windows (#18)
Xirus,
I'm stuck on Android 1.6 platform because the project I am working on requires it for now. You might want to look at the official OpenCV project by Willow Garage if you are able to use newer versions of Android.
http://opencv.willowgarage.com/wiki/Android
Reply to this email directly or view it on GitHub:
#18 (comment)
from opencv-android.
You haven't described the problem you are seeing? You are trying to open the OpenCVSample and ... what?
from opencv-android.
Related Issues (20)
- simple OpenCVSample failed with segmentation fault HOT 1
- Enhancement to support Android 1.5 HOT 1
- VideoEmulation - Fatal Exception initFaceDetection HOT 3
- VideoEmulation - Don't show image HOT 1
- Error during Load of cascade file HOT 1
- (Not really and Issue) Very slow performance with VideoEmulation HOT 1
- Crash on mobile phone HOT 1
- I want to open jpg or png files but I cannot open them.
- VideoEmulation Issues
- how can compile it with cygwin HOT 1
- undefined reference
- Core.putText() chinese words show "???" HOT 1
- why preview picture is left-right-reverse ?
- How to manage an image with the library? HOT 1
- OpenCV sample not working on Moto Droid HOT 3
- Current structure will not work on latest Android NDK r4 HOT 3
- Segmentation fault in VideoEmulation HOT 6
- (Not really an issue...) Any differences between this OpenCV-Android and "official" OpenCV project? HOT 3
- New build instructions for android-ndk-r4 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencv-android.