|
|
mistake from my side: i dont need the makefile. I can compile the shown adc program in terminal with: gcc testADC.c -o testADC -lwiringPi
i compile the fltk App with: fltk-config --compile app.cxx
the problem is that i cant put the needed -lwiringPi in the compile line from the fltk
is it possible to put the ADC code from above in my fltk App code, and it should some how know the reference, so that it dousnt throw: undefined reference to wiringPiSetup ?
or do i have to start the ADC programm from my App with treads as you say before? If so, how i make my App knowing the ADC program to start it?
Thank you!
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/CANoiZdCwjb6ng0bpkQ%2Bv6B%2BzOdcvxfFEd53Fxhw1zxBooJXOLA%40mail.gmail.com.
[ Direct Link to Message ] | |
|
| |