[vlc-devel] vlc modules development
effemm at mykmk.com
Mon Jan 31 20:24:56 CET 2011
>> I am guessing here, but I assume that the environment is not properly
>> Is there some example code that describes how to compile/link a module
>> outside the vlc source tree?
>On Linux, you probably need
># define _GNU_SOURCE 1
>to do anything useful.
I added the following defines
gcc -Wall -O2 -std=c99 -D _GNU_SOURCE -D __USE_UNIX98
-DMODULE_STRING=\"v4l3\" -I. -I /usr/include/vlc/plugins -c -o v4l3.o
v4l3.c:250: warning: implicit declaration of function N_
v4l3.c:250: error: initializer element is not constant
v4l3.c:250: error: (near initialization for psz_standards_list_text)
I tried adding define N_=(String), but that doesn't do much good.
Anybody knows how that is inheritated by vlc
More information about the vlc-devel