Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Backtrace von einem Programm das abstürzt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 256

PostPosted: Fri Jan 22, 2016 3:43 pm    Post subject: Reply with quote

USE="qt5 -qt4" emerge opencv -av

klappt soweit, danach kann ich das Programm auch starten!

Aber das wäre natürlich auch zu einfach gewesen ;)

Denn danach verlangt portage ein emerge @preserved-rebuild


Code:
existing preserved libs:
>>> package: media-libs/opencv-3.0.0
 *  - /usr/lib64/libopencv_highgui.so.2.4
 *  - /usr/lib64/libopencv_highgui.so.2.4.9
 *      used by /usr/lib64/kde4/kipiplugin_removeredeyes.so (media-plugins/kipi-plugins-4.4.0)
 *  - /usr/lib64/libopencv_features2d.so.2.4
 *  - /usr/lib64/libopencv_features2d.so.2.4.9
 *  - /usr/lib64/libopencv_flann.so.2.4
 *  - /usr/lib64/libopencv_flann.so.2.4.9
 *  - /usr/lib64/libopencv_contrib.so.2.4
 *  - /usr/lib64/libopencv_contrib.so.2.4.9
 *      used by /usr/lib64/libkface.so.2.0.0 (kde-apps/libkface-4.4.0)
 *  - /usr/lib64/libopencv_calib3d.so.2.4
 *  - /usr/lib64/libopencv_calib3d.so.2.4.9
 *  - /usr/lib64/libopencv_legacy.so.2.4
 *  - /usr/lib64/libopencv_legacy.so.2.4.9
 *      used by /usr/lib64/kde4/kipiplugin_removeredeyes.so (media-plugins/kipi-plugins-4.4.0)
 *  - /usr/lib64/libopencv_core.so.2.4
 *  - /usr/lib64/libopencv_core.so.2.4.9
 *      used by /usr/bin/digikam (media-gfx/digikam-4.4.0-r1)
 *      used by /usr/lib64/kde4/kipiplugin_removeredeyes.so (media-plugins/kipi-plugins-4.4.0)
 *      used by /usr/lib64/libdigikamcore.so.4.4.0 (media-gfx/digikam-4.4.0-r1)
 *      used by /usr/lib64/libkface.so.2.0.0 (kde-apps/libkface-4.4.0)
 *  - /usr/lib64/libopencv_ml.so.2.4
 *  - /usr/lib64/libopencv_ml.so.2.4.9
 *  - /usr/lib64/libopencv_objdetect.so.2.4
 *  - /usr/lib64/libopencv_objdetect.so.2.4.9
 *      used by /usr/lib64/kde4/kipiplugin_removeredeyes.so (media-plugins/kipi-plugins-4.4.0)
 *      used by /usr/lib64/libkface.so.2.0.0 (kde-apps/libkface-4.4.0)
 *  - /usr/lib64/libopencv_video.so.2.4
 *  - /usr/lib64/libopencv_video.so.2.4.9
 *  - /usr/lib64/libopencv_imgproc.so.2.4
 *  - /usr/lib64/libopencv_imgproc.so.2.4.9
 *      used by /usr/bin/digikam (media-gfx/digikam-4.4.0-r1)
 *      used by /usr/lib64/kde4/kipiplugin_removeredeyes.so (media-plugins/kipi-plugins-4.4.0)
 *      used by /usr/lib64/libkface.so.2.0.0 (kde-apps/libkface-4.4.0)
Use emerge @preserved-rebuild to rebuild packages using these libraries


Das bricht dann bei kde-apps/libkface-4.4.0 ab.

Code:
compilation terminated.
libkface/CMakeFiles/kface.dir/build.make:86: recipe for target 'libkface/CMakeFiles/kface.dir/facedetector.o' failed
make[2]: *** [libkface/CMakeFiles/kface.dir/facedetector.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface/libkface/recognition-opencv-lbph/opencvlbphfacerecognizer.h:35:0,
                 from /var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface/libkface/recognitiondatabase.cpp:31:
/var/tmp/portage/kde-apps/libkface-4.4.0/work/libkface-4.4.0_build/libkface/libopencv.h:41:37: fatal error: opencv2/core/internal.hpp: No such file or directory
 #include <opencv2/core/internal.hpp>
                                     ^
compilation terminated.
libkface/CMakeFiles/kface.dir/build.make:134: recipe for target 'libkface/CMakeFiles/kface.dir/recognitiondatabase.o' failed
make[2]: *** [libkface/CMakeFiles/kface.dir/recognitiondatabase.o] Error 1
In file included from /var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface/libkface/detection/opencvfacedetector.h:40:0,
                 from /var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface/libkface/detection/opencvfacedetector.cpp:41:
/var/tmp/portage/kde-apps/libkface-4.4.0/work/libkface-4.4.0_build/libkface/libopencv.h:41:37: fatal error: opencv2/core/internal.hpp: No such file or directory
 #include <opencv2/core/internal.hpp>
                                     ^
compilation terminated.
libkface/CMakeFiles/kface.dir/build.make:158: recipe for target 'libkface/CMakeFiles/kface.dir/detection/opencvfacedetector.o' failed
make[2]: *** [libkface/CMakeFiles/kface.dir/detection/opencvfacedetector.o] Error 1
In file included from /var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface/libkface/recognition-opencv-lbph/lbphfacemodel.h:35:0,
                 from /var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface/libkface/recognition-opencv-lbph/lbphfacemodel.cpp:30:
/var/tmp/portage/kde-apps/libkface-4.4.0/work/libkface-4.4.0_build/libkface/libopencv.h:41:37: fatal error: opencv2/core/internal.hpp: No such file or directory
 #include <opencv2/core/internal.hpp>
                                     ^
compilation terminated.
libkface/CMakeFiles/kface.dir/build.make:182: recipe for target 'libkface/CMakeFiles/kface.dir/recognition-opencv-lbph/lbphfacemodel.o' failed
make[2]: *** [libkface/CMakeFiles/kface.dir/recognition-opencv-lbph/lbphfacemodel.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/kde-apps/libkface-4.4.0/work/libkface-4.4.0_build'
CMakeFiles/Makefile2:173: recipe for target 'libkface/CMakeFiles/kface.dir/all' failed
make[1]: *** [libkface/CMakeFiles/kface.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/kde-apps/libkface-4.4.0/work/libkface-4.4.0_build'
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: kde-apps/libkface-4.4.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=kde-apps/libkface-4.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/libkface-4.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/libkface-4.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/libkface-4.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/libkface-4.4.0/work/libkface-4.4.0_build'
 * S: '/var/tmp/portage/kde-apps/libkface-4.4.0/work/digikam-4.4.0/extra/libkface'

_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Fri Jan 22, 2016 3:53 pm    Post subject: Reply with quote

Tja :(
Das ist dann etwas für https://bugs.gentoo.org/show_bug.cgi?id=568460 denke ich
(Ich hab auch im opentrack bugtracker einen Kommentar hinterlassen, hast du sicher schon mitbekommen ;))
Back to top
View user's profile Send private message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 256

PostPosted: Fri Jan 22, 2016 4:08 pm    Post subject: Reply with quote

Ja habe ich gesehen! *Daumen hoch* ;O)

Danke nochmal für die Mühe!
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Sat Jan 23, 2016 7:51 am    Post subject: Reply with quote

Null Problemo :)

Soweit ich sehe linken auch die kipi-plugins gegen opencv_highgui. Mit den kipi-plugins aus kde4 kommst du dann definitv nicht weiter. Die anderen Pakete sollten sich mit entsprechenden Patches zum Kompilieren überreden lassen. Leider kann ich dabei nicht helfen...
Die leichteste Lösung wäre warscheinlich opencv-3.0 (oder gleich das neue 3.1) lokal in deinem $HOME zu bauen und zu installieren (als user) und damit dann opentrack zu bauen. Das geht dann deinem stabilen kde4 nicht im Weg rum.

Alternativ: hau kde4 runter und wechsel zu plasma5+kdeapps-5 - das wäre aber mMn. ein wenig Overkill, nur um opentrack zufriedenzustellen...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Sat Jan 23, 2016 2:26 pm    Post subject: Reply with quote

Aha, die Antwort im bugtracker macht Hoffnung:
Bau mal opencv-2.4.9 mit deaktiviertem qt4 USE-Flag. Dann sollten die kde-Pakete noch funktionieren und die Qt4-libs kommen dem opentrack nicht in die Quere. Hatte angenommen, dass die highgui tatsächlich eines der GUI-Backends braucht, scheint aber nicht so zu sein (kenne opencv nicht...)
Back to top
View user's profile Send private message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 256

PostPosted: Sun Jan 24, 2016 6:14 pm    Post subject: Reply with quote

Sorry das verstehe ich nicht ganz wieso opencv-2.4.9, damit läuft opentracker doch nicht.
Sollte ich nicht lieber opencv-3.1.0 mit deaktiviertem qt4 USE-Flag nehmen?


Edit:
Nun macht es klick, opencv-2.4.9 ohne qt4 aus dem Portage und 3.1.0 dann in meinem Heimverzeichnis bauen?
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4408

PostPosted: Sun Jan 24, 2016 7:15 pm    Post subject: Reply with quote

Nene ;)
Der Dev im Opentrack-Bug hat gemeint, opentrack braucht gar keinen Support für irgendein GUI-Toolkit. Weiter soll opentrack sowohl mit opencv in Version 2.4 als auch 3.x funktionieren. Die kde-ebuilds sagen eindeutig, dass sie auch kein opencv mit USE=qt4 brauchen. Demnach kannst du einfach das opencv-2.4.9 mit portage installieren - mit deaktiviertem qt4 Use-Flag - und damit dann deine kde-Programme (digikam, libkface, ...) als auch opentrack kompilieren und verwenden.

Ich war nur dem Irrglauben aufgesessen "highgui" würde zwingend ein gui-Framework voraussetzen. Dem scheint aber nicht so zu sein.
Back to top
View user's profile Send private message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 256

PostPosted: Sun Jan 24, 2016 9:37 pm    Post subject: Reply with quote

Es klappt!

Nur leider kann ich noch keinen Joystick als tracker festlegen um den Edtracker ansprechen zu können.

Hier wird es auch als blocker angegeben:
https://github.com/opentrack/opentrack/issues/234

Im git ist allerdings vorhanden

/opentrack/ftnoir_tracker_joystick/
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum