G++ Errors

Ioannis Vranos ioannis.vranos at gmail.com
Wed Feb 15 15:40:13 UTC 2012


On Wed, Feb 15, 2012 at 1:53 PM, Jacob Mansfield <cyberjacob at gmail.com> wrote:
>
> 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_main
> main.cpp: In function ‘int _al_mangled_main()’:
> main.cpp:16: error: ‘allegro_init’ was not declared in this scope
> [...]
>
> I can provide the source code if needed.
> thanks!

Yes, a sample program experiencing the issues, is needed.


--
Ioannis Vranos

http://cppsoftware.binhoster.com




More information about the ubuntu-users mailing list