Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

Hallo,

ich arbeite mich gerade in die Tinkerforge-Welt und die C++-Programmierung ein. Als Hardware verwende ich das Starterkit "Wetterstation (indoor)" mit einem RED-Brick.

Momantan komme ich beim folgenden Problem nicht weiter:

Wenn ich den Beispielcode auf den RED-Brick hochlade und compiliere erhalte ich folgende Meldungen:

Executing make...

Script error 2: cc -o WetterstationV02 _Wetterstation_V02.o bricklet_ambient_light.o bricklet_ambient_light_v2.o bricklet_ambient_light_v3.o bricklet_barometer.o bricklet_barometer_v2.o bricklet_humidity.o bricklet_humidity_v2.o bricklet_lcd_20x4.o ip_connection.o

ip_connection.o: In function `semaphore_create':
ip_connection.c:(.text+0x2094): undefined reference to `sem_init'
ip_connection.o: In function `semaphore_destroy':
ip_connection.c:(.text+0x20ae): undefined reference to `sem_destroy'
ip_connection.o: In function `semaphore_acquire':
ip_connection.c:(.text+0x20c8): undefined reference to `sem_wait'
ip_connection.o: In function `semaphore_release':
ip_connection.c:(.text+0x20f0): undefined reference to `sem_post'
ip_connection.o: In function `thread_create':
ip_connection.c:(.text+0x2140): undefined reference to `pthread_create'
ip_connection.o: In function `thread_join':
ip_connection.c:(.text+0x21a6): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
makefile:2: recipe for target 'WetterstationV02' failed
make: *** [WetterstationV02] Error 1
...error

Hat jemand eine Idee, woran das liegen  könnte?

Geschrieben
  • Autor

Du warst auf der richtigen Spur.

Ganz herzlichen Dank für den Tipp!!

Uwe

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.