<div dir="ltr">I am making some changes in my local code and that requires getting current time. I  found libvlc_clock() api declared in vlc/libvlc.h and defined in lib/core.c.<div><br></div><div>So I included the respective header in my source file (src/playlist/thread.c) or actions_manager.cpp in modules/gui/qt4/ i.e.</div>
<div><br></div><div>#include <vlc/libvlc.h> // added for libvlc_clock()<br></div><div><br></div><div>This works perfectly fine when i compile and use it on Linux.</div><div><br></div><div>However, cross compilation for windows fails</div>
<div><div><br></div><div>========== undefined reference to `_libvlc_clock'</div></div><div><br></div><div>Any help is highly appreciated. Thanks</div><div><br></div></div>