(sorry for posting here, but there seems to be no support forum)
Trying to build on Ubuntu 12.10 x86_64 using Qt 4.8.3 and got this.
cd hid/ && make -f Makefile
make[2]: Entering directory `/home/daniel/tmp/qlcplus-code/plugins/hid'
g++ -c -m64 -pipe -Werror -g -Wall -W -D_REENTRANT -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.8.3/mkspecs/linux-g++-64 -I. -I/usr/local/Trolltech/Qt-4.8.3/include/QtCore -I/usr/local/Trolltech/Qt-4.8.3/include/QtGui -I/usr/local/Trolltech/Qt-4.8.3/include -I../interfaces -I. -I. -o hideventdevice.o hideventdevice.cpp
hideventdevice.cpp: In member function ‘virtual bool HIDEventDevice::readEvent()’:
hideventdevice.cpp:245:62: error: ‘read’ was not declared in this scope
make[2]: *** [hideventdevice.o] Error 1
make[2]: Leaving directory `/home/daniel/tmp/qlcplus-code/plugins/hid'
make[1]: *** [sub-hid-make_default] Error 2
make[1]: Leaving directory `/home/daniel/tmp/qlcplus-code/plugins'
make: *** [sub-plugins-make_default-ordered] Error 2
And while I'm at it; how do you work on the software? Are you using Qt Creator? Or any other IDE?
I'm an old C non-GUI programmer, but Qt and IDE's are pretty new to me (used to Emacs mostly). Would really like to get into the QLC+ software and contribute.
Compiling on Ubuntu 12.10 x86_64
I develop with QT Creator and compile from a shell on Ubuntu 12.04 64bit and Ubuntu 10.04 32bit.
It seems you're missing some -dev package.
Have you tried
sudo apt-get install g++ make libqt4-dev qt4-dev-tools libasound2-dev libusb-dev debhelper devscripts fakeroot libftdi-dev pkg-config libudev-dev
It seems you're missing some -dev package.
Have you tried
sudo apt-get install g++ make libqt4-dev qt4-dev-tools libasound2-dev libusb-dev debhelper devscripts fakeroot libftdi-dev pkg-config libudev-dev
It was two missing #include , found help in this thread:
https://sourceforge.net/mailarchive/for ... hange+View
Attaching a patch to fix it. Why don't you have this issue? Weird.
https://sourceforge.net/mailarchive/for ... hange+View
Attaching a patch to fix it. Why don't you have this issue? Weird.
- Attachments
-
- fix-missing-unistd-include.patch
- (645 Bytes) Downloaded 103 times
I guess 12.04 and 12.10 use different gcc versions so everything might be possible.
Have the build gone fine after that ?
By the way, thanks for the patch
Have the build gone fine after that ?
By the way, thanks for the patch