Anonymous - 2012-11-17

Hi,

I tried running the lti-civil demonstration.  This is what happened:

lti-civil-20070920-1721>java -classpath lti-civil-no_s_w_t.jar -Djava.library.path="native/win32-x86"com.lti.civil.webcam.CivilJPEGServer
Exception in thread "main" com.lti.civil.CaptureException: java.lang.UnsatisfiedLinkError: lti-civil-20070920-721\native\win32-x86\civil.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
        at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem
(NativeCaptureSystemFactory.java:24)
        at com.lti.civil.webcam.CivilJPEGServer.main(CivilJPEGServer.java:24)
Caused by: java.lang.UnsatisfiedLinkError: lti-civil-20070920-1721\native\win32-x86\civil.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at com.lti.civil.impl.jni.NativeCaptureSystemFactory.createCaptureSystem
(NativeCaptureSystemFactory.java:21)
        … 1 more

So it appears that I need a 64-bit civil DLL.  The lti-civil distribution appears not to have a 64-bit version.

Any suggestions on how to work around this?  For example, where to find a 64-bit lti-civll DLL?  Or do I have to build it myself?  I can do that, it's just that it is much further down this Marvin/FMJ/LTI-CIVIL rabbit hole than I intended to go.

Has anyone tried to build LTI-CIVIL as 64-bit?  Any issues with that?