This message was posted on behalf of Intel Corporation
Thanks for your interest in the Intel® Edison™ Platform.
I'm sorry to hear that you are having problems compiling the hp20x sample code. I started to investigate and I found this tutorial (Writing Your Own UPM Module: Getting Started | Shawn Hymel ), after reading through out the guide, I concluded that this command: g++ hp20x.cxx -lupm-hp20x -I/usr/include/upm was the one that I needed, fortunately it compiled! You should know that after the compilation is over it generates a "a.out" file, this your executable file, so in order to try it use this command: ./a.out .
Now, unfortunately, I don't have this barometer at hand, so I can't test it out. Could you be so kind to test it, in order to see if this sample code works.
I will be waiting for your reply, have a nice day!