[vlc-devel] Help for linking projectM

Jean-Baptiste Kempf jb at videolan.org
Fri Dec 4 07:35:57 CET 2009


Hello guys,

I am asking a linking question because I am a bit stuck.

When linking the projectM module, I receive messages like this:
/usr/win32/lib/libprojectM.a(projectM.obj):projectM.cpp:(.text+0x8a9):
undefined reference to `Renderer::SetPipeline(Pipeline&)'
/usr/win32/lib/libprojectM.a(projectM.obj):projectM.cpp:(.text+0xe57):
undefined reference to `BeatDetect::detectFromSamples()'
/usr/win32/lib/libprojectM.a(projectM.obj):projectM.cpp:(.text+0xf48):
undefined reference to `Renderer::RenderFrame(Pipeline const&,
PipelineContext const&)'
see:  http://vlc.pastebin.com/m6b995602

It seems obvious, though, when using i586-mingw32msvc-objdump -t on
libprojectM.a, I have
[530](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000
__ZN8Renderer11SetPipelineER8Pipeline
[503](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000
__ZN10BeatDetect17detectFromSamplesEv
[513](sec  0)(fl 0x00)(ty  20)(scl   2) (nx 0) 0x00000000
__ZN8Renderer11RenderFrameERK8PipelineRK15PipelineContext

Any idea?

Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list