eclipse / upm

UPM is a high level repository that provides software drivers for a wide variety of commonly used sensors and actuators. These software drivers interact with the underlying hardware platform through calls to MRAA APIs.
MIT License
661 stars 410 forks source link

Error:upm::Jhd1313m1' must implement the inherited pure virtual method 'upm::LCD::write #440

Closed undersky closed 8 years ago

undersky commented 8 years ago

I am using Intel Edison eclipse IDE. And I import an Iot Example "Display temperature on LCD". After build, I got error:

Description Resource Path Location Type The type 'upm::Jhd1313m1' must implement the inherited pure virtual method 'upm::LCD::write' > testlcd.cpp /testlcd/src line 164 Code Analysis Problem

And the error line is : upm::Jhd1313m1 *lcd = new upm::Jhd1313m1(0, 0x3E, 0x62);

My development environment: OS: Win10 64bit Eclipse: iss-iot-win_03-24-16 upm: 0.7.2

Propanu commented 8 years ago

Hi! It's an issue with Codan (the Code Analyzer) not refreshing after the libraries were updated. The code will build and run fine, but to get rid of the error message you have to right click on the project in Eclipse and select Index -> Freshen All Files.

undersky commented 8 years ago

Thanks @Propanu

I have solve this problem by your advise.

You are so helpful.