[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re: [bug] Cannot compile GST 3.1 on Windows

From: Paolo Bonzini
Subject: [Help-smalltalk] Re: [bug] Cannot compile GST 3.1 on Windows
Date: Mon, 24 Nov 2008 01:27:06 -0700

Issue status update for Post a follow up:

Project:      GNU Smalltalk
Version:      <none>
Component:    Build
Category:     bug reports
Priority:     normal
Assigned to:  Unassigned
Reported by:  ZuLuuuuuu
Updated by:   bonzinip
Status:       active

This patch should fix part of the OpenGL build, but unfortunately not

--- a/packages/opengl/gstopengl.h
+++ b/packages/opengl/gstopengl.h
@@ -56,6 +56,10 @@
#include "config.h"
#include "gstpub.h"

+#if defined __MSVCRT__ || defined __CYGWIN__ || defined __CYGWIN32__
|| defined WIN32 || defined _WIN32 || defined __WIN32__
+#include +#endif
#include GL_GL_H
#include GL_GLU_H

--- a/build-aux/gl.m4
+++ b/build-aux/gl.m4
@@ -9,7 +9,7 @@ AC_CACHE_CHECK([how to link with OpenGL libraries],
gst_cv_opengl_libs, [
  if test $ac_cv_header_OpenGL_gl_h = yes || \
     test $ac_cv_header_GL_gl_h = yes; then
    case $host in
-      *-*-mingw* | *-*-cygwin*) gst_cv_opengl_libs='' ;;
+      *-*-mingw* | *-*-cygwin*) gst_cv_opengl_libs='-lopengl32
-lgdi32' ;;
      *-*-beos* | *-*-qnx*) gst_cv_opengl_libs='-lGL' ;;
      *-*-darwin*) gst_cv_opengl_libs='-Wl,-framework,OpenGL' ;;
      *) gst_cv_opengl_libs='-lGL -lGLU $(X_LIBS) $(X_PRE_LIBS) -lX11'

Please use /make >error.log 2>&1/, it is very hard to figure out these
problems without seeing the *first* errors.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]