Hi Experts! I wish to build gstreamer from source on windows environment. 1) I have cloned following repository: git clone -b meson-1.14 https://github.com/centricular/cerbero 2) Bootstrapped cerbero: cerbero -c config/win64-msvc-shell.cbc bootstrap -->This installed all the required build-tools. For e.g., meson and ninja 3) I tried building gstreamer-1.0 using following command, but build fails cerbero -c config/win64-msvc-shell.cbc build gstreamer-1.0 Please take a look at output below which was printed on console window. ------------------------------------------------------------------------------------- 212730892@GBX8JPQ2E ~/cerbero $ cerbero -c config/win64-msvc-shell.cbc build gstreamer-1.0 WARNING: Using default configuration because C:/MinGW/msys/1.0/home/212730892/.cerbero/cerbero.cbc is missing Building the following recipes: mingw-runtime libffi zlib proxy-libintl glib gtk-doc-lite gstreamer-1.0 [(1/7) mingw-runtime -> already built ] [(2/7) libffi -> already built ] [(3/7) zlib -> already built ] [(4/7) proxy-libintl -> already built ] [(5/7) glib -> already built ] [(6/7) gtk-doc-lite -> already built ] [(7/7) gstreamer-1.0 -> fetch ] [(7/7) gstreamer-1.0 -> extract ] [(7/7) gstreamer-1.0 -> configure ] [(7/7) gstreamer-1.0 -> compile ] Running command 'ninja -v' [1/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf.c.obj.rsp [2/563] cl @gst/printf/gst@printf@@gstprintf@sta/asnprintf.c.obj.rsp [3/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf-args.c.obj.rsp [4/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf-parse.c.obj.rsp [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" [6/563] cl @gst/printf/gst@printf@@gstprintf@sta/printf-extension.c.obj.rsp [7/563] cl @gst/printf/gst@printf@@gstprintf@sta/vasnprintf.c.obj.rsp [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" [9/563] lib "/NOLOGO" /OUT:gst/printf/libgstprintf.a @gst/printf/libgstprintf.a.rsp [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" FAILED: gst/gstenumtypes.h "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" Traceback (most recent call last): File "C:/MinGW/msys/1.0/home/212730892/cerbero/build/build-tools/Scripts/meson.py", line 4, in <module> __import__('pkg_resources').run_script('meson==0.47.2', 'meson.py') File "c:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 664, in run_script self.require(requires)[0].run_script(script_name, ns) File "c:\ProgramData\Anaconda3\lib\site-packages\pkg_resources\__init__.py", line 1444, in run_script exec(code, namespace, namespace) 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> sys.exit(mesonmain.main()) 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 return run(sys.argv[1:], launcher) 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 sys.exit(run_script_command(args[1:])) 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 return cmdfunc(cmdargs) 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 return run_exe(exe) 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 stderr=subprocess.PIPE) File "c:\ProgramData\Anaconda3\lib\subprocess.py", line 769, in __init__ restore_signals, start_new_session) File "c:\ProgramData\Anaconda3\lib\subprocess.py", line 1172, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified [11/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_timer_create.c.obj.rsp [12/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_timer_settime.c.obj.rsp [13/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_timer_delete.c.obj.rsp [14/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_strsignal.c.obj.rsp [15/563] cl @libs/gst/check/libcheck/libs@gst@check@libcheck@@check@sta/libcompat_getline.c.obj.rsp ninja: build stopped: subcommand failed. Recipe 'gstreamer-1.0' failed at the build step 'compile' Select an action to proceed: [0] Enter the shell [1] Rebuild the recipe from scratch [2] Rebuild starting from the failed step [3] Skip recipe [4] Abort --------------------------------------------------------------- Please note that, I have also tried updating the gst/meson.build file. Modified to include statement- sources : [gst_gen_sources, gstenum_h], Still gstreamer-1.0 does not compile. Could you please help me understand what is wrong? Also, I am unable to generate visual studio solution using the command: cerbero -c config/win64-msvc-shell.cbc genvssln glib 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. Thanks and Regards, _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |