<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>I finally figured out the problem. Hope this information will help others.</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;"><span>After the standard VLC includes, I had another include from the Boost library:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
 normal;"><span><br></span></div><div>#include <vlc_common.h></div><div>#include <vlc_plugin.h></div><div style="background-color: transparent;"><span></span></div><div>#include <vlc_filter.h>  // This is line 17</div><div><br></div><div>#include <boost/thread.hpp></div><div><br></div><div>Somehow VLC definitions have a conflict with boost definitions. </div><div><br></div><div>I moved the logic dealing with boost mutex into a different source file. Now, VLC is happy.</div><div><br></div><div>Regards,</div><div>Peter</div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, February 11, 2014 2:52 PM, Peter Tap
 <ptrtap@yahoo.com> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv8611846871"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div>Folks,</div><div><br></div><div>Environment: Ubuntu 13.10</div><div><br></div><div>My custom video_filter code used to work fine under VLC 2.0.4. I am now trying to move the code to 2.1.2 and am running into problems. I am wondering if someone can tell me what is it that I am not doing right.</div><div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter</div><div><br></div><div><br></div><div>make[1]: Entering directory `/home/peter/vlc/modules/video_filter'</div><div>../../doltlibtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DMODULE_NAME=$(p="libpetermerc_plugin_la-peterWM.lo";
 p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}") -DMODULE_NAME_IS_$(p="libpetermerc_plugin_la-peterWM.lo"; p="${p##*/}";
 p="${p#lib}"; echo "${p%_plugin*}") -DMODULE_STRING=\"$(p="libpetermerc_plugin_la-peterWM.lo"; p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}")\" -D__PLUGIN__ -I../../include -I../../include  -I/home/peter/Dev/Include   -g -O2 -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -fvisibility=hidden -ffast-math -funroll-loops -fomit-frame-pointer -c -o libpetermerc_plugin_la-peterWM.lo `test -f 'peterWM.cpp' || echo './'`peterWM.cpp</div><div>In file included from ../../include/vlc_picture.h:35:0,</div><div>                 from ../../include/vlc_filter.h:29,</div><div>                 from peterWM.cpp:17:</div><div>../../include/vlc_atomic.h:54:5: error: expected unqualified-id before âfalseâ</div><div>     false</div><div>     ^</div><div>../../include/vlc_atomic.h:113:26: error: expected â)â
 before â,â token</div><div>     (__sync_synchronize(), *(object))</div><div><br></div><div>Here is the top part of peterWM.cpp:</div><div><br></div><div>#ifdef HAVE_CONFIG_H</div><div># include "config.h"</div><div>#endif</div><div><br></div><div>#include <vlc_common.h></div><div>#include <vlc_plugin.h></div><div>#include <vlc_filter.h>  // This is line 17</div><div>...</div><div><br></div><div>And here is my definition in Modules.am:</div><div><br></div><div>libpetermerc_plugin_la_SOURCES = peterWM.cpp</div><div>libpetermerc_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(HOME)/Dev/Include </div><div><br></div><div><br></div></div></div></div><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel"
 target="_blank">https://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br></div>  </div> </div>  </div> </div></body></html>