9 years, 1 month ago.

Everything is all messed up!

Everything is broken! I imported RPCInterface, added SerialRPC and the latest mbed build as of 11/23/2015, and I get these compile errors:

Error: Not a class or struct name in "RPCFunction.h", Line: 46, Col: 29
Error: Identifier "parse_char" is undefined in "RPCFunction.cpp", Line: 50, Col: 34
Error: Identifier "isalnum" is undefined in "RPCFunction.cpp", Line: 56, Col: 20
Error: Identifier "isgraph" is undefined in "RPCFunction.cpp", Line: 56, Col: 37
Error: Incomplete type is not allowed in "RPCFunction.cpp", Line: 75, Col: 11
Error: Identifier "Base" is undefined in "RPCFunction.cpp", Line: 75, Col: 33
Error: Identifier "this_ptr" is undefined in "RPCFunction.cpp", Line: 75, Col: 39
Error: Expected a ")" in "RPCFunction.cpp", Line: 75, Col: 47
Error: Expected a ";" in "RPCFunction.cpp", Line: 75, Col: 86

Warning: At end of source:  #12-D: parsing restarts here after previous syntax error in "RPCFunction.cpp", Line: 115, Col: 1
Info: Unable to download. Fix the reported errors...

Seams like there is no more Base class ("Base.h")???

Question relating to:

1 Answer

9 years, 1 month ago.

Hi Cale,

It looks like that's an older version of the RPC documentation. The most up to date version is located here: https://developer.mbed.org/cookbook/Interfacing-Using-RPC.

Be sure to update the libraries within the example programs to the latest version if you import them.

Do note that the RPC library doesn't support every platform. If you're still having problems that could be the issue. What platform are you using?

Thanks,

Brian