[vlc-devel] Re: Win32 Compile Error

Sigmund Augdal sigmunau at stud.ntnu.no
Tue Jun 14 15:48:08 CEST 2005


On Tue, Jun 14, 2005 at 10:01:59AM -0300, James MacLean wrote:
> Hi Folks,
> 
> Latest SVN and contribs is giving me :
> 
> make[4]: Entering directory 
> `/home/tech_serv/VLC/vlc-trunk/modules/video_output'
> make[4]: `libcaca_plugin.dll' is up to date.
> make[4]: `libwingdi_plugin.dll' is up to date.
> if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../..   
> -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long 
> -DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config 
> --cflags plugin opengl` -Wsign-compare -Wall  -mms-bitfields -pipe -MT 
> libopengl_plugin_a-opengl.o -MD -MP -MF 
> ".deps/libopengl_plugin_a-opengl.Tpo" -c -o libopengl_plugin_a-opengl.o 
> `test -f 'opengl.c' || echo './'`opengl.c; \
> then mv -f ".deps/libopengl_plugin_a-opengl.Tpo" 
> ".deps/libopengl_plugin_a-opengl.Po"; else rm -f 
> ".deps/libopengl_plugin_a-opengl.Tpo"; exit 1; fi
> opengl.c: In function `InitTextures':
> opengl.c:698: error: `GL_CLAMP_TO_EDGE' undeclared (first use in this 
> function)
> opengl.c:698: error: (Each undeclared identifier is reported only once
> opengl.c:698: error: for each function it appears in.)
> make[4]: *** [libopengl_plugin_a-opengl.o] Error 1
> make[4]: Leaving directory 
> `/home/tech_serv/VLC/vlc-trunk/modules/video_output'

Quick fix:
#ifndef GL_CLAMP_TO_EDGE
#define GL_CLAMP_TO_EDGE 0x812F
#nedif

somewhere need the top of the file
> 
> JES

> begin:vcard
> fn:James B MacLean
> n:MacLean;James B
> org:Education;ITS Technical Services
> adr:;;;Halifax;NS;;Canada
> email;internet:macleajb at ednet.ns.ca
> url:http://www.ednet.ns.ca/~macleajb
> version:2.1
> end:vcard
> 




-- 
Sigmund Augdal
Edgar B. Schieldropsv 29-14
N-7033 Trondheim
Norway
tlf: 91809129

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list