make issue: [qlcinputprofile.o] Error 1

Post Reply
muxlux
Posts: 15
Joined: Tue Aug 11, 2015 6:25 pm
Real Name: Your real name

#hey now, trying to install qlcplus on centos 6 with ola already installed.
#all goes well until
$ make
#where make ends with:
g++ -c -pipe -Werror -Wno-unused-local-typedefs -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -Iaudio -I../../plugins/interfaces -I../../hotplugmonitor/src -I. -o qlcinputprofile.o qlcinputprofile.cpp
In file included from qlcinputprofile.cpp:26:
qlcinputchannel.h:93: error: ‘QIcon’ does not name a type
qlcinputchannel.h:96: error: ‘QIcon’ does not name a type
qlcinputchannel.h:98: error: ‘QIcon’ does not name a type
cc1plus: warnings being treated as errors
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"
make[2]: *** [qlcinputprofile.o] Error 1
make[2]: Leaving directory `/home/muxlux/ola/qlcplus-4.10.1/engine/src'
make[1]: *** [sub-src-make_default-ordered] Error 2
make[1]: Leaving directory `/home/muxlux/ola/qlcplus-4.10.1/engine'
make: *** [sub-engine-make_default-ordered] Error 2

#any ideas? i have no clue where to go from here
#thx n-advanc
muxlux
Posts: 15
Joined: Tue Aug 11, 2015 6:25 pm
Real Name: Your real name

in case it helps:
$ gcc -v
Using built-in specs.
Target: i686-redhat-linux
Configured with: ...(several lines of configs)...
gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
User avatar
mcallegari
Posts: 4710
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

--Moved to Software development--

GCC 4.4 is a bit old...and probably that's the cause

Add this at the beginning of qlcinputchannel.h

Code: Select all

#include <QIcon>
muxlux
Posts: 15
Joined: Tue Aug 11, 2015 6:25 pm
Real Name: Your real name

thx for teh response, it's a moot point now. i ditched centos in favor of ubuntu 12.04 after i read qlc+ is tested on it.
i've been trying for months to get dmx_usb_module load & make qlc+ recognize my tty to rs485 converter. i guess i should go get a job to save up $ to get a proprietary device instead of wasting my time trying to get what i have working :/
Post Reply