嗨我想用qtcreator5与libvlc建立一个项目。 我有包括图书馆VLC未定义的引用libvlc
#include <vlc/vlc.h>
但是当我想要编译我有这样的错误:
/home/eid/Code/Joker/tests/VideoTest/player.cpp:26: error: undefined reference to 'libvlc_new'
谁能帮助我?
SRY,我的英语
嗨我想用qtcreator5与libvlc建立一个项目。 我有包括图书馆VLC未定义的引用libvlc
#include <vlc/vlc.h>
但是当我想要编译我有这样的错误:
/home/eid/Code/Joker/tests/VideoTest/player.cpp:26: error: undefined reference to 'libvlc_new'
谁能帮助我?
SRY,我的英语
你必须添加这样的事情在你的.pro
INCLUDEPATH += "../vlc" \
LIBS += "../libvlc_new.so" \
include路径是那里是VLC标题的方式,和库哪里是你的VLC LIB 它必须是.so
你确定它找到了正确的地方吗? –