Ask Your Question
-2

Error Importing OpenCV4Android into eclipse

asked 2012-10-31 14:01:54 -0600

Cadtech gravatar image

updated 2012-11-01 10:31:07 -0600

Kirill Kornyakov gravatar image

I followed the Documentation here... I follow Exactly from step one down to step six... Which is The image where it shows the "False errors" after importing an existing project... Once I click finish Eclipse closes and a window with an error pops up... I am using all the updated software from eclipse (juno); Android SDK and the NDK and the like; Also I am using the OpenCV4Android v2.3.4rc... Based on the images of the tutorial, someone is using the Juno eclipse IDE...

Any thoughts as to why I get a error from eclipse and making it close after I follow the tutorial to the letter? Once I try to re-open eclipse after it force closes, I get the same error, so it is a loop and I can not work with eclipse period... I can tell you once I delete the workspace for OpenCV4Android eclipse will open fine, so it is indeed the files that come with the zip file from the website for v 2.3.4rc

Error: only thing I did was delete the system info and Username info from exact bottom of txt file

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000256d243, pid=5220, tid=796
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# j  org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPSemantics.expandUsingDeclarationsAndRemoveObjects([Lorg/eclipse/cdt/core/dom/ast/IBinding;Z)[Lorg/eclipse/cdt/core/dom/ast/IBinding;+0
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

---------------  T H R E A D  ---------------

Current thread (0x000000000f91b800):  JavaThread "Worker-7" [_thread_in_Java, id=796, stack(0x00000000152e0000,0x00000000153e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x000000000069007c

Registers:
RAX=0x0000000000690074, RBX=0x0000000000000492, RCX=0x00000000d5c7a230, RDX=0x00000000d5c7f920
RSP=0x00000000153ddd68, RBP=0x00000000153ddda8, RSI=0x000000000f6ee848, RDI=0x0000000002555ea3
R8=0x000000000f91b800, R9=0x0000000000000006, R10=0x000000006de6e6f0, R11=0x00000000153ddd08
R12=0x0000000000000000, R13=0x00000000d5c8a39e, R14=0x00000000153ddde8, R15=0x000000000f91b800
RIP=0x000000000256d243, EFLAGS=0x0000000000010246

...
edit retag flag offensive close merge delete

Comments

1

You're the first with such issue, so it is possible that something wrong with your environment. I can suggest you a couple of things: 1. Try to use another workstation. 2. If you're not using NVIDIA TADP, try it. Or, if you're using it, try without it :)

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-11-01 02:12:29 -0600 )edit

Kirill, Thanks for getting back to me on a timely manner... I think I may have found out the issue... For some reason, I either thought I had updated my Java run time or it never updated on a fluke... But Once I was able to update my java runtime to 7, I got rid of the closing loop for eclipse...

P.S. I am currently not using the Nvidia development kit... I am using just Classic Eclipse Juno, with your OpenCV4android 2.4.3RC and all the updated files needed by the Android sdk...

P.S.S. I am going to try the samples and see how that goes...

Cadtech gravatar imageCadtech ( 2012-11-01 08:14:24 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-11-09 13:26:26 -0600

Cadtech gravatar image

updated 2012-11-09 13:28:55 -0600

If using Juno version of Eclipse, Make sure to have installed the JDK or the like with the newest version... I needed something higher than 6... Version 7 cleared this up...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-31 14:01:54 -0600

Seen: 443 times

Last updated: Nov 09 '12