Re: [fltk.general] Read Signal from ADC on Raspberry Pi with FLTK

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: Read Signal from ADC on Raspberry Pi with FLTK Albrecht Schlosser 08:25 Oct 21 top right image
On 10/21/20 5:17 PM Albrecht Schlosser wrote:
On 10/21/20 4:48 PM LosCelos wrote:
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

Given your command above, you could probably build your app using:

$ gcc `fltk-config --cxxflags` app.cxx -o app -lwiringPi `fltk-config --ldstaticflags`

Correction (copy and paste error on my side): you need 'g++' instead of 'gcc' to compile the FLTK app since it's C++ code.

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
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2020 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.