RBotFirmware icon indicating copy to clipboard operation
RBotFirmware copied to clipboard

Compile failed

Open AndreasK1311 opened this issue 1 year ago • 2 comments

Hello, I would like to replicate the sand table. Now I tried to compile the files from Github with Visual Studio Code (PlatformIO). I get the following error message.

(Compiling .pio\build\featheresp32\src\WorkManager\Evaluators\tinyexpr.c.o src/WorkManager/Evaluators/tinyexpr.c:121:15: error: conflicting types for 'random' static double random() { return rand() / ((double)RAND_MAX); }; )

Can you help me to fix the problem?

Thanks a lot!

AndreasK1311 avatar Oct 16 '23 08:10 AndreasK1311

Running into the same issue.

drachnik avatar Nov 16 '23 16:11 drachnik

Had the same issue, just a Espressif32 version problem. To bypass that: -Go to platformio -Uninstall Espressif32 -Then reinstall Espressif but be sure to install v2.10 and not the more recent -Then go back to the PlatformIO folder and rerun the build ^^

SamBxe avatar Dec 20 '23 00:12 SamBxe