Hi,

It cannot seem to find the built gphoto2.dll.

I am not familar with Windows builds, so perhaps someone else can help.

Ciao, Marcus


On Wed, May 30, 2018 at 04:07:40PM -0300, Leonardo Oliveira wrote:
> Hello, I'm implementing on a system that I use a new function that is
> capturing image from a dslr camera, in question is the canon t3i. I use
> java with netbeans, and I'm using the x64 platform windowns, I downloaded
> the gphoto2 library and the demos, but it is not running, it gives the
> following error:
> Checking projects ...
> 
> -------------------------------------------------- ----------------------
> Building gphoto2-jna 1.1
> -------------------------------------------------- ----------------------
> 
> --- exec-maven-plugin: 1.2.1: exec (default-cli) @ gphoto2-jna ---
> Exception in thread "main" java.lang.UnsatisfiedLinkError: Can not load
> library 'gphoto2': Native library (win32-x86-64 / gphoto2.dll) not found in
> resource path ([file: / C: Desktop / gphoto2-jna-master / target / classes
> /, file:
> /Users/Leonardo/.m2/repository/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar,
> file: / C:
> /Users/Leonardo/.m2/repository/org/eclipse/jetty/orbit/javax.servlet/2.5.0.v201103041518/javax.servlet-2.5.0.v201103041518.jar,
> file: / C: / Users / Leonardo / .m2 / repository / org / eclipse / jetty /
> websocket / websocket-server / 9.3.12.v20160915 /
> websocket-server-9.3.12.v20160915.jar, file: / C: / Users / Leonardo / .m2
> / repository / org / eclipse / jetty / websocket / websocket-common /
> 9.3.12.v20160915 / websocket-common-9.3.12.v20160915.jar, file: / C:
> /Users/Leonardo/.m2/repository/ org / eclipse / jetty / websocket /
> websocket-api / 9.3.12.v20160915 / websocket-api-9.3.12.v20160915.jar,
> file: / C: / Users / Leonardo / .m2 / repository / org / eclipse / jetty /
> jetty-util / 9.3.12.v20160915 / jet ty-util-9.3.12.v20160915.jar, file: /
> C: / Users / Leon ardo / .m2 / repository / org / eclipse / jetty /
> jetty-io / 9.3.12.v20160915 / jetty-io-9.3. 12.v20160915.jar, file: / C:
> /Users/Leonardo/.m2/repository/org/ eclipse / jetty / websocket /
> websocket-client / 9.3.12.v20160915 / websocket-client-9.3.12.v20160915.jar
> , file: / C:
> /Users/Leonardo/.m2/repository/org/eclipse/jetty/websocket/websocket-servlet/9.3.12.v20160915/websocket-servlet-9.3.12.v20160915.jar,
> file: / C : /Users/Leonardo/.m2/repository/javax/servlet/javax.servlet-api/
> 3.1.0 / javax.servlet-api-3.1.0.jar, file: / C: /Users/Leonardo/.m2/
> repository / org / eclipse / jetty / jetty-servlet / 9.3.12.v20160915 /
> jetty-servlet -9.3.12.v20160915.jar, file: / C:
> /Users/Leonardo/.m2/repository/org/eclipse/jetty
> /jetty-security/9.3.12.v20160915/jetty-security-9.3.12.v20160915. jar,
> file: / C:
> /Users/Leonardo/.m2/repository/org/eclipse/jetty/jetty-server/9.3.12.v20160915/jetty-server-9.3.12.v20160915.jar,
> file: / C:
> /Users/Leonardo/.m2/repository/org/eclipse/jetty/jetty-http/9.3.12.v20160915/jetty-http-9.3.12.v20160915.jar])
> in com.sun.jna.NativeLibrary.loadLibrary (NativeLibrary.java:271)
> in com.sun.jna.NativeLibrary.getInstance (NativeLibrary.java:398)
> in com.sun.jna.NativeLibrary.getInstance (NativeLibrary.java:337)
> at x.mvmn.gphoto2.jna.Gphoto2Library. <clinit> (Gphoto2Library.java:26)
> at x.mvmn.gphoto2.jna.demo.TestSwingLiveView.newCamera
> (TestSwingLiveView.java:125)
> at x.mvmn.gphoto2.jna.demo.TestSwingLiveView.main
> (TestSwingLiveView.java:31)
> -------------------------------------------------- ----------------------
> CONSTRUCTION FAILURE
> -------------------------------------------------- ----------------------
> Total Time: 1.45s
> Completed on: Wed May 30 15:17:48 BRT 2018
> Final Memory: 5M / 155M
> -------------------------------------------------- ----------------------
> Failed to execute meta org.codehaus.mojo: exec-maven-plugin: 1.2.1: exec
> (default-cli) in project gphoto2-jna: Command execution failed. Process
> terminated with an error: 1 (output value: 1) -> [Help 1]
> 
> To see the full stack trace of the errors, run Maven again with the -e
> option.
> Run Maven again using the -X switch to enable full debug logging.
> 
> For more information about errors and possible solutions, read the
> following articles:
> [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> 
> In the absence of this implementation to finish my application, I will be
> immensely grateful if you can help me in correcting this error. I already
> downloaded the following files:
> http://github.com/mvmn/gphoto2-jna
> gphoto2-jna-demos
> 
> and when running the demos on netbeans it gives the above error, I do not
> know if I'm doing it wrong, because I'm not aware of this library, if you
> can inform me a more detailed example so I can analyze and study about ...
> I'm waiting.
> Best regards
> 
> -- 
> Atenciosamente.
> 
> Leonardo Oliveira
> 
> 
> AVISO LEGAL: Esta mensagem pode conter informações confidenciais e/ou
> legalmente protegidas. Caso recebida por engano, favor devolvê-la ao
> remetente e eliminá-la do seu sistema, não divulgando ou utilizando a
> totalidade ou parte desta mensagem ou dos documentos a ela anexados.
> 
> LEGAL NOTICE: This message may contain information of confidential nature
> and/or legally protected. If you have received this message by mistake,
> please reply to the sender, eliminate it from your system and do not
> disclose or use this message or the attached documents, in whole or in
> part.

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Gphoto-devel mailing list
> Gphoto-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gphoto-devel


-- 
Marcus Meissner,SUSE LINUX GmbH; Maxfeldstrasse 5; D-90409 Nuernberg; Zi. 
3.1-33,+49-911-740 53-432,,serv=loki,mail=wotan,type=real <meiss...@suse.de>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to