AncientLysine / BiliLocal

add danmaku to local videos
GNU General Public License v3.0
621 stars 105 forks source link

编译失败,raspbian #68

Open MrThanlon opened 6 years ago

MrThanlon commented 6 years ago
src/Player/VPlayer.cpp: In function ‘void {anonymous}::mid(const libvlc_event_t*, void*)’:
src/Player/VPlayer.cpp:187:14: error: request for member ‘tryLock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
   if (::time.tryLock()) {
              ^~~~~~~
src/Player/VPlayer.cpp:191:11: error: request for member ‘unlock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
    ::time.unlock();
           ^~~~~~
src/Player/VPlayer.cpp: In member function ‘virtual void VPlayer::setTime(qint64)’:
src/Player/VPlayer.cpp:395:11: error: request for member ‘lock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
    ::time.lock();
           ^~~~
src/Player/VPlayer.cpp:399:11: error: request for member ‘unlock’ in ‘time’, which is of non-class type ‘time_t(time_t*) throw () {aka long int(long int*) throw ()}’
    ::time.unlock();
           ^~~~~~

不太清除这里的状况

tickscn commented 5 years ago

本人不会编程,不过搜索发现好像是重名造成的,我修改了time的名字编译通过了,不过运行有问题