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, 6 months ago.
where to import a working rpc.h and related files from???
hi, i am trying to implement the RPC_Serial.cpp program given above for LPC11U24 platform for a simple python interface over serial. after compiling i get the following Error: Cannot open source input file "rpc.h": No such file or directory in "main.cpp", Line: 2, Col: 17 i tried fixing it by importing mbed-rpc library but run into whole new set of errors... help me out,
what are the errors? Perhaps the application uses old API from RPC? can you share more, your repository ?
posted by Martin Kojtal 19 Jun 2014hi Martin, the link to the repository is: http://mbed.org/users/bhavik/code/RPC_Serial/ . i have used the example RPC_Serial code given in the tutorial as it is. still cant get it to work. thsnks.
posted by bhavik gala 19 Jun 2014hi Martin, the error was that i was using old examples for the mbed-rpc library. now i have changed my code according to the new library following this codes: 1) http://mbed.org/questions/536/Any-working-examples-for-he-new-mbed-rpc/ 2) http://mbed.org/questions/641/add_rpc_class-member-function-not-found/ .however i am getting this new Error: Identifier "RpcAnalogOut" is undefined in "main.cpp", Line: 9, Col: 24 . i checked the RpcClasses.h file it contains the following code:
code snippet from RpcClasses.h
is it right??? how to remove the error??? this is my code repo: http://mbed.org/users/bhavik/code/RPC_Serial_new/
posted by bhavik gala 20 Jun 2014