PDA

View Full Version : Problem with compiling a c++ code



estranged
08-21-2003, 02:02 AM
Here is the code and my sfotware detection as Anjuta saw it.
I can compile it and build it with no errors but when i hit execute nothing happens> i even set my permisions to executable but again nothing.
Hlp pls? :(
Everything works in knoppix....I mean EVERYTHING, besides this :(
On apt-get when i try to install Make it says that I already have the newest version and I also installed glade

#include <iostream.h>

int main()
{
cout<<"hello"<<endl;

return 0;
}


Anjuta's detection

GNU Grep is present.
GNU Find is present.
GNU Awk is present.
GNU M4 is present.
GNU C is present.
You do not have GNU Make installed.
We recommend you install it from ftp.gnu.org
Perl is present.
Autoconf is present.
Automake is present.
Gettext is present.
Libtool is present.
You do not have GNOME 1.x Development Libraries installed.
We recommend you install it from www.gnome.org
GTK 1.x is present.
You do not have Glade GUI Builder installed.
We recommend you install it from glade.gnome.org
You do not have WxWindows installed.
We recommend you install it from www.wxwindows.org
Pkgconfig is present.
You do not have Scrollkeeper installed.
We recommend you install it from scrollkeeper.sf.net
The following modules are identified by pkg-config:
----------------------------------------------------------------------------
gdk GDK - GIMP Drawing Kit
gmodule GModule - Dynamic module loader for GLib
mad mad - MPEG Audio Decoder
fontconfig Fontconfig - Font configuration and customization library
freetype2 FreeType 2 - A free, high-quality, and portable font engine.
glib GLib - C Utility Library
gmodule-2.0 GModule - Dynamic module loader for GLib
gnome-mime-data-2.0 gnome-mime-data - Base set of file types and applications for GNOME
glib-2.0 GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gthread GThread - Thread support for GLib
gthread-2.0 GThread - Thread support for GLib
libart-2.0 libart - LGPL version of the libart library
libpng libpng12 - Loads and saves PNG files
libpng12 libpng12 - Loads and saves PNG files
ImageMagick++ ImageMagick++ - C++ API for ImageMagick image processing library
ImageMagick ImageMagick - ImageMagick image processing library
alsa alsa - Advanced Linux Sound Architecture (ALSA) - Library
audiofile audiofile - audiofile
xft Xft - X FreeType library
gtk+ GTK+ - GIMP Tool Kit
libxml libXML - libXML library.

eadz
08-21-2003, 04:23 AM
what's the error?

estranged
08-21-2003, 04:29 AM
no error at all :(
Says that is compiled/build with no errors but a shell wont show up after I hit execute :(

estranged
08-21-2003, 07:13 PM
I run anjuta with a shell and when i hit execute i get this in the shell

Gnome-Message: gnome_execute_async_with_env_fds: returning -1