GNOME Bugzilla – Bug 669785
Build fixes for COGL master (1.9.x)
Last modified: 2012-02-13 13:42:25 UTC
Created attachment 207226 [details] [review] Use COGL_HAS_GLIB_SUPPORT and predefine COGL_SYSDEF_POLL* Hi, I was building COGL lately on Visual C++ and found there are some issues during the build, where I think the following patches need to be made. The first one is regarding the pre-defined cogl-defines.h(.win32|.win32_SDL) as COGL_HAS_GLIB_SUPPORT and COGL_SYSDEF_POLL* values need to be defined for the build and usage of COGL. Please note that I am not currently adding support to build COGL without GLIB due to its use in Clutter, which AFAIK uses GLib and other GNOME platform libraries quite extensively.
Created attachment 207227 [details] [review] Remove stray ';' from cogl-in-gles-core-functions.h Next up is the removal of a stray ';' from cogl-in-gles-core-functions.h which some compilers don't like at all.
Created attachment 207228 [details] [review] Updates to cogl.symbols Next up is the updates that are necessary to cogl.symbols, as it is getting out of date, especially due to additional/change of APIs and removal of the _EXP suffix of functions.
Created attachment 207229 [details] [review] Filter out the SDL winsys code for VS project completion Last but not least, this is more of a paranoid fix on my part-don't include the SDL winsys code when Visual C++ project files are expanded during 'make dist' as it could be included in the projects twice, which can cause trouble. These files are handled directly in the projects as they are only built under certain configs. With blessings, thank you!
I've pushed the patches as e654e3f..9b87e86. Thank you!