pschatzmann / Micro-RTSP-Audio

A RTSP audio server intended for the ESP32
35 stars 4 forks source link

Compile errors in PlatformIO #3

Closed mike6000 closed 1 year ago

mike6000 commented 1 year ago

Hello Sir, I get some compile errors in PlatformIO. I took your project folder Micro-RTSP-Audio-master and copied under my PlatformIO projects. There is something going on with the platglue.h file it looks like. Also, do I need to include some more libraries? What compile environment do you use?

In file included from src/AudioStreamer.h:14,
                 from src/RTSPServer.h:14,
                 from src/RTSPServer.cpp:12:
src/platglue.h:1:1: error: expected unqualified-id before '.' token
 ../include/platglue.h
 ^
In file included from src/AudioStreamer.h:14,
                 from src/AudioStreamer.cpp:12:
src/platglue.h:1:1: error: expected unqualified-id before '.' token
 ../include/platglue.h
 ^
In file included from src/IAudioSource.h:14,
                 from src/AudioStreamer.h:15,
                 from src/RTSPServer.h:14,
                 from src/RTSPServer.cpp:12:
src/RTSPFormat.h: In member function 'virtual const char* RTSPFormatPCM::format(char*, int)':
src/RTSPFormat.h:85:5: error: 'snprintf' was not declared in this scope
pschatzmann commented 1 year ago

I think this is a Windows issue which does not handle symbolic links correctly. The symlinks have been replaced with regular includes...