5 years, 9 months ago.

interface with labview using RPC

HI the interface with labview using rpc the example codes giving are not compiling on my compiler it keeps showing me this error /media/uploads/baliyu/captureweqq.png any assistance to rectify it will be helpful

kind regards

1 Answer

5 years, 9 months ago.

Hello Mohammed,

What board are you compiling the program with? If you look inside the parse_pins.cpp file, it defines the pins based on which board you use.

Example:

#if defined(TARGET_LPC1768) || defined(TARGET_LPC11U24) || defined(TARGET_LPC2368)
    static const PinName pin_names[] = {p5, p6, p7, p8, p9, p10, p11, p12, p13, p14
                                , p15, p16, p17, p18, p19, p20, p21, p22, p23
                                , p24, p25, p26, p27, p28, p29, p30};

If the board you are using is not one that is mentioned by any of the directives within that file, I don't believe the code will compile. You can try adding your own pin definitions to that file for the board you are using. Hope this helps!

-Karen, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

am using the nucleo f103RB, thanks

posted by Mohammed Aliyu 26 Jul 2018