[Bug 796441] Meson Generates Erroneous MSVC Project Files For Build

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 30 18:46:42 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796441

--- Comment #5 from TheFloatingBrain at protonmail.com ---
(In reply to Tim-Philipp Müller from comment #4)
> Thanks for the bug report, but what would be more useful to is if you
> ignored everything you did based on 0.4.28 for now and just reported what
> doesn't work with git master for you?

Gotya. The static build seems to be a slight improvement. Building with
--backend ninja still compiles with GCC (MinGW), and --backend MSVC the static
build seems to target a .a extension. There is also the line #define
ORC_API_EXPORT extern __attribute__ ((visibility ("default"))), if Im not
mistaken the __attribute__ is a GCC language extension. It also is passing some
GCC arguments (-fdiagnostics-color=always, -std=gnu99, -fvisibility=hidden). I
replaced it with __declspec(dllexport) and everything compiled fine. It still
passes the default arguments to the linker in addition to the default ones are
already there. Also #define HAVE_SYS_TIME_H, #define HAVE_UNISTD_H are there
which causes problems. Dynamic Builds and projects are config'd with it, and it
seems to work on a couple executables I tested. Those small things aside
everything seems to be working :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list