Mit https://www.tinkerforge.com/de/doc/S...indings_C.html sieht das so aus. Es wird halt
1. brickd benötigt.
https://www.tinkerforge.com/de/doc/Software/Brickd.html
Die Installation ist dort gut beschrieben
2. C-API
https://www.tinkerforge.com/de/doc/S...indings_C.html
Hier muss einmal die Library libtinkerforge.so in "source" mit "make" erstellt werden.
Anschließend kann jedes Programm, z.B. das Beispiel "example_authenticate.c" kompiliert, z.B. so:
Code:
GCC example_authenticate.c -I ../source -ltinkerforge -L ../source -lpthread -Wl,-rpath,../source -o example_authenticate
Der Befehl bindet die Bibliotheken pthreads und libtinkerforge ein, setzt den Include und Library Pfad auf "../source".
Lesezeichen