5 years, 4 months ago.

SX126xDevKit example does not appear to compile

Hi,

Just trying this but it wont compile, I get this error:

Error: Cannot open source input file "radio.h": No such file or directory in "Demo/DemoApplication.cpp", Line: 16, Col: 20

I get this error on importing the example into the IDE too...

/media/uploads/joeh/sx126x_demo_error.png

The folder structure of the demo looks like this:

/media/uploads/joeh/sx126x_demo_files.png

Question relating to:

Semtech's Wireless, Sensing and Timing product group

1 Answer

5 years, 3 months ago.

Hi Joe,

It appears that your project is missing the underlying SemTech library (where radio.h lives):

Could you use the Import feature to bring in the library as shown in the attached screen capture? We think that will fix the problem.

Regards,

Ralph, Team Mbed

/media/uploads/RalphF/onlinecompiler-import_from_url.png