[Dev-C++] directshow stuff - gcc chokes on cqueue in wxutils.h
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Thoralf S. <tho...@ya...> - 2005-06-25 13:32:06
|
Hi list, still trying to get some directshow stuff compiled with dev-c++. This time, gcc chokes on line 271 of wxutil.h (the one form the M$ Platform SDK): hSemPut = CreateSemaphore(NULL, n, n, NULL); with these messages: D:/Programme/Microsoft Platform SDK/Samples/Multimedia/DirectShow/BaseClasses/wxutil.h: In member function `void CQueue<T>::Initialize(int)': D:/Programme/Microsoft Platform SDK/Samples/Multimedia/DirectShow/BaseClasses/wxutil.h:271: error: expected primary-expression before ',' token D:/Programme/Microsoft Platform SDK/Samples/Multimedia/DirectShow/BaseClasses/wxutil.h:271: error: expected primary-expression before ')' token D:/Programme/Microsoft Platform SDK/Samples/Multimedia/DirectShow/BaseClasses/wxutil.h:272: error: expected primary-expression before ',' token D:/Programme/Microsoft Platform SDK/Samples/Multimedia/DirectShow/BaseClasses/wxutil.h:272: error: expected primary-expression before ')' token CreateSemaphore gets defined in winbase.h, but even including this file explicitly in wxutil.h doesn't help ... I really searched my a.s off, but couldn't find any hints on how to solve this issue - I really appreciate any help. Thank you in adavance, Thoralf. ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com |