[Bug 3363] Review request: vokoscreen - Screencast creator

RPM Fusion Bugzilla noreply at rpmfusion.org
Fri Sep 19 22:33:56 CEST 2014


https://bugzilla.rpmfusion.org/show_bug.cgi?id=3363

--- Comment #5 from MartinKG <mgansser at alice.de> 2014-09-19 22:33:56 CEST ---
(In reply to comment #4)
> - Modify your SPEC file in order to use all libraries already packaged on
> Fedora. This software requires 'libqxt' and 'qtsingleapplication' libraries for
> its compilation.
> Link directly against the system libs and remove all bundled files in %prep
> section. 
> 
> - A .desktop file is installed so perform a check with 'desktop-file-validate'
> application.
> 
> - Locale files have to be placed. See
> https://fedoraproject.org/wiki/Packaging:Guidelines#Handling_Locale_Files

i tried to compile with the following spec file
https://www.dropbox.com/s/yc5pkr5eewhjl2q/vokoscreen.spec?dl=0

but this fails with:

g++ -Wl,-O1 -Wl,-z,relro -o vokoscreen main.o screencast.o regionselection.o
QvkMagnifier.o QvkWinInfo.o QvkCredits.o QvkVersion.o QvkAlsaWatcher.o
QvkAlsaDevice.o alsa_device.o QvkMail.o QvkWebcam.o QvkWebcamController.o
QvkWebcamWatcher.o QvkProject.o QvkSettings.o moc_screencast.o
moc_regionselection.o moc_QvkMagnifier.o moc_QvkWinInfo.o moc_QvkCredits.o
moc_QvkVersion.o moc_QvkAlsaWatcher.o moc_QvkAlsaDevice.o moc_QvkMail.o
moc_QvkWebcam.o moc_QvkWebcamController.o moc_QvkWebcamWatcher.o
moc_QvkProject.o moc_QvkSettings.o qrc_screencast.o    -L/usr/lib64 -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
-L/usr/lib64/ -lQxtCore -lQxtGui -lQtNetwork -lQtTest -lasound -lopencv_calib3d
-lopencv_contrib -lopencv_core -lopencv_features2d -lopencv_flann
-lopencv_highgui -lopencv_imgproc -lopencv_legacy -lopencv_ml
-lopencv_objdetect -lopencv_ocl -lopencv_photo -lopencv_stitching
-lopencv_superres -lopencv_ts -lopencv_video -lopencv_videostab -lQtGui
-lQtCore -lpthread 
main.o: In function `main':
/home/martin/rpmbuild/BUILD/vokoscreen-2.0.0/main.cpp:28: undefined reference
to `QtSingleApplication::QtSingleApplication(int&, char**, bool)'
/home/martin/rpmbuild/BUILD/vokoscreen-2.0.0/main.cpp:30: undefined reference
to `QtSingleApplication::isRunning()'
/home/martin/rpmbuild/BUILD/vokoscreen-2.0.0/main.cpp:33: undefined reference
to `QtSingleApplication::sendMessage(char const*, int)'
main.o: In function `~QtSingleApplication':
/usr/include/QtSolutions/qtsingleapplication.h:68: undefined reference to
`vtable for QtSingleApplication'
main.o: In function `main':
/home/martin/rpmbuild/BUILD/vokoscreen-2.0.0/main.cpp:57: undefined reference
to `QtSingleApplication::setActivationWindow(QWidget*, bool)'
main.o: In function `~QtSingleApplication':
/usr/include/QtSolutions/qtsingleapplication.h:68: undefined reference to
`vtable for QtSingleApplication'
collect2: error: ld returned 1 exit status
make: *** [vokoscreen] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.PEXjLB (%build)

-- 
Configure bugmail: https://bugzilla.rpmfusion.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the rpmfusion-developers mailing list