GNOME Bugzilla – Bug 666219
[0.11] Build Support for Visual Studio 2010
Last modified: 2012-07-02 13:26:07 UTC
The following patches add build support for Visual Studio 2010. All plugins without ext. dependencies ported to 0.11 are covered except gsttcp which requires posix sockets. Patches for each project is split to one that modifies gstreamer source files that don't build with MSVC and one that adds build projects or modifies files directly related to MSVC builds.
Created attachment 203534 [details] [review] required code changes for gstreamer
Created attachment 203535 [details] [review] vs10 project files for gstreamer
Created attachment 203536 [details] [review] vs10 project files for gst-plugins-base
Created attachment 203537 [details] [review] required code changes for gst-plugins-good
Created attachment 203539 [details] [review] vs10 project files for gst-plugins-good
Created attachment 203540 [details] [review] vs10 project files for gst-plugins-ugly
Created attachment 203541 [details] [review] required code changes for gst-plugins-bad
Created attachment 203542 [details] [review] vs10 project files for gst-plugins-bad
Created attachment 203543 [details] [review] required code changes for gst-ffmpeg
Created attachment 203544 [details] [review] vs10 project files for gst-ffmpeg
Created attachment 203545 [details] [review] required code changes for gst-ffmpeg (previous ffmpeg patch had chunks that shouldn't have been staged)
Created attachment 203619 [details] [review] required code changes for gstreamer adds config.h changes to configure.ac
Created attachment 203620 [details] [review] vs10 project files for gstreamer adds config.h changes to configure.ac
Created attachment 203621 [details] [review] vs10 project files for gst-plugins-base adds config.h changes to configure.ac
Created attachment 203622 [details] [review] required code changes for gst-plugins-good
Created attachment 203623 [details] [review] vs10 project files for gst-plugins-good adds config.h changes to configure.ac
Created attachment 203624 [details] [review] vs10 project files for gst-plugins-ugly adds config.h changes to configure.ac
Created attachment 203744 [details] [review] vs10 project files for gst-plugins-good forgot _stdint.h
Created attachment 203745 [details] [review] vs10 project files for gst-plugins-ugly forgot _stdint.h
Created attachment 203746 [details] [review] vs10 project files for gst-plugins-bad forgot _stdint.h fix bayerorc-dist.h copy for debug configuration
Created attachment 203747 [details] [review] vs10 project files for gst-ffmpeg add missing empty config.h for win32 build
Created attachment 204243 [details] [review] required code changes for gstreamer update 1
Created attachment 204244 [details] [review] vs10 project files for gstreamer update 1
Created attachment 204245 [details] [review] vs10 project files for gst-plugins-base update1
Created attachment 205241 [details] [review] required code changes for gstreamer
Created attachment 205242 [details] [review] vs10 project files for gstreamer
Created attachment 205243 [details] [review] vs10 project files for gst-plugins-base
Created attachment 205244 [details] [review] required code changes for gst-plugins-good
Created attachment 205245 [details] [review] vs10 project files for gst-plugins-good
Created attachment 205246 [details] [review] vs10 project files for gst-plugins-ugly
Created attachment 205247 [details] [review] required code changes for gst-plugins-bad
Created attachment 205248 [details] [review] vs10 project files for gst-plugins-bad
Created attachment 205249 [details] [review] required code changes for gst-ffmpeg
Created attachment 205250 [details] [review] vs10 project files for gst-ffmpeg
Comment on attachment 205242 [details] [review] vs10 project files for gstreamer Pushed this without the changes in generated files and configure.ac
The project files haven't been updated since january 14th, they are likely outdated. Maintaining the project files separately in visual studio turned out to be rather cumbersome, we're working on having the project files generated by cmake.
Who is "we"? I don't know if we're particularly keen on maintaining cmake build files upstream. Can't the project files be generated via autotools? (e.g. similar to androgenizer for Android.mk files)
By "we" I meant my company. I know gstreamer committers are not very keen on cmake based build; I just mentioned it because if the cmake project generation works well I won't be updating these build files. (If the cmake build doesn't work well on the other hand I'll keep updating and posting the project files if there is any interest). I'm not aware of any solution that would transform autoconf/automake build to visual studio project.
The reason we're trying to go with cmake instead of "raw" visual studio project is that text based build files are easier to keep up to date with upstream than visual studio projects. I can of course post the cmake build files once they work if anyone is interested.
Alright, thanks for the explanation. I think it's best to just close this bug then. FWIW, I believe work is actually being done on generating MSVC build files automatically.