9 years, 5 months ago.

compiling error

When I wanted to compile it is giving error: CMSIS target not recognised! Can you help, please?

Question relating to:

mbed RPC_Serial for LabVIEW interface: http://mbed.org/cookbook/Interfacing-with-LabVIEW http://mbed.org/cookbook/Interfacing-Using-RPC Steps: *Compile RPC_Serial main *Copy bit file to mbed flash and reset *Run examples in LabVIEW

1 Answer

9 years, 5 months ago.

Hi,

please update the mbed library in the example, it's dated from 2012.

Regards,
0xc0170

Accepted Answer

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 Andrew p 17 Jul 2015