Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 1 month ago.
compiling error
When I wanted to compile it is giving error: CMSIS target not recognised! Can you help, please?
Question relating to:
1 Answer
10 years, 1 month ago.
Hi,
please update the mbed library in the example, it's dated from 2012.
Regards,
0xc0170
This does not fix the problem for me. As of right now, even with the most updated mbed core library, the build error is:
Error: Cannot open source input file "rpc.h": No such file or directory in "main.cpp", Line: 2, Col: 18
Removing the library and reimporting it seems to give this same result. As well as changing the include to #include <rpc.h>.
Including mbed-src library doesn't alleviate this. Including mbed-rpc library results in these errors: Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 7, Col: 6 Error: Expected an expression in "main.cpp", Line: 7, Col: 36 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 8, Col: 6 Error: Expected an expression in "main.cpp", Line: 8, Col: 37 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 9, Col: 6 Error: Expected an expression in "main.cpp", Line: 9, Col: 37 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 10, Col: 6 Error: Expected an expression in "main.cpp", Line: 10, Col: 38 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 11, Col: 6 Error: Expected an expression in "main.cpp", Line: 11, Col: 40 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 12, Col: 6 Error: Expected an expression in "main.cpp", Line: 12, Col: 34 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 13, Col: 6 Error: Expected an expression in "main.cpp", Line: 13, Col: 33 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 14, Col: 6 Error: Expected an expression in "main.cpp", Line: 14, Col: 31 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 15, Col: 6 Error: Expected an expression in "main.cpp", Line: 15, Col: 34 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 16, Col: 6 Error: Expected an expression in "main.cpp", Line: 16, Col: 33 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 17, Col: 6 Error: Expected an expression in "main.cpp", Line: 17, Col: 36 Error: Name followed by "::" must be a class or namespace name in "main.cpp", Line: 18, Col: 6 Error: Expected an expression in "main.cpp", Line: 18, Col: 34 Error: Identifier "rpc" is undefined in "main.cpp", Line: 23, Col: 10
posted by 17 Jul 2015