I am having difficulties compiling an imported uVision example project exported from mbed, the project compiles correctly in both mbed and emBlocks. The problems I am experiencing is that of 'directories not found'. There may be other problems, but the compiler stops on the first error, although I set, 'continue on error flag' (it may have no choice but to stop). Also, there is something odd in the Solution.xml file, which identifies the Target as being a "STM32L152RD", rather than the RE version, which is the chip the project is based upon. I looked around in the RCW directories, and sure enough there is an RD file, but that is not that is being used on the nucleo-L152RE board. Is this ok? Or is it a problem? In any case here is one example of a not-found-directory, there are others such as the cmsis.h not found, yet that package is installed? I sure wish I could see a full (complete) compile/link tree. It would save a lot of time.
Reviewing Project Explorer
click Project xyz
click Project Properties
User Include Directories (displays a long line of directories, each terminated with a semicolon)
USER INCLUDE DIRECTORIES list:
Compiling the sample project reveals the following error:
1> C:/a_dev/Nucleo_blink_led/main.cpp:1:18: fatal error: mbed.h: No such file or directory
The missing file is located in a project subdirectory, and is located specifically in 'mbed', which is included in the above USER INCLUDE DIRECTORIES list, yet the compiler does not find it. Is there something I am missing?
Also what does the "period" do which is located at second line down at the top end of the list?
Thanks in advance
Please sign in to leave a comment.