[gst-devel] Undeclared identifier - GST_THREAD_MUTEX_LOCKED

David I. Lehn dlehn at vt.edu
Wed Nov 10 13:49:05 CET 2004


* Larry Berlinski <LBerlinski at inspireworksinc.com> [2004-11-10T16:21:01-0500]:
> Attempting to compile gstreamer using MSVC .net 2003 on a W2K machine.
> 
> I get the following error and need help getting it resolved.
> 
> [snip]
> c:\gstreamer-0.8.7\gst\gstenumtypes.c(872) : error C2065: 'GST_THREAD_MUTEX_LOCKED' : undeclared identifier
> c:\gstreamer-0.8.7\gst\gstenumtypes.c(872) : error C2099: initializer is not a constant
> [/snip]
> 
> I can't find GST_THREAD_MUTEX_LOCKED in any header or c source file (except of course in gstenumtypes.c).
> 
> I even looked in the 0.8.6 version as well ... nada ... 
> ... what to do? ... what to do?
> 
> Should I add GST_THREAD_MUTEX_LOCKED to gstthread.h?
> 

It was recently removed:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstthread.h?r1=1.30&r2=1.31

Perhaps you need to regenerate the gstenumtypes.c file.

-dave




More information about the gstreamer-devel mailing list