[gst-devel] Undeclared identifier - GST_THREAD_MUTEX_LOCKED
Larry Berlinski
LBerlinski at inspireworksinc.com
Wed Nov 10 13:15:03 CET 2004
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?
[snip old code]
typedef enum {
GST_THREAD_STATE_SPINNING = GST_BIN_FLAG_LAST,
GST_THREAD_STATE_REAPING,
GST_THREAD_STATE_WAITING,
/* padding */
GST_THREAD_FLAG_LAST = GST_BIN_FLAG_LAST + 4
} GstThreadState;
[/snip old code]
[snip new? code]
typedef enum {
GST_THREAD_STATE_SPINNING = GST_BIN_FLAG_LAST,
GST_THREAD_STATE_REAPING,
GST_THREAD_STATE_WAITING,
GST_THREAD_MUTEX_LOCKED, /* Added LWB */
/* padding */
GST_THREAD_FLAG_LAST = GST_BIN_FLAG_LAST + 4
} GstThreadState;
[/snip new? code]
... but I don't know what the effect of adding it would be!
,,,,
Ô¿Ô¬ Larry Berlinski
--> There are 10 types of people who understand binary: those who do and those who don't.
More information about the gstreamer-devel
mailing list