N
Noel Mosa
Hi,
i am using a library compiled in C(FFMPEG) and need to access a number
of variables that are defined within a C module.
The include file for the library declares it as a extern pointer.
I can compile without problems but when linking the linker cant find it
and aborts.
lets say a variable is called "dummy" then the linker gives an error
that it cant find "_dummy".
The variable extern declaration is already within "extern "C ""
brackets...(wich are again within #ifdef __cplusplus'es)
or is maybe the problem that it is also a extern variable?
so the declaration looks like
extern "C" extern int dummy;
what can i dooo?? is it a thing i can resolve in the language or do i
have to tweak the linker?
thanks for any hint or response!!
i am using a library compiled in C(FFMPEG) and need to access a number
of variables that are defined within a C module.
The include file for the library declares it as a extern pointer.
I can compile without problems but when linking the linker cant find it
and aborts.
lets say a variable is called "dummy" then the linker gives an error
that it cant find "_dummy".
The variable extern declaration is already within "extern "C ""
brackets...(wich are again within #ifdef __cplusplus'es)
or is maybe the problem that it is also a extern variable?
so the declaration looks like
extern "C" extern int dummy;
what can i dooo?? is it a thing i can resolve in the language or do i
have to tweak the linker?
thanks for any hint or response!!