<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Guys,<div>I'm not sure if this is a ubuntu specific problem, but I'm having some errors compiling c++ programs with g++.</div><div>here's the errors I'm getting:</div><div><br></div><div><div>Chell:allegro1 user$ g++ -c main.cpp -o Untitled2.o -I/usr/local/include/ -lallegro -lallegro_main</div><div>main.cpp: In function ‘int _al_mangled_main()’:</div><div>main.cpp:16: error: ‘allegro_init’ was not declared in this scope</div><div>main.cpp:20: error: ‘install_keyboard’ was not declared in this scope</div><div>main.cpp:23: error: ‘GFX_AUTODETECT’ was not declared in this scope</div><div>main.cpp:23: error: ‘set_gfx_mode’ was not declared in this scope</div><div>main.cpp:24: error: ‘GFX_SAFE’ was not declared in this scope</div><div>main.cpp:25: error: ‘GFX_TEXT’ was not declared in this scope</div><div>main.cpp:26: error: ‘allegro_error’ was not declared in this scope</div><div>main.cpp:26: error: ‘allegro_message’ was not declared in this scope</div><div>main.cpp:32: error: ‘desktop_palette’ was not declared in this scope</div><div>main.cpp:32: error: ‘set_palette’ was not declared in this scope</div><div>main.cpp:35: error: ‘screen’ was not declared in this scope</div><div>main.cpp:35: error: ‘makecol’ was not declared in this scope</div><div>main.cpp:35: error: ‘clear_to_color’ was not declared in this scope</div><div>main.cpp:41: error: ‘acquire_screen’ was not declared in this scope</div><div>main.cpp:44: error: ‘font’ was not declared in this scope</div><div>main.cpp:44: error: ‘SCREEN_W’ was not declared in this scope</div><div>main.cpp:44: error: ‘SCREEN_H’ was not declared in this scope</div><div>main.cpp:44: error: ‘textout_centre_ex’ was not declared in this scope</div><div>main.cpp:47: error: ‘release_screen’ was not declared in this scope</div><div>main.cpp:50: error: ‘readkey’ was not declared in this scope</div><div>main.cpp: At global scope:</div><div>main.cpp:55: error: expected constructor, destructor, or type conversion at end of input</div><div>Chell:allegro1 user$ g++ --info</div><div>i686-g++-4.2.1: no input files</div><div>Chell:allegro1 user$ </div><div><br></div><div>I can provide the source code if needed.</div><div>thanks!</div><div>
<table style="margin-top:35px;margin-left:20px;margin-bottom:30px;width:410px;vertical-align:middle;" border="0">
        <tbody><tr height="72">
                <td width="111">
                        <img src="http://www.bluesapphiremedia.co.uk/sigLogo.png" alt="Blue Sapphire Media" height="75" width="150" style="vertical-align:middle;">
                </td>
                <td>
                        <span style="font-family:'Trebuchet MS',helvetica,San-Serif;font-size:13px;color:#888888;line-height:15px"><b style="color:#11aeab;text-transform:uppercase;letter-spacing:2px">Jacob Mansfield</b> / Lead Developer</span><br>
                        <span style="font-family:'Trebuchet MS',helvetica,San-Serif;font-size:12px;color:#888888;line-height:15px"><a href="http://www.bluesapphiremedia.co.uk" title="visit the Blue Sapphire Media website" style="text-decoration:none; border-bottom:1px dotted #888888;color:#888888">Blue Sapphire Media</a></span><br>
                        <span style="font-family:'Trebuchet MS',helvetica,San-Serif;font-size:11px;color:#b2b2b2;line-height:15px"><b style="color:#888888">email:</b>  <a href="mailto:jacob@bluesapphiremedia.co.uk" title="email Me" style="text-decoration:none; border-bottom:1px dotted #b2b2b2;color:#b2b2b2">Jacob@bluesapphiremedia.co.uk</a></span><br>
                        <span style="font-family:'Trebuchet MS',helvetica,San-Serif;font-size:11px;color:#b2b2b2;line-height:15px"><b style="color:#888888">skype:</b>  <a href="skype:jacob.mansfield?userinfo" title="My Skype Profile" style="text-decoration:none; border-bottom:1px dotted #b2b2b2;color:#b2b2b2">jacob.mansfield</a></span> <a href="skype:jacob.mansfield?call"><img src="http://mystatus.skype.com/smallicon/jacob%2Emansfield" style="border: none;vertical-align:middle;" height="15" alt="Call Me"></a>
                </td>
        </tr>
        <tr>
                <td style="background:url(http://www.bluesapphiremedia.co.uk/sigBar.png) center center no-repeat;background-size: auto 100%;" colspan="2" width="300" alt="Blue Sapphire Media" height="37">
                        <!--<img style="" src="http://www.bluesapphiremedia.co.uk/sigBar.png" alt="Blue Sapphire Media" height="30" />-->
                </td>
        </tr>
</tbody></table>

</div>
<br></div></body></html>