<div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Hi Keith, </div><div><br></div><div>I am using windows and I have visual studio 2015 installed on my machine. I believe, in my current repository, the cerbero build recipe does not using meson for building for gst-plugins-bad-1.0. </div><div><br></div><div>Hence, I have tried cloning a new repository which uses meson build system for gstreamer-1.0</div><div>Step1) git clone -b meson-1.14 <a href="https://github.com/centricular/cerbero">https://github.com/centricular/cerbero</a> </div><div><br></div><div>Step2) I tried building gstreamer-1.0 using following command, but build fails</div><div>cerbero -c config/win64-msvc-shell.cbc build gstreamer-1.0</div><div><br></div><div>Please take a look at output below which was printed on console window.</div><div>-------------------------------------------------------------------------------------</div><div>212730892@GBX8JPQ2E ~/cerbero</div><div>$ cerbero -c config/win64-msvc-shell.cbc build gstreamer-1.0</div><div>WARNING: Using default configuration because C:/MinGW/msys/1.0/home/212730892/.cerbero/cerbero.cbc is missing</div><div>Building the following recipes: mingw-runtime libffi zlib proxy-libintl glib gtk-doc-lite gstreamer-1.0</div><div>[(1/7) mingw-runtime -> already built ]</div><div>[(2/7) libffi -> already built ]</div><div>[(3/7) zlib -> already built ]</div><div>[(4/7) proxy-libintl -> already built ]</div><div>[(5/7) glib -> already built ]</div><div>[(6/7) gtk-doc-lite -> already built ]</div><div>[(7/7) gstreamer-1.0 -> fetch ]</div><div>[(7/7) gstreamer-1.0 -> extract ]</div><div>[(7/7) gstreamer-1.0 -> configure ]</div><div>[(7/7) gstreamer-1.0 -> compile ]</div><div>Running command 'ninja -v'</div><div>[1/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf.c.obj.rsp</div><div>[2/563] cl @gst/printf/gst@printf@@gstprintf@sta/asnprintf.c.obj.rsp</div><div>[3/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf-args.c.obj.rsp</div><div>[4/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf-parse.c.obj.rsp</div><div>[5/563] "c:/ProgramData/Anaconda3/python3.exe" "gst/parse/gen_lex.py" "gst/parse/lex.priv_gst_parse_yy.c" "gst/parse/parse_lex.h" "../gst/parse/parse.l" "DUMMY"</div><div>[6/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf-extension.c.obj.rsp</div><div>[7/563] cl @gst/printf/gst@printf@@gstprintf@sta/vasnprintf.c.obj.rsp</div><div>[8/563] "c:/ProgramData/Anaconda3/python3.exe" "gst/parse/gen_grammar.py" "gst/parse/grammar.tab.c" "gst/parse/grammar.tab.h" "../gst/parse/grammar.y"</div><div>[9/563] lib "/NOLOGO" /OUT:gst/printf/libgstprintf.a @gst/printf/libgstprintf.a.rsp</div><div>[10/563] "c:/ProgramData/Anaconda3/python3.exe" "C:/MinGW/msys/1.0/home/212730892/cerbero/build/build-tools/Scripts/meson.py" "--internal" "exe" "C:/MinGW/msys/1.0/home/212730892/cerbero/build/sources/windows_x86_64/gstreamer-1.0-1.14.2/_builddir/meson-private/meson_exe_python_0b9fe3c50a1ef77ac08bda4a61c7770e0a1b4a05.dat"</div><div>FAILED: gst/gstenumtypes.h</div><div>"c:/ProgramData/Anaconda3/python3.exe" "C:/MinGW/msys/1.0/home/212730892/cerbero/build/build-tools/Scripts/meson.py" "--internal" "exe" "C:/MinGW/msys/1.0/home/212730892/cerbero/build/sources/windows_x86_64/gstreamer-1.0-1.14.2/_builddir/meson-private/meson_exe_python_0b9fe3c50a1ef77ac08bda4a61c7770e0a1b4a05.dat"</div><div>Traceback (most recent call last):</div><div> File "C:/MinGW/msys/1.0/home/212730892/cerbero/build/build-tools/Scripts/meson.py", line 4, in <module></div><div> __import__('pkg_resources').run_script('meson==0.47.2', 'meson.py')</div><div> File "c:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 664, in run_script</div><div> self.require(requires)[0].run_script(script_name, ns)</div><div> File "c:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1444, in run_script</div><div> exec(code, namespace, namespace)</div><div> File "c:\mingw\msys\1.0\home\212730892\cerbero\build\build-tools\lib\site-packages\meson-0.47.2-py3.7.egg\EGG-INFO\scripts\meson.py", line 29, in <module></div><div> sys.exit(mesonmain.main())</div><div> File "C:\MinGW\msys\1.0\home\212730892\cerbero\build\build-tools\Lib\site-packages\meson-0.47.2-py3.7.egg\mesonbuild\mesonmain.py", line 379, in main</div><div> return run(sys.argv[1:], launcher)</div><div> File "C:\MinGW\msys\1.0\home\212730892\cerbero\build\build-tools\Lib\site-packages\meson-0.47.2-py3.7.egg\mesonbuild\mesonmain.py", line 316, in run</div><div> sys.exit(run_script_command(args[1:]))</div><div> File "C:\MinGW\msys\1.0\home\212730892\cerbero\build\build-tools\Lib\site-packages\meson-0.47.2-py3.7.egg\mesonbuild\mesonmain.py", line 232, in run_script_command</div><div> return cmdfunc(cmdargs)</div><div> File "C:\MinGW\msys\1.0\home\212730892\cerbero\build\build-tools\Lib\site-packages\meson-0.47.2-py3.7.egg\mesonbuild\scripts\meson_exe.py", line 91, in run</div><div> return run_exe(exe)</div><div> File "C:\MinGW\msys\1.0\home\212730892\cerbero\build\build-tools\Lib\site-packages\meson-0.47.2-py3.7.egg\mesonbuild\scripts\meson_exe.py", line 73, in run_exe</div><div> stderr=subprocess.PIPE)</div><div> File "c:\ProgramData\Anaconda3\lib\subprocess.py", line 769, in __init__</div><div> restore_signals, start_new_session)</div><div> File "c:\ProgramData\Anaconda3\lib\subprocess.py", line 1172, in _execute_child</div><div> startupinfo)</div><div>FileNotFoundError: [WinError 2] The system cannot find the file specified</div><div>[11/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_timer_create.c.obj.rsp</div><div>[12/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_timer_settime.c.obj.rsp</div><div>[13/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_timer_delete.c.obj.rsp</div><div>[14/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_strsignal.c.obj.rsp</div><div>[15/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_getline.c.obj.rsp</div><div>ninja: build stopped: subcommand failed.</div><div><br></div><div>Recipe 'gstreamer-1.0' failed at the build step 'compile'</div><div>Select an action to proceed:</div><div>[0] Enter the shell</div><div>[1] Rebuild the recipe from scratch</div><div>[2] Rebuild starting from the failed step</div><div>[3] Skip recipe</div><div>[4] Abort</div><div>---------------------------------------------------------------</div><div><br></div><div>Please note that, I have also tried updating the gst/meson.build file. Modified to include statement- sources : [gst_gen_sources, gstenum_h],</div><div>Still gstreamer-1.0 does not compile. Could you please help me understand what is wrong?</div><div><br></div><div>Also, I am unable to generate visual studio solution using the command: cerbero -c config/win64-msvc-shell.cbc genvssln glib</div><div>It seems like Cerbero is not able to identify genvssln as an option and it prompts on cmd that add-package, genvsprops and other options are available. It would be a great help if anyone could point me in the right direction to build gstreamer-1.0 on windows environment.</div></div><div><br></div><div>Thanks and Regards, </div><div>Saurabh Bora</div></div><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 6, 2019 at 12:43 PM Thornton, Keith <<a href="mailto:keith.thornton@zeiss.com" target="_blank">keith.thornton@zeiss.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE">
<div class="gmail-m_8345987518556397127gmail-m_-6274783166342879332gmail-m_-1958609749846873084gmail-m_3689955734115684020WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">what operating system are you using.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif">Under Windows, msdk will only get built when you use the new meson build because it uses VisualStudio.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b>Von:</b> gstreamer-devel [mailto:<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" target="_blank">gstreamer-devel-bounces@lists.freedesktop.org</a>]
<b>Im Auftrag von </b>Saurabh Bora<br>
<b>Gesendet:</b> Dienstag, 5. Februar 2019 15:09<br>
<b>An:</b> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<b>Betreff:</b> Enable msdk plugins while building gstreamer-1.0 from source<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Hello Experts!, <u></u><u></u></p>
</div>
<div>
<div>
<div>
<div>
<p>I am working on a project which follows following steps: input feed is taken from camera, encoding (vp8 encoder used) is done, transferring over web, decoding feed (vp8 decoder used) and stream it on a web browser.<u></u><u></u></p>
<p>I wish to use hardware accelerated vp8 encoder and decoder for this purpose along with gstreamer-1.0 framework on windows environment. <u></u><u></u></p>
<p>As a result, I installed Intel media SDK 2018 R2(msdk) and built gst-plugins-bad-1.0 from source using cerbero build system. But, msdk plugins did not get built. Below statements were found in gst-plugins-1.0-configure.log<u></u><u></u></p>
<p>configure: *** checking feature: Intel MediaSDK ***<u></u><u></u></p>
<p>configure: *** for plug-ins: msdk ***<u></u><u></u></p>
<p>checking for G_UDEV... no<u></u><u></u></p>
<p>checking for LIBMFX... no<u></u><u></u></p>
<p>checking mfxdefs.h usability... no<u></u><u></u></p>
<p>checking mfxdefs.h presence... no<u></u><u></u></p>
<p>checking for mfxdefs.h... no<u></u><u></u></p>
<p>checking for MFXInit in -lmfx... no<u></u><u></u></p>
<p>checking for LIBVA_DRM... no<u></u><u></u></p>
<p>configure: *** These plugins will not be built: msdk<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Can anyone please help me understand why msdk plugins are not getting built? OR <u></u><u></u></p>
<p>what needs to be done to enable building msdk plugins?<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Hardware Specifications:<u></u><u></u></p>
<p>1) MIO-2360N-S2A1E<u></u><u></u></p>
<p>2) Intel Pentium N4200 CPU (Kaby Lake)<u></u><u></u></p>
<p> -4c/4t @1.1GHz-2.5GHz<u></u><u></u></p>
<p> -Intel HD Graphics 505 (Apollo Lake) - 18 execution units<u></u><u></u></p>
<p>3) 8GB RAM<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Thanks and Regards,<u></u><u></u></p>
<p>Saurabh Bora<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Thanks and Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Saurabh Bora<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">PH NO : 7038166900<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">EMAIL : <a href="mailto:saurabh9bora@gmail.com" target="_blank"><span style="font-size:9.5pt">saurabh9bora@gmail.com</span></a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <a href="mailto:saurabh9bora@outlook.com" target="_blank">saurabh9bora@outlook.com</a><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_8345987518556397127gmail-m_-6274783166342879332gmail-m_-1958609749846873084gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Thanks and Regards,</div><div dir="ltr">Saurabh Bora<br><div><br></div><div>PH NO : 7038166900</div><div>EMAIL : <a href="mailto:saurabh9bora@gmail.com" style="font-size:12.8px" target="_blank">saurabh9bora@gmail.com</a></div><div> <a href="mailto:saurabh9bora@outlook.com" target="_blank">saurabh9bora@outlook.com</a></div></div></div></div></div></div></div></div></div>
</div></div>