2023-05-15 10:45 PM
The library of VL53L4CX returns me a fatal error with the message no such file or directory, but the file it refers is in another directory of the same project. The project is just created and the error appears, can it be a bug or some problem with the library? Thank you
In file included from ../Drivers/BSP/Components/vl53l4cx/porting/vl53lx_platform_ipp.c:15:
../Drivers/BSP/Components/vl53l4cx/porting/vl53lx_platform_ipp.h:17:10: fatal error: vl53lx_platform_user_data.h: No such file or directory
17 | #include <vl53lx_platform_user_data.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Solved! Go to Solution.
2023-05-16 12:24 AM
I solved the problem reading another question. The solution is to add paths to the project following this method:
right click project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> MCU GCC Compiler -> Include paths
2023-05-16 12:24 AM
I solved the problem reading another question. The solution is to add paths to the project following this method:
right click project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> MCU GCC Compiler -> Include paths