FLTK logo

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

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   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 Oct 21, 2020  
 
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 fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/161d0234-0b6d-80f0-fa7f-7b1fb126c898%40online.de.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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