FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-15-2012, 10:53 AM
Jacob Mansfield
 
Default G++ Errors

Hi Guys,I'm not sure if this is a ubuntu specific problem, but I'm having some errors compiling c++ programs with g++.here's the errors I'm getting:
Chell:allegro1 user$ g++ -c main.cpp -o Untitled2.o -I/usr/local/include/ -lallegro -lallegro_mainmain.cpp: In function ‘int _al_mangled_main()’:main.cpp:16: error: ‘allegro_init’ was not declared in this scopemain.cpp:20: error: ‘install_keyboard’ was not declared in this scopemain.cpp:23: error: ‘GFX_AUTODETECT’ was not declared in this scopemain.cpp:23: error: ‘set_gfx_mode’ was not declared in this scopemain.cpp:24: error: ‘GFX_SAFE’ was not declared in this scopemain.cpp:25: error: ‘GFX_TEXT’ was not declared in this scopemain.cpp:26: error: ‘allegro_error’ was not declared in this scopemain.cpp:26: error: ‘allegro_message’ was not declared in this scopemain.cpp:32: error: ‘desktop_palette’ was not declared in this scopemain.cpp:32: error: ‘set_palette’ was not declared in this scopemain.cpp:35: error: ‘screen’ was not declared in this scopemain.cpp:35: error: ‘makecol’ was not declared in this scopemain.cpp:35: error: ‘clear_to_color’ was not declared in this scopemain.cpp:41: error: ‘acquire_screen’ was not declared in this scopemain.cpp:44: error: ‘font’ was not declared in this scopemain.cpp:44: error: ‘SCREEN_W’ was not declared in this scopemain.cpp:44: error: ‘SCREEN_H’ was not declared in this scopemain.cpp:44: error: ‘textout_centre_ex’ was not declared in this scopemain.cpp:47: error: ‘release_screen’ was not declared in this scopemain.cpp:50: error: ‘readkey’ was not declared in this scopemain.cpp: At global scope:main.cpp:55: error: expected constructor, destructor, or type conversion at end of inputChell:allegro1 user$ g++ --infoi686-g++-4.2.1: no input filesChell:allegro1 user$*
I can provide the source code if needed.thanks!






Jacob Mansfield*/*Lead Developer

Blue Sapphire Media

email:**Jacob@bluesapphiremedia.co.uk

skype:**jacob.mansfield*











--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 07:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org