Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble on Running Script #2

Closed
yangyanzhe opened this issue Aug 4, 2015 · 5 comments
Closed

Trouble on Running Script #2

yangyanzhe opened this issue Aug 4, 2015 · 5 comments

Comments

@yangyanzhe
Copy link

Hi,

Thanks for your working. I encounter some problems and hope to get help. Does anyone else encounter the same problem?

I work under Ubuntu 14.04 with JAVA 1.8.0_51(Oracle). The binary is downloaded from the link in readme.md. When I execute ./procamcalib-oceanlook or ./procamcalib-nativelook, it will crash. The traceroute is shown below:

SEVERE: Could not start ProCamCalib
java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.opencv_core
    at org.bytedeco.procamcalib.MainFrame.<init>(MainFrame.java:204)
    at org.bytedeco.procamcalib.MainFrame$25.run(MainFrame.java:1309)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.opencv_core
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:348)
    at org.bytedeco.javacpp.Loader.load(Loader.java:390)
    at org.bytedeco.javacpp.Loader.load(Loader.java:358)
    at org.bytedeco.javacpp.opencv_core$CvErrorCallback.<clinit>(opencv_core.java:8233)
    at org.bytedeco.procamcalib.MainFrame.<init>(MainFrame.java:186)
    ... 15 more

Look forward to your reply.

Thanks!

@yangyanzhe
Copy link
Author

I change the platform to be Windows 7 with JAVA 1.8.0(Oracle). No problem.

@saudet
Copy link
Member

saudet commented Aug 5, 2015

This means your version of Linux is using old version of the system libraries:
bytedeco/javacpp-presets#22
Please try to rebuild from source.

@saudet
Copy link
Member

saudet commented Aug 6, 2015

FYI, some precompiled binaries are available here:
https://github.com/poqudrof/javacpp-presets/releases/tag/1.0

@yangyanzhe
Copy link
Author

Thanks for your reply. 👍

@saudet
Copy link
Member

saudet commented Oct 30, 2015

This should be fixed in version 1.1. Thanks for reporting!

@saudet saudet closed this as completed Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants