-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build on Linux (Debian Testing) #69
Comments
Hey. |
Hey, thanks for the notice! I've now actually managed to build KeyFinder, and it does start! I also had to install libavformat-dev, libavcodec-dev and libavutil-dev, which is to be expected. However, when i try to drag/drop a folder, multiple files or even a single file and press run batch analysis, i get: Program received signal SIGSEGV, Segmentation fault. (backtraced in gdb, dito when i try to open a detailed analysis window). Can you guess what could be wrong there? Thanks for your reply ;) |
Maybe a version conflict with libav? If you check the .pro file in KeyFinder it has a list of versions for its dependencies and I'm only building against libav 0.7.6 so far; if your package manager has gone for a newer version then that might lead to a problem like this. |
Is there any progress with this issue? I been trying to compile keyfinder on ubuntu but I always get error. |
A little. I'm super busy with my bachelor thesis, i think i almost have it working, maybe only a little tip from ibsh. i'll try to make time to post details later today or tomorrow. Sorry! |
Hey, okay, here's what i did so far: I've built libav 0.7.6 and installed it to /opt/keyfinder, then built libkeyfinder and changed the makefile so that i can install it in /opt/keyfinder too (i've removed all occurances of "/usr/local" from Makefile and did "INSTALL_ROOT=/opt/keyfinder make install"). Then i've added -I and -L parameters (pointint to /opt/keyfinder/include/* and /opt/keyfinder/lib) to the makefile in is_keyfinder and applied the WORK_CACHEDIR fix from Does this maybe look like gcc is trying to link against my system libav (in /usr/lib) ratehr than the -L i've specified? |
This is the same error which I have on ubuntu but I don't know how I will fix it. |
Hey,
i've just discovered your very nice KeyFinder Software, and i'm eager to try it out. However, i have neither found a precompiled linux binary nor been able to build it on my debian testing system. There is also no build-howto whatsoever. After finding out that "is_KeyFinder.pro" is probably a qmake file(???) i've run "qmake-qt4 is_KeyFinder.pro" which left me with a Makefile and no errors. Upon trying to "make" i get:
g++ -c -pipe -D__STDC_CONSTANT_MACROS -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4 -I. -Iui -o asyncfileobject.o asyncfileobject.cpp
In file included from asyncfileobject.h:26:0,
from asyncfileobject.cpp:22:
preferences.h:40:34: fatal error: keyfinder/parameters.h: No such file or directory
compilation terminated.
When i'm looking at preferences.h, it really does include this nonexistant file from a nonexistant directoy. When either touching a empty file where its expected, or removing the #include, i get a:
preferences.h:58:3: error: ‘KeyFinder’ does not name a type
On various other lines of preferences.h too. I've also tried to compile with qmake-qt3.
It'd be really nice if you could point me to what i'm doing wrong ;(. Also, including a little word of help on how to compile this would be super-nice ;0.
Thanks for your great work so far!
Regards
The text was updated successfully, but these errors were encountered: