Forums

how to make gst-plugin-good in 2011Q2RRSDK

  • Hi,

    I have rewrited a plugin element in fs/apps/gst-plugin-good,now ,i want to make my new element.but i make in DEVDIR,i find nothind is changed.

    in order to make some part of RRSDK,

    i enter into $DEVDIR/fs/apps/gst-plugin-good-0.10.25 and type "make clean",there is a error ,shows

    ../../../bsp/classes/rrsdk.class:2: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====.  Stop.

    i type

    export DEVDIR=/home/dm365/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25

    to set $DEVDIR


    then, "make " in  $DEVDIR/fs/apps/gst-plugin-good-0.10.25

    shows

    $ make
    ../../../bsp/classes/rrsdk.class:4: /home/dsp/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25/bsp/mach/Make.conf: No such file or directory
    ../../../bsp/classes/rrsdk.class:7: /_rrsdk.defs: No such file or directory
    Makefile:41: /gstreamer-plugin.class: No such file or directory
    make: *** No rule to make target `/gstreamer-plugin.class'.  Stop.

    How to make some part of RRSDK?any expert help me?

    thank you very much.

     

     

  • try

    export DEVDIR=/home/dm365/LeopardBoardDM365sdkEVAL2011Q2

    but, really, you should

    cd /home/dm365/LeopardBoardDM365sdkEVAL2011Q2

    `make env` # this will set DEVDIR

    cd fs/apps/gst-plugins-good-0.10.25

    make clean build install

  • hi,todd

    thank you very much.

    i try

    make env in /home/dm365/LeopardBoardDM365sdkEVAL2011Q2

    the first step is ok.shows as below:

    export DEVDIR=/home/dm365/LeopardBoardDM365sdkEVAL2011Q2
    export PATH=/opt/codesourcery/arm-2009q1/bin:/home/dm365/LeopardBoardDM365sdkEVAL2011Q2/bsp/local/bin:/home/dm365/LeopardBoardDM365sdkEVAL2011Q2/bsp/local/sbin:/home/dm365/LeopardBoardDM365sdkEVAL2011Q2/bsp/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

    then second step cd fs/apps/gst-plugins-good-0.10.25 and make clean

    error msg shows

    desktop:~/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25$ make clean
    ../../../bsp/classes/rrsdk.class:2: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====.  Stop.

    same error with my first post.

    what is wrong?




  • Hi,

    hmmm you did a `make env` at /home/dm365/LeopardBoardDM365sdkEVAL2011Q2, and then you did a make clean at ~/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25. Are you sure that the last directory is located at /home/dm365?

    Are you sure that /LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.2 is located at /home/dm365/.....???

    If not, please before doing `make env` use pwd to obtain the name of the current directory and then use pwd before make clean at gst-plugins-good-0.10.2, then post both results

    Thank you

    Carlos Aguero
    Embedded Software Engineer
    RidgeRun

  • hi

    here is the results:

    dsp@dsp-desktop:~$ cd LeopardBoardDM365sdkEVAL2011Q2/

    dsp@dsp-desktop:~/LeopardBoardDM365sdkEVAL2011Q2$ make env

    export DEVDIR=/home/dsp/LeopardBoardDM365sdkEVAL2011Q2

    export PATH=/opt/codesourcery/arm-2009q1/bin:/home/dsp/LeopardBoardDM365sdkEVAL2011Q2/bsp/local/bin:/home/dsp/LeopardBoardDM365sdkEVAL2011Q2/bsp/local/sbin:/home/dsp/LeopardBoardDM365sdkEVAL2011Q2/bsp/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

    dsp@dsp-desktop:~/LeopardBoardDM365sdkEVAL2011Q2$ cd fs/apps/gst-plugins-good-0.10.25/

    dsp@dsp-desktop:~/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25$ make clean

    ../../../bsp/classes/rrsdk.class:2: *** ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====.  Stop.

    dsp@dsp-desktop:~/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25$ pwd

    /home/dsp/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25

    dsp@dsp-desktop:~/LeopardBoardDM365sdkEVAL2011Q2/fs/apps/gst-plugins-good-0.10.25$

  • Hi,

    Thank you for posting the results, you're using:
    make env

    But you need to use

    `make env`

    Please notice the grave accents characters

    Carlos Aguero
    Embedded Software Engineer
    RidgeRun

  • hi carlos

    thank you for your kind reply.

    everything is ok!

  • Jonny,

    You are not setting DEVDIR shell variable.  This is because you are not use GRAVE accents around make env.  You can also use

    $(make env)

    since you can't seem to find the GRAVE accent symbol on your keyboard.

    Todd

    http://en.wikipedia.org/wiki/Grave_accent

     

  • hi  todd ,carlos

    thank you for your patience.I got it.

    i am wrong before.I use   '    not   `   before.

    now that is all right

    thank you again.

    best regards

    jonny