joshdoe / gst-plugins-vision

GStreamer plugins related to the field of machine vision
Other
133 stars 51 forks source link

Problems trying to compile on Ubuntu #6

Open uodukwe opened 4 years ago

uodukwe commented 4 years ago

Good day Josh, I can't build your plug-ins in Linux Ubuntu. When i run cmake, i get the following error:

Could NOT find GStreamer (missing: GSTREAMER_LIBRARY GSTREAMER_INCLUDE_DIR GSTREAMER_BASE_LIBRARY GSTREAMER_BASE_INCLUDE_DIR)

I know you mentioned that you ran and tested it on x86-64 Windows but do you know if i can run and build it under Linux Ubuntu 64?

joshdoe commented 4 years ago

Which specific plugins are you interested in? I mostly use Windows these days, unfortunately, but I know some have used these on Linux.

On Tue, Oct 1, 2019, 2:58 PM uodukwe notifications@github.com wrote:

Good day Josh, I can't build your plug-ins in Linux Ubuntu. When i run cmake, i get the following error:

Could NOT find GStreamer (missing: GSTREAMER_LIBRARY GSTREAMER_INCLUDE_DIR GSTREAMER_BASE_LIBRARY GSTREAMER_BASE_INCLUDE_DIR)

I know you mentioned that you ran and tested it on x86-64 Windows but do you know if i can run and build it under Linux Ubuntu 64?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/joshdoe/gst-plugins-vision/issues/6?email_source=notifications&email_token=AACRB5YBXPZ6FABDULFFYOTQMOMUPA5CNFSM4I4NQHL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO56EQA, or mute the thread https://github.com/notifications/unsubscribe-auth/AACRB53HIUUQHUWPLXNOL2TQMOMUPANCNFSM4I4NQHLQ .

uodukwe commented 4 years ago

The end goal is to use all of them.

However, as a start, i want to use the Gige Pleora plug in

joshdoe commented 4 years ago

@uodukwe did you intend to close the issue? I'm surprised you want to use all the plugins, some are very esoteric, and a few are Windows-only (like NI IMAQ and NI IMAQdx).

Pleora eBUS SDK does support Linux, and I think should require little to no changes in the source code. However, it will need changes to the CMake files.

The specific error you're seeing can be addressed by looking in FindGStreamer.cmake. Maybe pkg-config isn't being found. I might be able to look into this, but not sure when, as I don't have Ubuntu up at the moment.

uodukwe commented 4 years ago

@joshdoe I must've accidentally closed it. I was wondering why the issue 'CLOSED'.

Pardon me, I'm new to cmake and using frame grabbers.

Anyway, i successfully got Pleora to build using cmake. Because when i ran cmake in the pleora folder, it successfully created a Makefile.

I'm working on a project that allows our Software to communicate with any Camera / frame-grabber. The goal here is that at anytime, the Camera /frame-grabber can be removed or swapped out and replaced with another Camera / frame-grabber without the need of re-writing software/code.

So my project's job is to have the ability to communicate with multiple frame grabber plug-ins.

Does this make sense?

joshdoe commented 4 years ago

So it built without any code modifications? If so, great! If not, please share details or code, or submit pull request. Any other issues or PR will gladly be accepted.

Sounds like a good plan, that's exactly the reason I chose GStreamer for our project. We use it for capturing from a wide variety of sensors, rapid prototyping, and measurement of imaging sensors across many wavebands. I'd be curious to know more about your software, maybe you could share a link if it's public or email me and we could chat.

On Wed, Oct 2, 2019, 2:07 PM uodukwe notifications@github.com wrote:

@joshdoe https://github.com/joshdoe I must've accidentally closed it. I was wondering why the issue 'CLOSED'.

Pardon me, I'm new to cmake and using frame grabbers.

Anyway, i successfully got Pleora to build using cmake. Because when i ran cmake in the pleora folder, it successfully created a Makefile.

I'm working on a project that allows our Software to communicate with any Camera / frame-grabber. The goal here is that at anytime, the Camera /frame-grabber can be removed or swapped out and replaced with another Camera / frame-grabber without the need of re-writing software/code.

So my project's job is to have the ability to communicate with multiple frame grabber plug-ins.

Does this make sense?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joshdoe/gst-plugins-vision/issues/6?email_source=notifications&email_token=AACRB57MP654NL76VL7RJYLQMTPORA5CNFSM4I4NQHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFVG7Y#issuecomment-537613183, or mute the thread https://github.com/notifications/unsubscribe-auth/AACRB5ZYU4E6K7QPAKUE6KDQMTPORANCNFSM4I4NQHLQ .

On Wed, Oct 2, 2019, 2:07 PM uodukwe notifications@github.com wrote:

@joshdoe https://github.com/joshdoe I must've accidentally closed it. I was wondering why the issue 'CLOSED'.

Pardon me, I'm new to cmake and using frame grabbers.

Anyway, i successfully got Pleora to build using cmake. Because when i ran cmake in the pleora folder, it successfully created a Makefile.

I'm working on a project that allows our Software to communicate with any Camera / frame-grabber. The goal here is that at anytime, the Camera /frame-grabber can be removed or swapped out and replaced with another Camera / frame-grabber without the need of re-writing software/code.

So my project's job is to have the ability to communicate with multiple frame grabber plug-ins.

Does this make sense?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joshdoe/gst-plugins-vision/issues/6?email_source=notifications&email_token=AACRB57MP654NL76VL7RJYLQMTPORA5CNFSM4I4NQHL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFVG7Y#issuecomment-537613183, or mute the thread https://github.com/notifications/unsubscribe-auth/AACRB5ZYU4E6K7QPAKUE6KDQMTPORANCNFSM4I4NQHLQ .

uodukwe commented 4 years ago

@joshdoe Sure thing. I will share a few of my work and creation once completed.

joshdoe commented 4 years ago

@uodukwe how is it going? Happy to see what you've been working on.

uodukwe commented 4 years ago

@joshdoe Good day Josh, There has been a hold on the project for the past few months because another project with a higher priority needed attention. I should resume working with your plug-in around end of April/ Early May period.

JD_Plugin

joshdoe commented 4 years ago

@uodukwe btw I have a linux branch where I'm testing building against Ubuntu 16.04 in a virtual machine, I'll probably merge it to master soon. It's building Basler Pylon now, and next I'll make sure Pleora builds.

uodukwe commented 4 years ago

@uodukwe btw I have a linux branch where I'm testing building against Ubuntu 16.04 in a virtual machine, I'll probably merge it to master soon. It's building Basler Pylon now, and next I'll make sure Pleora builds.

Awesome. Hopefully i resume the project sooner than later.