gstreamer 1.20: About "Setup a mingw/wine based development environment on linux"
Артем Семенов
artem.semenov at jarillolabs.com
Fri Feb 11 00:43:25 UTC 2022
Hello!
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/1.20#setup-a-mingwwine-based-development-environment-on-linux
Could you please tell me the which version of Fedora should I use?
/*Fedora 34:*
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"/usr/bin/x86_64-w64-mingw32-gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir:
/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_eb6f3/fast && /usr/bin/gmake -f
CMakeFiles/cmTC_eb6f3.dir/build.make CMakeFiles/cmTC_eb6f3.dir/build
gmake[1]: Entering directory
'/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_eb6f3.dir/testCCompiler.c.obj
/usr/bin/x86_64-w64-mingw32-gcc --sysroot=/usr/x86_64-w64-mingw32/sys-root/mingw -o
CMakeFiles/cmTC_eb6f3.dir/testCCompiler.c.obj -c
/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_eb6f3.exe
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_eb6f3.dir/link.txt --verbose=1
/usr/bin/cmake -E rm -f CMakeFiles/cmTC_eb6f3.dir/objects.a
/usr/bin/x86_64-w64-mingw32-ar cr CMakeFiles/cmTC_eb6f3.dir/objects.a
@CMakeFiles/cmTC_eb6f3.dir/objects1.rsp
/usr/bin/x86_64-w64-mingw32-gcc --sysroot=/usr/x86_64-w64-mingw32/sys-root/mingw
-Wl,--whole-archive CMakeFiles/cmTC_eb6f3.dir/objects.a -Wl,--no-whole-archive -o cmTC_eb6f3.exe
-Wl,--out-implib,libcmTC_eb6f3.dll.a -Wl,--major-image-version,0,--minor-image-version,0
@CMakeFiles/cmTC_eb6f3.dir/linklibs.rsp
/usr/lib/gcc/x86_64-w64-mingw32/10.3.1/../../../../x86_64-w64-mingw32/bin/ld: *cannot find crt2.o*:
No such file or directory
collect2: error: ld returned 1 exit status
gmake[1]: *** [CMakeFiles/cmTC_eb6f3.dir/build.make:101: cmTC_eb6f3.exe] Error 1
gmake[1]: Leaving directory
'/home/conductor/_Work/gstreamer-1.20/gstreamer/winebuild/meson-private/cmake_libpcre/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:127: cmTC_eb6f3/fast] Error 2
...
Executing subproject gstreamer:glib:pcre
Project name: pcre
Project version: undefined
C compiler for the host machine: /usr/bin/x86_64-w64-mingw32-gcc (gcc 10.3.1
"x86_64-w64-mingw32-gcc (GCC) 10.3.1 20210422 (Fedora MinGW 10.3.1-2.fc34)")
C linker for the host machine: /usr/bin/x86_64-w64-mingw32-gcc ld.bfd 2.34-11
Compiler for language c for the build machine not found.
subprojects/pcre-8.37/meson.build:4:0: ERROR: Tried to access compiler for language "c", not
specified for build machine.
/
//*Fedora 35:
*
Executing subproject gstreamer:glib:pcre
Project name: pcre
Project version: undefined
C compiler for the host machine: /usr/bin/x86_64-w64-mingw32-gcc (gcc 11.2.1
"x86_64-w64-mingw32-gcc (GCC) 11.2.1 20210728 (Fedora MinGW 11.2.1-3.fc35)")
C linker for the host machine: /usr/bin/x86_64-w64-mingw32-gcc ld.bfd 2.37-3
Compiler for language c for the build machine not found.
subprojects/pcre-8.37/meson.build:4:0: ERROR: Tried to access compiler for language "c", not
specified for build machine.*
*//Thanks!//*
*//
--
With best regards,
Artem Semenov mailto:artem.semenov at jarillolabs.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220211/4d0af212/attachment.htm>
More information about the gstreamer-devel
mailing list