[vlc-devel] Compile errors
Peter Tap
ptrtap at yahoo.com
Tue Feb 11 23:52:25 CET 2014
Folks,
Environment: Ubuntu 13.10
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.
Thank you in advance for your help.
Regards,
Peter
make[1]: Entering directory `/home/peter/vlc/modules/video_filter'
../../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
In file included from ../../include/vlc_picture.h:35:0,
from ../../include/vlc_filter.h:29,
from peterWM.cpp:17:
../../include/vlc_atomic.h:54:5: error: expected unqualified-id before âfalseâ
false
^
../../include/vlc_atomic.h:113:26: error: expected â)â before â,â token
(__sync_synchronize(), *(object))
Here is the top part of peterWM.cpp:
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h> // This is line 17
...
And here is my definition in Modules.am:
libpetermerc_plugin_la_SOURCES = peterWM.cpp
libpetermerc_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) -I$(HOME)/Dev/Include
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140211/9b6ef304/attachment.html>
More information about the vlc-devel
mailing list