Brave New 64-bit World

27 views
Skip to first unread message

supertick

unread,
Jul 16, 2012, 8:14:55 AM7/16/12
to jav...@googlegroups.com
Hello,
I have used JavaCV with no issues previously on 32 bit Windows & Linux machines. Now, after recently building & upgrading to the opencv 2.4.0 & javacv 1.0 level I've run into a bit of a conundrum (at least on Windows 7 / 64 bit).
I have read the http://code.google.com/p/javacv/wiki/Windows7AndOpenCV, since my current error, is the same.  I've downloaded and installed the "Microsoft Visual C++ 2010 Redistributable Package (x64)".
And before this I downloaded the OpenCV 2.4.0 and built a 64 bit release.

The opencv examples appear to work fine.  However, I still get "java.lang.UnsatisfiedLinkError: jniopencv_core4325488219047791738.dll: Can't find dependent libraries"

Any tests or suggestions I might try to resolve this?

Thanks for your work.
Regards,
Greg.

supertick

unread,
Jul 16, 2012, 5:47:01 PM7/16/12
to jav...@googlegroups.com
Here is some more information :
I put the opencv dlls on the PATH, but it did not seem to help.  On Linux I'd always have to set the LD_LIBRARY_PATH, but previously on Windows XP you only need to set the java.library.path Java argument, without the binaries being on the PATH.
I thought they might have changed this, but it has not loaded yet.

Samuel Audet

unread,
Jul 17, 2012, 8:18:56 AM7/17/12
to jav...@googlegroups.com
Follow, the instructions:
1. Install the runtime components of Microsoft Visual C++ 2010:
Microsoft Visual C++ 2010 Redistributable Package (x86)
http://www.microsoft.com/download/en/details.aspx?id=5555

On 2012-07-17 06:47, supertick wrote:
> Here is some more information :
> I put the opencv dlls on the PATH, but it did not seem to help. On Linux
> I'd always have to set the LD_LIBRARY_PATH, but previously on Windows XP
> you only need to set the java.library.path Java argument, without the
> binaries being on the PATH.
> I thought they might have changed this, but it has not loaded yet.
>
> On Monday, July 16, 2012 8:14:55 AM UTC-4, supertick wrote:
>
> Hello,
> I have used JavaCV with no issues previously on 32 bit Windows &
> Linux machines. Now, after recently building & upgrading to the
> opencv 2.4.0 & javacv 1.0 level I've run into a bit of a conundrum
> (at least on Windows 7 / 64 bit).
> I have read the
> http://code.google.com/p/javacv/wiki/Windows7AndOpenCV
> <http://code.google.com/p/javacv/wiki/Windows7AndOpenCV>, since my
> current error, is the same. I've downloaded and installed the
> "Microsoft Visual C++ 2010 Redistributable Package (x64)
> <http://www.microsoft.com/download/en/details.aspx?id=14632>".

supertick

unread,
Jul 18, 2012, 8:04:50 AM7/18/12
to jav...@googlegroups.com
I did read the README and did install the redistributablle package.
Regrettably, I did not check the implicit references to libraries, and although I was loading the correct version of 
JavaCV through a -jar argument, I had old references in the project properties. :P
Sorry for the red herring, and thanks for your patience.
Regards,
Greg.
Reply all
Reply to author
Forward
0 new messages