[Bug 743041] New: gstglapi.h not compiling with MSVC (Visual Studio 2013)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 16 06:24:05 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=743041
  GStreamer | gst-plugins-bad | 1.4.5

           Summary: gstglapi.h not compiling with MSVC (Visual Studio
                    2013)
    Classification: Platform
           Product: GStreamer
           Version: 1.4.5
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: lasse at lasselaursen.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


On line 82 in the gstglapi.h file:

#  if __WIN32__ || _WIN32

causes an

Error    1    error C1017: invalid integer constant expression   
d:\sdks\gstreamer\1.0\x86\include\gstreamer-1.0\gst\gl\gstglapi.h    82

error.

__tim suggested fixing this problem thusly, which seems to work:

#  if defined(__WIN32__) || defined(_WIN32)

So... Yeah, maybe do that? Hopefully this doesn't cause other headaches.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list