tom-2015 / rpi-ws2812-server

Raspberry Pi WS2812 (web) server tool
172 stars 39 forks source link

Installation problem #47

Open philippchudalla opened 4 years ago

philippchudalla commented 4 years ago

Hi. It won't let me make the code. Here is what I get: gcc -g -I/usr/include -DUSE_PNG -DUSE_JPEG -c main.c -o main.o main.c: In function ‘tcp_wait_connection’: main.c:2078:13: error: too many arguments to function ‘perror’ if (s!=0) perror("Error creating new thread: %d", s); ^~ In file included from main.c:2: /usr/include/stdio.h:781:13: note: declared here extern void perror (const char *__s); ^~ make: *** [makefile:41: main.o] Error 1

Bigdeath commented 4 years ago

Yes the new update have a problem.

tom-2015 commented 4 years ago

Yes it should be fprintf instead of perror sorry, try now