As anyone successfully compiled the VESC-Tool for Raspbian (using the Raspberry Pi 3)? I tried following the instructions provided in the source code, but i'm running into issues when running the ./configure command for qt:
../configure -prefix /opt/Qt/5.7-static/ -release -opensource -confirm-license -static -no-largefile -no-sql-mysql -no-sql-psql -no-sql-sqlite -no-journald -qt-zlib -no-mtdev -no-gif -qt-libpng -qt-libjpeg -qt-harfbuzz -no-openssl -qt-pcre -qt-xcb -no-xinput2 -no-glib -no-egl -no-xcursor -no-xfixes -no-xrandr -qt-xkbcommon-x11 -no-pulseaudio -no-alsa -no-compile-examples -no-cups -no-iconv -no-tslib -fontconfig -dbus-linked -qt-xcb -no-xcb-xlib -no-eglfs -no-directfb -no-linuxfb -no-kms -no-opengl -no-gstreamer -nomake examples -nomake tests -skip qtwebkit -skip qtwebsockets -skip qtwebkit-examples -skip qtwebchannel -skip qtwebengine -skip qtwayland -skip qtwinextras -skip qtsvg -skip qtsensors -skip qtcanvas3d -skip qtconnectivity -skip declarative -skip multimedia -skip quick1 -no-audio-backend -no-xkbcommon-evdev -no-evdev -no-libproxy -no-icu -no-accessibility -skip imageformats -no-dbus
Source: https://github.com/vedderb/vesc_tool/blob/master/build_lin
I'm a total linux noob, so any help would be appreciated. My objective is to create a mobile programmer with touchscreen interface.
Thanks in advance.
I thing you can just use something like
sudo apt-get install qt-sdk
and then from the vesc tool source run
qmake -qt=5
make -j4
Thanks for the response! Unfortunately, i already tried this... I'm getting the following error when executing "make -j4" (just a snippet of the output):
Not sure what to make of this error though.
Try adding a line
CONFIG += C++11
to vesc_tool.pro,
then make clean; qmake