This is the exact same thing I am running into, except I have the 128x32 oled.
http://forum.arduino.cc/index.php?topic=265600.0
My current errors are as follows and all I want to do is to test this screen. After commenting out the other types.
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp: In member function 'void Adafruit_SSD1306::begin(uint8_t, uint8_t, bool)':
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:169: error: 'digitalPinToPort' was not declared in this scope
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:169: error: 'portOutputRegister' was not declared in this scope
C:\Users\KD0SGX.Stormtrooper\Desktop\UNOR3\mpide-0023-windows-20140821\mpide-0023-windows-20140821.\libraries\Adafruit_SSD1306\Adafruit_SSD1306.cpp:170: error: 'digitalPinToBitMask' was not declared in this scope