wiringPi undefined issues - Raspberry Pi Forums


hi,
trying use wiringpi , led light (just learn how talking) interface using qt while using c++. keep getting undefined reference wiringpi try use. ex undefined reference 'wiringpisetup'
have wiringpi.h in include list , have wiringpi.h added project other .h files , nothing working. apprecited.

cdbean04 wrote:hi,
trying use wiringpi , led light (just learn how talking) interface using qt while using c++. keep getting undefined reference wiringpi try use. ex undefined reference 'wiringpisetup'
have wiringpi.h in include list , have wiringpi.h added project other .h files , nothing working. apprecited.
"interface using qt" mean using (qt-based) ide (integrated development environment)?
if so, one? setting include list , *.h files think need find/work out add in linker directive -lwiringpi . depends upon ide you're using, afaik.**
trev.
** use ide's myself, having worked large, complex combined 'c' & (legacy) fortran program original makefiles not compatible "modern" ide's before retired. of later, 'c' software, built using autotools methods fine "anjuta" ide, but, w.r.t. pi, prefer use favourite editor , autotools build system.
edit: topic duplicate of viewtopic.php?f=33&t=112116
locking.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support