Dev environment question

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Dev environment question

boxerab@gmail.com
Hello,

I have a question about how folks set up their dev environment for gstreamer.
Currently, I use Eclipse IDE CDT to view, edit and search code. Overkill, perhaps,
but it works for me.  To build, I run

make && sudo make install

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? 
It does slow down my code - build -test cycle.

Thanks,
Aaron

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

Md. Islam
Netbeans also works pretty well.

On Wed, Jun 21, 2017 at 4:14 PM, Aaron Boxer <[hidden email]> wrote:

> Hello,
>
> I have a question about how folks set up their dev environment for
> gstreamer.
> Currently, I use Eclipse IDE CDT to view, edit and search code. Overkill,
> perhaps,
> but it works for me.  To build, I run
>
> make && sudo make install
>
> then gst-launch to run the code.
>
> Is it possible to skip the "make install" step before running the modified
> code ?
> It does slow down my code - build -test cycle.
>
> Thanks,
> Aaron
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Tamim
PhD Student/Graduate Assistant
CS Department, Kent State University
Kent, OH 44240
http://web.cs.kent.edu/~mislam4/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

boxerab@gmail.com


On Wed, Jun 21, 2017 at 4:18 PM, Md. Islam <[hidden email]> wrote:
Netbeans also works pretty well.

Yes, had good experience with NetBeans. Eclipse has some
great refactoring tools.
 

On Wed, Jun 21, 2017 at 4:14 PM, Aaron Boxer <[hidden email]> wrote:
> Hello,
>
> I have a question about how folks set up their dev environment for
> gstreamer.
> Currently, I use Eclipse IDE CDT to view, edit and search code. Overkill,
> perhaps,
> but it works for me.  To build, I run
>
> make && sudo make install
>
> then gst-launch to run the code.
>
> Is it possible to skip the "make install" step before running the modified
> code ?
> It does slow down my code - build -test cycle.
>
> Thanks,
> Aaron
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Tamim
PhD Student/Graduate Assistant
CS Department, Kent State University
Kent, OH 44240
http://web.cs.kent.edu/~mislam4/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

Tim Müller
In reply to this post by boxerab@gmail.com
On Wed, 2017-06-21 at 16:14 -0400, Aaron Boxer wrote:

Hi Aaron,

I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

boxerab@gmail.com
So, where to the bad plugins normally go, when I run make install ?

On Wed, Jun 21, 2017 at 4:33 PM, Tim Müller <[hidden email]> wrote:
On Wed, 2017-06-21 at 16:14 -0400, Aaron Boxer wrote:

Hi Aaron,

I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

boxerab@gmail.com
nevermind :) I see them now.

On Wed, Jun 21, 2017 at 7:14 PM, Aaron Boxer <[hidden email]> wrote:
So, where to the bad plugins normally go, when I run make install ?

On Wed, Jun 21, 2017 at 4:33 PM, Tim Müller <[hidden email]> wrote:
On Wed, 2017-06-21 at 16:14 -0400, Aaron Boxer wrote:

Hi Aaron,

I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

boxerab@gmail.com
In reply to this post by Tim Müller
I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

Thanks, Tim ! I will give this a try.

Aaron

 

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

Julien Isorce
In reply to this post by boxerab@gmail.com
Some input here as well in the blog post "Setting up development env" from https://singhcodes.wordpress.com/ . It also includes how to setup mesa and "nouveau" hw decoding within the gst-uninstalled env.

On 22 June 2017 at 00:15, Aaron Boxer <[hidden email]> wrote:
nevermind :) I see them now.

On Wed, Jun 21, 2017 at 7:14 PM, Aaron Boxer <[hidden email]> wrote:
So, where to the bad plugins normally go, when I run make install ?

On Wed, Jun 21, 2017 at 4:33 PM, Tim Müller <[hidden email]> wrote:
On Wed, 2017-06-21 at 16:14 -0400, Aaron Boxer wrote:

Hi Aaron,

I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

boxerab@gmail.com


On Thu, Jun 22, 2017 at 4:11 AM, Julien Isorce <[hidden email]> wrote:
Some input here as well in the blog post "Setting up development env" from https://singhcodes.wordpress.com/ . It also includes how to setup mesa and "nouveau" hw decoding within the gst-uninstalled env.

Cool, thanks!

 

On 22 June 2017 at 00:15, Aaron Boxer <[hidden email]> wrote:
nevermind :) I see them now.

On Wed, Jun 21, 2017 at 7:14 PM, Aaron Boxer <[hidden email]> wrote:
So, where to the bad plugins normally go, when I run make install ?

On Wed, Jun 21, 2017 at 4:33 PM, Tim Müller <[hidden email]> wrote:
On Wed, 2017-06-21 at 16:14 -0400, Aaron Boxer wrote:

Hi Aaron,

I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Dev environment question

boxerab@gmail.com
One more question, what about using gdb? Currently, when I get a Sigsev and I am prompted to start gdb, the program hangs. Do I need to build with debug symbols turned on ?

On Jun 22, 2017 6:30 AM, "Aaron Boxer" <[hidden email]> wrote:


On Thu, Jun 22, 2017 at 4:11 AM, Julien Isorce <[hidden email]> wrote:
Some input here as well in the blog post "Setting up development env" from https://singhcodes.wordpress.com/ . It also includes how to setup mesa and "nouveau" hw decoding within the gst-uninstalled env.

Cool, thanks!

 

On 22 June 2017 at 00:15, Aaron Boxer <[hidden email]> wrote:
nevermind :) I see them now.

On Wed, Jun 21, 2017 at 7:14 PM, Aaron Boxer <[hidden email]> wrote:
So, where to the bad plugins normally go, when I run make install ?

On Wed, Jun 21, 2017 at 4:33 PM, Tim Müller <[hidden email]> wrote:
On Wed, 2017-06-21 at 16:14 -0400, Aaron Boxer wrote:

Hi Aaron,

I have a question about how folks set up their dev environment for gstreamer. (...) To build, I run

make && sudo make install 

then gst-launch to run the code.

Is it possible to skip the "make install" step before running the modified code ? It does slow down my code - build -test cycle.

Sure. You can do

export GST_PLUGIN_PATH=/home/aaron/build/gst-plugins-bad

to make GStreamer look for extra plugins there. It will/should then pick up things from your build tree.

We also have a so-called "uninstalled" setup for dev purposes.


For the new one based on Meson, see the gst-build module in git (you can run 'ninja uninstalled' there to get into the uninstalled environment once you've run meson).

Cheers
-Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel