Two displays, conflicting declaration

Hi there,
I have a Genuino Uno, a 7 segment Display, which is using the 'TM1637' library, and a 0.96'' OLED display, which is using the 'SSD1306' library. Both displays work without problems when I connect only one of them.

I want to use both displays at the same time. Unfortunately, both displays can be configured with 'display.'. So when I want to show something on the 7 segment display, I type 'display.showNumberDec()' and when I want to show something on the little OLED display, I type e.g. 'display.drawPixel()'. When I use those two lines in one sketch, I get some errormessages similar to these:

error: 'class Adafruit_SSD1306' has no member named 'showNumberDec'
conflicting declaration 'TM1637Display display'

How can I get the two displays away from each other in the code?

Regards from Germany, Jones

Post your code and please provide links to the libraries that you use.

When posting code, please use code tags

type
** **[code]** **

paste your code after that
type
** **[/code]** **
after that

So it looks like

your code here

Jones1:
How can I get the two displays away from each other in the code?

Regards from Germany, Jones

TM1637Display display1;
TM1637Display display2;