Results 1 to 4 of 4

Thread: Problem with compiling a c++ code

  1. #1
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    24

    Problem with compiling a c++ code

    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
    Code:
    #include <iostream.h>
    
    int main()
    {
    	cout<<"hello"<<endl;
    
    	return 0;
    }
    Anjuta's detection
    Code:
    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.

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    what's the error?

  3. #3
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    24
    no error at all
    Says that is compiled/build with no errors but a shell wont show up after I hit execute

  4. #4
    Junior Member registered user
    Join Date
    Aug 2003
    Posts
    24
    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

Similar Threads

  1. Problem while compiling GTK+
    By Yuanlong in forum General Support
    Replies: 15
    Last Post: 08-03-2004, 11:01 AM
  2. problem compiling drivers
    By fdellamorte in forum General Support
    Replies: 0
    Last Post: 02-02-2004, 09:38 PM
  3. problem compiling kernel 2.6.0
    By anhtran81 in forum Hdd Install / Debian / Apt
    Replies: 5
    Last Post: 01-18-2004, 06:06 AM
  4. Problem compiling kernel-source-2.4.20-xfs
    By TheCyberDude in forum General Support
    Replies: 3
    Last Post: 06-23-2003, 06:51 PM
  5. Compiling new Gaim 0.60 problem and GTK
    By athlonthunder in forum General Support
    Replies: 1
    Last Post: 04-08-2003, 05:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco QSFP-40/100-SRBD 100G 40GBase BiDi 100m LC Transceiver Module W/ Hologram picture

Cisco QSFP-40/100-SRBD 100G 40GBase BiDi 100m LC Transceiver Module W/ Hologram

$125.00



SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver picture

Cisco SFP-10G-SR V03 850nm 10GBASE-SR SFP+ MMF 10-2415-03 Transceiver

$4.99



Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver picture

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver

$20.70



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99