<div dir="ltr"><div>Hello</div><div><br></div><div>I am trying to build simple app written in Vala 0.30 and link them with windows 64-bit build of GStreamer 1.6.1. I also want to reuse GObject, GLib and Soup that ship with GStreamer so I don't introduce another dependencies.</div><div><br></div><div>I've fetched MSYS2 and added lib/pkgconfig from GStreamer installation dor to the PKG_CONFIG_PATH and pkg-config correctly recognizes all libraries.</div><div><br></div><div>However, when I try to build the app the following error occur.</div><div><br></div><div>I've found out that such issue often is related to cross-compilation issues but I have no clue how to proceed with this exact case. Any suggestions?</div><div><br></div><div>Log below,</div><div><br></div><div>thank you</div><div><br></div><div>Marcin</div><div><br></div><div><br></div><div> make</div><div>make  all-am</div><div>make[1]: Wejście do katalogu '/home/Marcin/aktivitis/app/electron-backbone'</div><div>gcc -DHAVE_CONFIG_H -I.     -mms-bitfields -I/c/gstreamer/1.0/x86_64/include/glib-2.0 -I/c/gstreamer/1.0/x86_64/lib/glib-2.0/include  -mms-bitfields -I/c/gstreamer/1.0/x86_64/include/gstreamer-1.0 -I/c/gstreamer/1.0/x86_64/lib/gstreamer-1.0/include -I/c/gstreamer/1.0/x86_64/include/glib-2.0 -I/c/gstreamer/1.0/x86_64/lib/glib-2.0/include  -mms-bitfields -I/c/gstreamer/1.0/x86_64/include/glib-2.0 -I/c/gstreamer/1.0/x86_64/lib/glib-2.0/include  -mms-bitfields -I/c/gstreamer/1.0/x86_64/include/libsoup-2.4 -I/c/gstreamer/1.0/x86_64/include/libxml2 -I/c/gstreamer/1.0/x86_64/include/glib-2.0 -I/c/gstreamer/1.0/x86_64/lib/glib-2.0/include  -g -O2 -MT src/library/parsers/app_electron_backbone_daemon-versions_result.o -MD -MP -MF src/library/parsers/.deps/app_electron_backbone_daemon-versions_result.Tpo -c -o src/library/parsers/app_electron_backbone_daemon-versions_result.o `test -f 'src/library/parsers/versions_result.c' || echo './'`src/library/parsers/versions_result.c</div><div>In file included from /c/gstreamer/1.0/x86_64/lib/glib-2.0/include/glibconfig.h:14:0,</div><div>                 from /c/gstreamer/1.0/x86_64/include/glib-2.0/glib/gtypes.h:32,</div><div>                 from /c/gstreamer/1.0/x86_64/include/glib-2.0/glib/galloca.h:32,</div><div>                 from /c/gstreamer/1.0/x86_64/include/glib-2.0/glib.h:30,</div><div>                 from src/library/parsers/versions_result.c:5:</div><div>src/library/parsers/versions_result.c: In function ‘app_electron_parsers_versions_result_get_type’:</div><div>/c/gstreamer/1.0/x86_64/include/glib-2.0/glib/gmacros.h:181:53: error: size of array ‘_GStaticAssertCompileTimeAssertion_0’ is negative</div><div> #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED</div><div>                                                     ^</div><div>/c/gstreamer/1.0/x86_64/include/glib-2.0/glib/gmacros.h:178:47: note: in definition of macro ‘G_PASTE_ARGS’</div><div> #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2</div><div>                                               ^</div><div>/c/gstreamer/1.0/x86_64/include/glib-2.0/glib/gmacros.h:181:44: note: in expansion of macro ‘G_PASTE’</div><div> #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1] G_GNUC_UNUSED</div><div>                                            ^</div><div>/c/gstreamer/1.0/x86_64/include/glib-2.0/glib/gthread.h:249:5: note: in expansion of macro ‘G_STATIC_ASSERT’</div><div>     G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer));       \</div><div>     ^</div><div>src/library/parsers/versions_result.c:130:6: note: in expansion of macro ‘g_once_init_enter’</div><div>  if (g_once_init_enter (&app_electron_parsers_versions_result_type_id__volatile)) {</div><div><br></div><div><br></div></div>