-
Notifications
You must be signed in to change notification settings - Fork 86
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
don't build on kali 2018.3a - missing "NetworkManager.h" #45
Comments
4.19.0-kali1-amd64 , exactly the same, SOLUTION to this:
Download Kali-usable Version: (commit I tested it with, newer should work too) sudo apt install -y cmake build-essential libqt4-dev libqt4-dev libqt4-dev-bin qt4-dev-tools libssl-dev network-manager-dev libsystemd-dev libnm-* Then download NetworkManager from git: (commit I tested it with, newer should work too) copy all files from NetworkManager/libnm/ to routerkeygenPC/src/wifi/ #ifndef NETWORKMANAGER_H #define NETWORKMANAGER_H_INSIDE #include "nm-dbus-interface.h" #undef NETWORKMANAGER_H_INSIDE #endif /* NETWORKMANAGER_H */ (delete other includes) modify routerkeygenPC/src/wifi/QWifiManagerPrivateUnix.h : #ifndef QWIFIMANAGERPRIVATEUNIX_H_ #include "QWifiManagerPrivate.h" #include <QtDBus/QDBusConnection> class QWifiManagerPrivateUnix: public QWifiManagerPrivate { private: #endif /* QWIFIMANAGERPRIVATEUNIX_H_ */ (!!! #include "NetworkManager.h" NOT #include <NetworkManager.h> !!!) copy all files from NetworkManager/libnm-core/ to routerkeygenPC/src/wifi/ now run routerkeygenPC/./build_linux.sh |
Can you build the commandline version? |
Yes, building the cli version was possible without the "fix" from above. But in Kali "libnm-gtk-dev" is non-exsistent. So installing the requirements like written in the README is not possible.
cli version builds without it, for other version see fix. P.S.: @RealEnder Big fan, keep up the good work. |
Hi, on kali 2018.3a, even after installing
network-manager-dev
i get this error:The text was updated successfully, but these errors were encountered: