<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Hi,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I miraculously got it to compile, replacing everywhere it said</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"># include <GL/gl.h></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">with </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"># include <GL/gl.h></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"># include <GL/glext.h></div> <br> <div id="bloop_sign_1484750205831547904" class="bloop_sign"></div>"sudo make install" put the libraries in <span style="font-family:Menlo;font-size:11px">/usr/local/lib/gstreamer-1.0</span><div><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div><font face="Menlo"><span style="font-size:11px">however, simply copying the files <a href="http://libgstnvenc.la">libgstnvenc.la</a>  libgstnvenc.so into </span></font><span style="font-family:Menlo;font-size:11px">/usr/lib/x86_64-linux-gnu/gstreamer-1.0/ or </span><font face="Menlo"><span style="font-size:11px">/usr/lib/x86_64-linux-gnu doesn’t seem to install the plugin:</span></font></div><div><font face="Menlo"><span style="font-size:11px"><br></span></font></div><div><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">gst-launch-1.0 fakesrc ! nvenc</span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">WARNING: erroneous pipeline: no element "nvenc"</span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><p class="airmail_on">On January 18, 2017 at 1:34:29 PM, Nick Kallen (<a href="mailto:socialmediamaster9000@gmail.com">socialmediamaster9000@gmail.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap:break-word"><div></div><div>




<title></title>



<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
Hi</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div>
<div>
<div>
<blockquote type="cite" class="clean_bq" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div>
<div><span>So you'd have to compile gst-plugins-bad yourself - it's
enough to<span class="Apple-converted-space"> </span><br>
configure it and then cd sys/nvenc; make; make install in there -
no<span class="Apple-converted-space"> </span><br>
need for all the other plugins.<span class="Apple-converted-space"> </span><br>
<br>
Then by default the plugin will be installed into a different
prefix,<span class="Apple-converted-space"> </span><br>
so you either need to copy it into /usr/lib/../gstreamer-1.0/
manually<span class="Apple-converted-space"> </span><br>
or set the GST_PLUGIN_PATH variable to where it was installed, so
that<span class="Apple-converted-space"> </span><br>
GStreamer finds it.<span class="Apple-converted-space"> </span></span></div>
</div>
</blockquote>
</div>
<p>I’m stuck again, sorry :( . I configured with the nvidia
libraries:</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">LDFLAGS="-L/usr/lib/nvidia-367"
./</span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>configure</b></span>
<span style="font-variant-ligatures:no-common-ligatures">--with-cuda-prefix='/usr/local/cuda’</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">But
building nvenc fails when it tries to make the gl module. Here is
the error when I try to make gl directly:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(82,48,225)">
<span style="font-variant-ligatures:no-common-ligatures"><b>~/gst-plugins-bad-1.8.3/gst-libs/gst/gl</b></span><span style="font-variant-ligatures:no-common-ligatures;color:#000000">$
make</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Making
all in glprototypes</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Entering directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/glprototypes'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Nothing to be done for 'all'.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Leaving directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/glprototypes'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Making
all in x11</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Entering directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/x11'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Nothing to be done for 'all'.</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Leaving directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl/x11'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Entering directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">  CC
      libgstgl_1.0_la-gstglcontext.lo</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:</b>
In function ‘<b>gst_gl_context_get_current_gl_api</b>’:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:607:22:</b></span>
<span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:</b></span>
<span style="font-variant-ligatures:no-common-ligatures">‘<b>GL_CONTEXT_PROFILE_MASK</b>’
undeclared (first use in this function)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">    
    GetIntegerv (GL_CONTEXT_PROFILE_MASK,
&context_flags);</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38)">
<span style="font-variant-ligatures:no-common-ligatures"><b> 
                 
  ^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:607:22:</b></span>
<span style="font-variant-ligatures:no-common-ligatures;color:#33bbc8"><b>note:</b></span>
<span style="font-variant-ligatures:no-common-ligatures">each
undeclared identifier is reported only once for each function it
appears in</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:608:29:</b></span>
<span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:</b></span>
<span style="font-variant-ligatures:no-common-ligatures">‘<b>GL_CONTEXT_CORE_PROFILE_BIT</b>’
undeclared (first use in this function)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">    
    if (context_flags &
GL_CONTEXT_CORE_PROFILE_BIT)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38)">
<span style="font-variant-ligatures:no-common-ligatures"><b>  
                 
        ^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:610:29:</b></span>
<span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:</b></span>
<span style="font-variant-ligatures:no-common-ligatures">‘<b>GL_CONTEXT_COMPATIBILITY_PROFILE_BIT</b>’
undeclared (first use in this function)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">    
    if (context_flags &
GL_CONTEXT_COMPATIBILITY_PROFILE_BIT)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38)">
<span style="font-variant-ligatures:no-common-ligatures"><b>  
                 
        ^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:</b>
In function ‘<b>_create_context_info</b>’:</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><b>gstglcontext.c:990:23:</b></span>
<span style="font-variant-ligatures:no-common-ligatures;color:#c33720"><b>error:</b></span>
<span style="font-variant-ligatures:no-common-ligatures">‘<b>GL_SHADING_LANGUAGE_VERSION</b>’
undeclared (first use in this function)</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">   if
(!gl->GetString (GL_SHADING_LANGUAGE_VERSION)) {</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52,188,38)">
<span style="font-variant-ligatures:no-common-ligatures"><b>  
                 
  ^</b></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Makefile:1125: recipe
for target 'libgstgl_1.0_la-gstglcontext.lo' failed</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
*** [libgstgl_1.0_la-gstglcontext.lo] Error 1</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make[1]:
Leaving directory
'/home/ubuntu/gst-plugins-bad-1.8.3/gst-libs/gst/gl'</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">Makefile:1403: recipe
for target 'all-recursive' failed</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
</p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures">make: ***
[all-recursive] Error 1</span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
<span style="font-variant-ligatures:no-common-ligatures"><br></span></p>
<p style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">
For what it’s worth, there is a libGL.so in the
/usr/lib/nvidia-367 </p>
<div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div>
</div>


</div></div></span></blockquote></div></body></html>