An error occurred at RUI Online Compiler

An error occurred at RUI Online Compiler

Hi,

I made ZIP file with https://github.com/RAKWireless/Products_practice_based_on_RUI/tree/master/based%20on%20RAK811/app_RAK811 source file.

I compiled ZIP file on RUI Online Compiler.

An error occurred at RUI Online Compiler.

mkdir _build
CC sx1276-board.c
CC gpio-board.c
CC adc-board.c
CC board.c
CC spi-board.c
CC rtc-board.c
CC timer-board.c
CC i2c-board.c
…//Source/stm/STML151/board/board.c:16:10: fatal error: rui.h: No such file or directory
#include “rui.h” ^~~~~~~
compilation terminated.
stm/Makefile_stm32l151cb:246: recipe for target ‘_build/board.o’ failed
make: *** [_build/board.o] Error 1
make: *** Waiting for unfinished jobs…
Copying file 20.00%
Copying file 30.00%
Copying file 40.00%
Copying file 50.00%
Copying file 60.00%
Copying file 70.00%
Copying file 80.00%
Copying file 90.00%
Copying file 100.00%

What should i do next

Thank you.

Hi @SnarkTail,

There may be 2 reasons:

  1. you don’t copy rui.h file which is placed in another folder into your application folder.
  2. you made .zip by using the folder directly, please use these files, but not use the folder.
    You can have a look at this tutorial:
    https://doc.rakwireless.com/rak811-lora-evaluation-board/rui-online-compiler
1 Like

Hi, @Fomi,

I was able to compile.

Thank you.

Great day in the morning!
I was making my zip from the folder, not from the files. When making the archive from the selected files instead of the folder, it works. It might be nice for the compiler to be able to deal with both archive formats.

Thanks again

Hi @megaplow,

Yes, we are improving the compiler so that it can do more things and it can be used in any ways.
It will be better and better. :slight_smile:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.