GNOME Bugzilla – Bug 756396
[PATCH]Fixing build issue on VS2010
Last modified: 2016-08-08 17:52:10 UTC
Created attachment 313067 [details] Modified files attached. Fixed following to build on Windows platform using VS2010 express edition. Please check in attachment. Fix details: Replaced bison command with Win_bison in project "generated" .vcxproj file. Replaced flex command with Win_flex in prokect "generated" .vcxproj file. Fixed Win_flex command line to generate parse_lex.h file. Removed PREFIX macro from common.props file. (conflict with PREFIX macro defined in config.h) Removed BISON_PKGDATADIR macro from Common.props (Not Required) and causing compilation error. Added #define TARGET_CPU "" in common/config.h Deleted gstmarshall.list from project "generated". (File does not exist) Moved for loop variable i and j to declaration block of function gst_protection_factory_check in file gstprotection.c (C99 support issue) Modified #if defined (_MSC_VER) && _MSC_VER >= 1600 to #if defined (_MSC_VER) && _MSC_VER > 1600 in gst-printf.h line:53 Removed gstmarshal.c file from project "gstreamer". (Non existent file) Adding missing source files in almost all projects.
Thanks for the bug report. Please submit things in future in form of git format-patch patches, not tarballs with the new files :) I think this is mostly obsolete now from our point of view. There's no desire to maintain msvc project files, nor do we aim to support ancient MSVC versions (such as VS2010) any more. Current efforts at building GStreamer with MSVC can be found at http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html (not upstream yet though). Please test and let us know any issue you run into with this.