I am trying to setup a development environment on qt for programming on my arduino.
I can compile following code but when I try to run it I get "undefined reference " errors for the Arduino related method calls (like init(), pinMode() etc).
Apparently I have a linker problem. My project recognizes the header file but cannot link it to actual library.
What is the correct library to link against? My arduino (1.8.5) installation is under /opt in linux and has following high level structure:
firim:
I am trying to setup a development environment on qt for programming on my arduino.
What is "qt"?
I can compile following code but when I try to run it I get "undefined reference " errors for the Arduino related method calls (like init(), pinMode() etc).
An Arduino does not provide run-time error messages unless you have written them into your Arduino code so what you say here does not make sense.