After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 756396 - [PATCH]Fixing build issue on VS2010
[PATCH]Fixing build issue on VS2010
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-11 17:06 UTC by barunsingh
Modified: 2016-08-08 17:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Modified files attached. (423.00 KB, application/octet-stream)
2015-10-11 17:06 UTC, barunsingh
Details

Description barunsingh 2015-10-11 17:06:28 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.
Comment 1 Tim-Philipp Müller 2016-08-08 17:52:10 UTC
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.