Giter Site home page Giter Site logo

homeless's People

Contributors

laabicz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeless's Issues

Incorrect path for libgio/gstreamer

With the default locations for the files after the install the following error was occurring. I was able to copy the gstreamer directory from lib to the application directory and allow the program to run correctly.

Starting video...

GSVideo version: 1.0.0
Exception in thread "Animation Thread" java.lang.UnsatisfiedLinkError: can't load library gio-2.0 (gio-2.0|libgio-2.0|li
bgio-2.0-0) with -Djna.library.path=C:/Users/Thomas/Downloads/HomeLess/HomeLESS_HA_1_2b_win32\gstreamer\windows32. Last
error:java.lang.UnsatisfiedLinkError: Unable to load library 'gio-2.0': The specified module could not be found.

    at codeanticode.gsvideo.GSLibraryLoader.loadLibrary(Unknown Source)
    at codeanticode.gsvideo.GSLibraryLoader.load(Unknown Source)
    at codeanticode.gsvideo.GSLibraryLoader.preLoadLibs(Unknown Source)
    at codeanticode.gsvideo.GSLibraryLoader.getInstance(Unknown Source)
    at codeanticode.gsvideo.GSVideo.initImpl(Unknown Source)
    at codeanticode.gsvideo.GSVideo.init(Unknown Source)
    at codeanticode.gsvideo.GSCapture.initGStreamer(Unknown Source)
    at codeanticode.gsvideo.GSCapture.<init>(Unknown Source)
    at HomeLESS_Hit_Analyzer.camera_setup(HomeLESS_Hit_Analyzer.java:884)
    at HomeLESS_Hit_Analyzer.setup(HomeLESS_Hit_Analyzer.java:132)
    at processing.core.PApplet.handleDraw(PApplet.java:2280)
    at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
    at processing.core.PApplet.run(PApplet.java:2176)
    at java.lang.Thread.run(Unknown Source)

Terminate batch job (Y/N)? y

Unable to Hear Sound/s while Hitting Target

I am not able to get any sound while shooting the Target. i.e GUN SHOT (default_gunshot.mp3) is not loading. Rest of the application is running fine. But NO Sounds.

Please can someone help me with this.

Won't run: Error lookup up function 'gst_date_get_type'

Homeless Hit analyzer does not run on Ubuntu 18.04 with either Openjdk 11 or even the unacceptable license oracle java 17.
java.lang.UnsatisfiedLinkError: Error looking up function 'gst_date_get_type': /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1405.0:
undefined symbol: gst_date_get_type
at com.sun.jna.Function.(Function.java:212)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:541)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:518)
at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:504)
at com.sun.jna.Library$Handler.invoke(Library.java:220)
at jdk.proxy1/jdk.proxy1.$Proxy2.gst_date_get_type(Unknown Source)
at org.gstreamer.glib.GDate.(GDate.java:40)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1155)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:42)
at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:185)
at java.base/java.lang.reflect.Field.acquireFieldAccessor(Field.java:1132)
at java.base/java.lang.reflect.Field.getFieldAccessor(Field.java:1113)
at java.base/java.lang.reflect.Field.get(Field.java:425)
at org.gstreamer.Gst.getField(Gst.java:447)
at org.gstreamer.Gst.registerClass(Gst.java:460)
at org.gstreamer.Gst.loadAllClasses(Gst.java:471)
at org.gstreamer.Gst.init(Gst.java:338)
at processing.video.Video.initImpl(Unknown Source)
at processing.video.Video.init(Unknown Source)
at processing.video.Capture.list(Unknown Source)
at processing.video.Capture.list(Unknown Source)
at HomeLESS_Hit_Analyzer.camera_setup(HomeLESS_Hit_Analyzer.java:2190)
at HomeLESS_Hit_Analyzer.setup(HomeLESS_Hit_Analyzer.java:166)
at processing.core.PApplet.handleDraw(PApplet.java:2393)
at processing.awt.PSurfaceAWT$12.callDraw(PSurfaceAWT.java:1540)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:316)

i want to modify in java

i want to modify the code in java eclipse but i have the following error how to solve it and any insight on it will be help full....

Unable to load image from file 'graphics/general_settings_1.png'
The file "graphics/general_settings_1.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
Unable to load image from file 'graphics/general_settings_2.png'
The file "graphics/general_settings_2.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.
The file "graphics/general_settings_3.png" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.Unable to load image from file 'graphics/general_settings_3.png'

Exception in thread "Animation Thread" java.lang.NullPointerException
at g4p_controls.GImageButton.(Unknown Source)
at g4p_controls.GImageButton.(Unknown Source)
at HomeLESS_Hit_Analyzer1.create_button_win_genereal_settings(HomeLESS_Hit_Analyzer1.java:269)
at HomeLESS_Hit_Analyzer1.setup(HomeLESS_Hit_Analyzer1.java:114)
at processing.core.PApplet.handleDraw(PApplet.java:2280)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)
at processing.core.PApplet.run(PApplet.java:2176)
at java.lang.Thread.run(Thread.java:745)

What version of which library is needed to run this

Hi!

I Am trying to develop this further in order to post the scores online as soon as the system registers them, but I can't get the the project running in processing, as it seems to require specific versions of the libraries. The winbundle version runs fine. The error is:

"The class guicomponents.GTextField is incompatible with Processing 2.0.
A library (or other code) is using registerKeyEvent() which is no longer available."

So It seems that guicomponents does not work with Processing 2.* I am running processing 2.2.1.

License?

Can you please specify under which license is this code available?

NullPointerException in "Animation Thread"

Hi guys,
I have a problem with running Hit_Analyzer both Linux and Windows version.

Stack trace:
(java.exe:11356): Glib-GObject-CRITICAL **: file ......\gobject\gobject.c: lin
e 2299: assertion `G_IS_OBJECT (object)' failed

** (java.exe:11356): CRITICAL **: file ......\Source\gstreamer\gst\gstelement.
c: line 3119: assertion `GST_IS_ELEMENT (element)' failed
Exception in thread "Animation Thread" java.lang.NullPointerException
at org.gstreamer.Pipeline.initBus(Pipeline.java:161)
at org.gstreamer.Pipeline.(Pipeline.java:116)
at codeanticode.gsvideo.GSCapture.initGStreamer(Unknown Source)
at codeanticode.gsvideo.GSCapture.(Unknown Source)
at HomeLESS_Hit_Analyzer.camera_setup(HomeLESS_Hit_Analyzer.java:884)
at HomeLESS_Hit_Analyzer.setup(HomeLESS_Hit_Analyzer.java:132)
at processing.core.PApplet.handleDraw(PApplet.java:2280)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:243)

    at processing.core.PApplet.run(PApplet.java:2176)
    at java.lang.Thread.run(Unknown Source)

Is there any workaround?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.