Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling errors after upgrade to javacv 1.0 #182

Closed
jason-lau opened this issue Jul 17, 2015 · 4 comments
Closed

Compiling errors after upgrade to javacv 1.0 #182

jason-lau opened this issue Jul 17, 2015 · 4 comments
Labels

Comments

@jason-lau
Copy link

Hello, I have an Androind project using javacv. I recently updated it from javacv 0.10 to javacv 1.0 and got many compiling errors. The following are some examples:

The import org.bytedeco.javacpp.opencv_core.CvFont cannot be resolved
opencv_core.CV_FONT_HERSHEY_PLAIN cannot be resolved
opencv_core.CV_AA cannot be resolved
The method cvRectangle(opencv_core.IplImage, opencv_core.CvPoint, opencv_core.CvPoint, opencv_core.CvScalar, int, int, int) is undefined for the type opencv_core
The method cvGetTextSize(String, opencv_imgproc.CvFont, opencv_core.CvSize, int[]) is undefined for the type opencv_core

Am I doing something wrong to cause these errors?

Thanks for your help.

@saudet
Copy link
Member

saudet commented Jul 17, 2015

No, with OpenCV 3.0, those have just been moved to the opencv_imgproc module, that's all.

@saudet saudet closed this as completed Jul 17, 2015
@jason-lau
Copy link
Author

Thanks for the reply. I can now get the project to compile but get an error
when executing the following statement:

CvFont font = new CvFont();

Error: 07-19 17:29:46.407: A/libc(6529): Fatal signal 11 (SIGSEGV) at
0x00000028 (code=1), thread 6545 (Thread-2166)

@saudet
Copy link
Member

saudet commented Jul 20, 2015

This might be related to issue #179. Please try the new binaries there.

@jason-lau
Copy link
Author

I installed the new binaries and the error is fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants