Open FuckLinuxUpdates opened 1 year ago
It was built for QT 4, if you want to compile by yourself for QT5 build from my fork https://github.com/exuvo/linuxtrack (contains https://github.com/uglyDwarf/linuxtrack/pull/166 https://github.com/uglyDwarf/linuxtrack/pull/201 https://github.com/uglyDwarf/linuxtrack/pull/167) Dependency changes (on arch) are: No longer needs qt4 and qtwebkit, Now needs qt5-base, mxml, nsis.
@exuvo thanks for the fork! It seems to resolve the QT4 requirements on Linux Mint as well, but the big issue now is support for opencv. By default, Mint 21.3 has opencv4 in the repos. Just out of curiosity, I changed the opencv references to opencv4 in the configure and configure.ac files, ran autoreconf -fi
, and it got pretty far during the make before it died with
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -I/usr/include/opencv4 -g -O2 -g -O2 -Wall -Wextra -Wformat -Wformat-security --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2 -c facetrack.cpp -fPIC -DPIC -o .libs/libfacetrack_int_la-facetrack.o facetrack.cpp: In function ‘void* ltr_int_detector_thread(void*)’: facetrack.cpp:168:24: error: ‘cvGetTickCount’ was not declared in this scope 168 | double t = (double)cvGetTickCount(); | ^~~~~~~~~~~~~~ make[3]: *** [Makefile:1319: libfacetrack_int_la-facetrack.lo] Error 1
Is there any chance of getting it to work with opencv4?
Would it be compatible with opencv3, as that is the earliest version available on the opencv website.
Many thanks
Well yes you just need to figure out what the replacements in newer opencl is for the removed functions. No i wont be doing it until the old one stops compiling on my arch linux.
On Thu, 18 Apr 2024, 17:22 Mik Constantinou, @.***> wrote:
@exuvo https://github.com/exuvo thanks for the fork! It seems to resolve the QT4 requirements on Linux Mint as well, but the big issue now is support for opencv. By default, Mint 21.3 has opencv4 in the repos. Just out of curiosity, I changed the opencv references to opencv4 in the configure and configure.ac files, ran autoreconf -fi, and it got pretty far during the make before it died with
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -O2 -I/usr/include/opencv4 -g -O2 -g -O2 -Wall -Wextra -Wformat -Wformat-security --param ssp-buffer-size=4 -fstack-protector -D_FORTIFY_SOURCE=2 -c facetrack.cpp -fPIC -DPIC -o .libs/libfacetrack_int_la-facetrack.o facetrack.cpp: In function ‘void ltr_int_detector_thread(void)’: facetrack.cpp:168:24: error: ‘cvGetTickCount’ was not declared in this scope 168 | double t = (double)cvGetTickCount(); | ^
~~~~~ make[3]: *** [Makefile:1319: libfacetrack_int_la-facetrack.lo] Error 1 Is there any chance of getting it to work with opencv4? Would it be compatible with opencv3, as that is the earliest version available on the opencv website.Many thanks
— Reply to this email directly, view it on GitHub https://github.com/uglyDwarf/linuxtrack/issues/199#issuecomment-2064214207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPUKOWZGUJ4LGVDAYOO3B3Y57QNFAVCNFSM6AAAAAA42EHH5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRUGIYTIMRQG4 . You are receiving this because you were mentioned.Message ID: @.***>
@mikconstantinou I'm somewhat puzzled by the error message - that is something I fixed some time ago... I'm going to rebuild the universal package soon - the distro I used is too ancient now; unfortunately real life doesn't allow my to move as fast as I'd like. Stay tuned... Kind regards,
Michal
@uglyDwarf thanks so much, I'll keep an eye out!
This had inspired me to start looking at how flatpak works so that I could create a sandboxed flatpak of Linuxtrack with all of the dependencies self-contained. I haven't gotten very far, because I have the same problem of real life getting in the way.
Thanks again Michal
Hello,
I'd like to make you aware of the following issue on Linux Mint 21.2- Debian 22. there are missing libraries that I can't find.
These are for:
/opt/linuxtrack/bin
and
/opt/linuxtrack/lib/linuxtrack
the missing libraries were:
ibcrypto.so.1.0.0 => not found libcwiid.so.1 => not found liblo.so.7 => not found libQtCore.so.4 => not found libQtGui.so.4 => not found libQtNetwork.so.4 => not found libQtOpenGL.so.4 => not found libQtWebKit.so.4 => not found
and
ibcwiid.so.1 => not found libopencv_core.so.2.3 => not found libopencv_imgproc.so.2.3 => not found libopencv_objdetect.so.2.3 => not found
Respectively.
I'm following the instructions included and using the latest version (0.99.18).
Thank you for your time :)