You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Hi,
While compiling on Ubuntu 16.04, I got the error:
../../output/Ubuntu-16.04-64bit/lib/libvelib.so: undefined reference to `mir_output_get_current_mode'
I've tried to add -lmirclient in the compiling command, but still failed.
Specifically, here is what I did:
For building the velib, -lmirclient was added in LDFLAGS
For building client, -lsnappy and -lmirclient were added in ./client/prj_linux/veclient.pro, which will be used to generate Makefile. Hence, the compiling will contain these two libs.
Here is the output error when I compile directly under ./client/prj_linux folder:
Hi,
While compiling on Ubuntu 16.04, I got the error:
../../output/Ubuntu-16.04-64bit/lib/libvelib.so: undefined reference to `mir_output_get_current_mode'
I've tried to add -lmirclient in the compiling command, but still failed.
Specifically, here is what I did:
Here is the output error when I compile directly under ./client/prj_linux folder:
cd ./prj_linux/ ; qmake .;
Project MESSAGE: You are running qmake on a generated .pro file. This may not work!
make -C ./prj_linux;
make[1]: Entering directory '/home/qianbb/CLionProjects/rapidvms/client/prj_linux'
g++ -Wl,-rpath,/home/qianbb/CLionProjects/rapidvms/output/Ubuntu-16.04-64bit/lib -o RapidClient debug/main.o debug/vscabout.o debug/vscdashboard.o debug/vscdashboardtaskitem.o debug/vsceventconsole.o debug/vsclogin.o debug/vscmainwindows.o debug/vsctoobar.o debug/vscuserstatus.o debug/vscvidlist.o debug/vscvidlistframe.o debug/switchbutton.o debug/switchcontrol.o debug/vscvidinf.o debug/vscviditeminf.o debug/vscvidtreeinf.o debug/vscviditemcam.o debug/vscviditememap.o debug/vscviditemvidstor.o debug/vscviditemview.o debug/vscvidtreecam.o debug/vscvidtreeemap.o debug/vscvidtreeview.o debug/vscvidlive.o debug/vscview.o debug/vscviewconf.o debug/vvidpbview.o debug/vidclientsetting.o debug/vscvidconfig.o debug/vscvidtreeconf.o debug/vscviditemaddcam.o debug/vscviditemaddstor.o debug/vscviditemcamconf.o debug/vscviditemclientconf.o debug/vscviditemdiskconf.o debug/vscviditememapconf.o debug/vscviditemstorconf.o debug/vscviditemviewconf.o debug/vidcamadd.o debug/vidcamsetting.o debug/vidstoradd.o debug/vidstorsetting.o debug/vscstorlicense.o debug/vscstoruser.o debug/vscstorversion.o debug/vschddedit.o debug/vschddoneedit.o debug/vsccaminfo.o debug/vsccamrec.o debug/vscmotion.o debug/vscmotreg.o debug/vscschedule.o debug/vscstreamselect.o debug/vsclanguage.o debug/vsclicense.o debug/vscuser.o debug/vscversion.o debug/vidviewconf.o debug/videmapconf.o debug/vscvideventsearch.o debug/vscvidsearchpb.o debug/qrc_vscmainwindows.o debug/moc_vscdashboard.o debug/moc_vscdashboardtaskitem.o debug/moc_vsceventconsole.o debug/moc_vscabout.o debug/moc_vscvidlistframe.o debug/moc_vsclogin.o debug/moc_vscuserstatus.o debug/moc_vscvidlist.o debug/moc_vsctoolbar.o debug/moc_vscmainwindows.o debug/moc_switchcontrol.o debug/moc_vscvidtreeinf.o debug/moc_switchbutton.o debug/moc_vscvidinf.o debug/moc_vscviditemvidstor.o debug/moc_vscvidtreeview.o debug/moc_vscvidtreeemap.o debug/moc_vscvidtreecam.o debug/moc_vscviewconf.o debug/moc_vscview.o debug/moc_vvidpbview.o debug/moc_vscvidlive.o debug/moc_vscvidtreeconf.o debug/moc_vidclientsetting.o debug/moc_vscvidconfig.o debug/moc_vscviditemaddcam.o debug/moc_vscviditemaddstor.o debug/moc_vscviditemcamconf.o debug/moc_vscviditemclientconf.o debug/moc_vscviditemdiskconf.o debug/moc_vscviditememapconf.o debug/moc_vscviditemstorconf.o debug/moc_vscviditemviewconf.o debug/moc_vidstoradd.o debug/moc_vidcamadd.o debug/moc_vidstorsetting.o debug/moc_vidcamsetting.o debug/moc_vscstorversion.o debug/moc_vscstorlicense.o debug/moc_vscstoruser.o debug/moc_vschddedit.o debug/moc_vschddoneedit.o debug/moc_vscstreamselect.o debug/moc_vscmotion.o debug/moc_vscschedule.o debug/moc_vscmotreg.o debug/moc_vsccaminfo.o debug/moc_vsccamrec.o debug/moc_vscversion.o debug/moc_vsclanguage.o debug/moc_vsclicense.o debug/moc_vscuser.o debug/moc_vidviewconf.o debug/moc_videmapconf.o debug/moc_vscvidsearchpb.o debug/moc_vscvideventsearch.o -L./../../3rdparty/leveldb/ -L./Debug -L./../../3rdparty/openssl-linux/ -L./../../3rdparty/onvifc/prj_linux/lib -L../../output/Ubuntu-16.04-64bit/lib -L../../output/Ubuntu-16.04-64bit/lib/x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lcmnlib -lavcodec -lavformat -lavutil -lavfilter -lswscale -lleveldb -lvelib -lveuilib -lPocoFoundation -lPocoDataSQLite -lPocoData -lPocoUtil -lprotobuf -lssl -lcrypto -ldl -lstdc++ -lsnappy -lmirclient -L/home/qianbb/CLionProjects/rapidvms/output/Ubuntu-16.04-64bit/lib -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Sql -lQt5Network -lQt5Xml -lQt5DBus -lQt5Concurrent -lQt5Core -lGL -lpthread
../../output/Ubuntu-16.04-64bit/lib/libvelib.so: undefined reference to 'mir_output_get_current_mode'
collect2: error: ld returned 1 exit status
Makefile:481: recipe for target 'RapidClient' failed
make[1]: *** [RapidClient] Error 1
make[1]: Leaving directory '/home/qianbb/CLionProjects/rapidvms/client/prj_linux'
Makefile:7: recipe for target 'vepro_build' failed
make: *** [vepro_build] Error 2
The text was updated successfully, but these errors were encountered: