The error message is because the library you are trying to compile has been written for the AVR architecture used in the Arduino boards. That is the reason why you are able to compile the code only when you select other boards. The Intel Edison has an x86 architecture so you have to write (or find) a compatible library in order to use this OLED breakout board with Edison. Below are two threads about interfacing OLED displays with Edison, you might find them interesting:
Thank you for the reply.
But maybe I can not use your ideas with only my knowledge.
I give up and I will use Arduino.
If there is another opportunity, please offer your support again.