Closed GoogleCodeExporter closed 9 years ago
Can you try to call Loader.load(opencv_core.class) before trying to create an
instance of DoublePointer?
Original comment by samuel.a...@gmail.com
on 10 Feb 2012 at 4:59
Oh wow dude you save me from my demo deadline. I am forever in dept with you. I
apologize if it was a noob question but I literally stay all night awake trying
to solve this problem.
Original comment by ayala.ac...@gmail.com
on 10 Feb 2012 at 5:28
It's not a stupid question, don't worry, it's a limitation of JavaCPP... :( I'm
not sure how to solve it gracefully... will leave this issue open until I
figure something out.
Original comment by samuel.a...@gmail.com
on 10 Feb 2012 at 11:52
I modified the constructors of these Pointer classes to throw a
RuntimeException that explains what should be done to resolve the issue, in the
case of DoublePointer, for example:
http://code.google.com/p/javacpp/source/browse/javacpp/src/main/java/com/googlec
ode/javacpp/DoublePointer.java#43
Let me know if this looks clear enough such that you would have known what to
do in the first place, thanks!
Original comment by samuel.a...@gmail.com
on 12 May 2012 at 12:15
Original issue reported on code.google.com by
ayala.ac...@gmail.com
on 9 Feb 2012 at 10:08