delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/04/14:28:58

From: leonard1127 AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with RHIDE(Newbie!)
Date: Thu, 04 Nov 1999 15:53:29 GMT
Organization: Deja.com - Before you buy.
Lines: 123
Message-ID: <7vsa5n$tdu$1@nnrp1.deja.com>
References: <7vq0pj$8h4$1 AT nnrp1 DOT deja DOT com> <7vqd15$svg AT enews2 DOT newsguy DOT com>
NNTP-Posting-Host: 208.32.92.59
X-Article-Creation-Date: Thu Nov 04 15:53:29 1999 GMT
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
X-Http-Proxy: 1.1 x23.deja.com:80 (Squid/1.1.22) for client 208.32.92.59
X-MyDeja-Info: XMYDJUIDleonard1127
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

My stupid mistake, I didnt have the Pathlist for Source Directories
entered. What threw me was that it worked once and the reason for that
is that I didnt have any other windows open when I ran hello.c, If
any other windows were open such as the DJGPP faq then I would get the
exit code: -1. Now that I have entered the Pathlist correctly things
are working. I thought I had read through the documentation completely
and apologize for posting a question when the answer was readily
available.
Back to making my computer say Hello :)

Thanks for your response
Leonard


In article <7vqd15$svg AT enews2 DOT newsguy DOT com>,
  "Borg_Cinder" <sinder AT cardina DOT net> wrote:
> Everything looks ok in your sample hello program, but try this C++
example
> and see if you get the same errors:
>
> Hello.cpp
> --------------------<clip>----------------------
>
> #include <iostream>
> int main()
> {
>      cout << "Hello World!\n";
>      return 0;
> }
>
> --------------------<clip>----------------------
>
> Save as the above mentioned file name.  Now compile.  This should
give you
> absolutely not errors, if it does then you have setup DJGPP and/or
Rhide
> incorrectly.  Chosing Run should give you an exit code of 0 (in
hex).  This
> means the program terminated normally.
>
> If you're running Rhide from within Windows, make sure the .env file
has LFN
> set to Y.  Many other potential errors are discussed in the DJGPP FAQ.
> Also, upgrade to the beta version of Rhide 1.47.  It fixes critical
bugs.
> Available here:
>
> http://www.tu-chemnitz.de/~sho/rho/rhid147b.zip
>
> A bug in Rhide 1.4 wouldn't allow you to compile C++ programs
correctly.
>
> The entire base of my knowledge comes from "Teach Yourself C++ in 21
Days"
> by Jesse Liberty (Sams Publishing), so that's why I gave you a
different
> example.
>
> <leonard1127 AT my-deja DOT com> wrote in message
> news:7vq0pj$8h4$1 AT nnrp1 DOT deja DOT com...
> > Ive searched Deja for this problem but couldnt
> > find a solution.
> > RHIDE 1.4
> >
> > I am totally new to DJGPP and C, my problem is
> > with using RUN in RHIDE. For example the Hello
> > program,
> >
> > #include <stdio.h>
> >
> > int main()
> > {
> >    printf("Hello world!\n");
> >    return 0;
> > }
> >
> > This is what I see after clicking RUN from RHIDE:
> >
> >                Information
> >          Program exit code: -1 (0xffffffff)
> >
> > In the message window I see:
> > Compiling: hello.c
> > no errors
> > Creating: hello.exe
> > no errors
> >
> > When I click OK in the Information box this pops
> > up in the lower window:
> >
> >         contents of stderr from hello.exe
> > Unmatched quote character.
> >
> > Pressing ALT+F5 shows a blank screen but it does
> > produce a workable .EXE if I run it from DOS, I
> > also tried compiling from DOS using:
> > gcc hello.c -o hello.exe
> > and there seemed to be no problems. The problem
> > happens with every program I try, I downloaded a
> > tutorial from Coronando website that came with
> > some source code and I get the same results with
> > all of those files too.
> > I must mention that the first time I tried the
> > hello program with RHIDE it worked, I got an exit
> > code of 0 and ALT+F5 produced the desired
> > results, but only one time!
> > Ive tried deleting my DJGPP folder and unzipping
> > everything all over again but it still wont work.
> > Im learning as I go so if Im missing something
> > here please let me know.
> >
> > Thank you,
> > Leonard
> >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019