cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/14/17:50:18

From: Gary AT bbs DOT st DOT net DOT au (Gary)
Newsgroups: comp.os.msdos.djgpp
Subject: newbie needing help with rhide
Date: 10 Sep 97 23:28:18
Organization: Soft-Tech +61-7-3869-2666
Lines: 71
Message-ID: <767_9709102332@softtech.st.net.au>
References: <5us2jf$4u9$1 AT newsd-199 DOT bryant DOT webtv DOT net>
NNTP-Posting-Host: sun.st.net.au
Cache-Post-Path: sun.brisnet.org.au!unknown AT softtech DOT brisnet DOT org DOT au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

 -=> Quoting takahashi AT webtv DOT net to All <=-

 ta> From: takahashi AT webtv DOT net
 ta> Subject: newbie needing help with rhide
 ta> Organization: WebTV Subscriber

 ta> i've been trying for the past couple of days trying to compile a
 ta> simple c program. its like this:

 ta> #include "stdio.h"

 ta> void main()
 ta> {
 ta> printf("hello");
 ta> }
 int main(void)
 {
 printf("hello");
 return(0);
 }
 ta> i have tried to compile this using rhide and everytime i get an error
 ta> message that says something like....
 ta> ERROR:c:\dos\rhaaaaa/
 ta> could not create hello.o or directory does not exist 

 It seems possible to me that you have not set your directories up in the
 option menu of rhide,it pays to be a little organized,i myself set up rhide as
 follows,i create a directory named "project name" which can be anything u wish
 to name it,then i create 3 more sub directories under it named source,include
 for my own includes and finally a directory named work,in rhide i go to the
 options menu and pick directories and in source put the path to that as such,
 in my case d:\djgpp\contrib\project-name\source,then in the include area put
 the path to that as before ie. d:\djgpp\contrib\project-name\include,in the
libs
 option i leave that blank as i put all my own libraries in the djgpp\lib
 directory which rhide finds automatically,and finally in the work directory i
 also leave that blank,as i run rhide from a .pif file and that informs rhide
 where to put the object files,if one spends a little more time reading the
 documentation in both rhide and dj's faq most of these questions are answered,
 thats how i did it.You can of course put your source into the work directory
as
 with,also your own include files and do with out having separate dir's for
each
 of them,then you can leave everything blank in the directories option menu,you
 do not need to put a path to djgpp's includes as rhide takes care of that
 also.
 If you're using a .pif file just put the info in regarding where rhide is
 ie. the path to it,example in my case d:\djgpp\bin\rhide.exe,put whatever u
 like into the Window Title box and finally in the startup directory the path
 to where the work directory is,as again in my case d:\djgpp\contrib\project-
 name\work,save your pif file to some name that suits you,i didn't change any
 of the default settings in pifedit and it works ok for me.You can run your pif
 file from filemanager or program manager using run.Once rhide is up and
 running go to your project menu and click on open-project,if this is first
 time rhide is run from it's pif file there will not be a project name
 there,just type in any name before the .pgr and press return,then u can set up
 the option directory menu as above,also in the libraries menu put the
 libraries that are to be linked in if they are other than the standard
 libraries.I hope this helps you resolve your problem,no doubt you should be
 aware that when calling any of the standard includes to use this format
 #include <stdio.h> and for your own includes in the directory u specify in
 rhide in this format #include "myinclude.h".Whenever u use rhide again the
 project that u named will come up with all the settings that u gave it in the
 options menu.If you do not have a sub dir named tmp under djgpp or whatever
name
 you've given it,do so,this is where dj puts its errors,i could be wrong
 here,but when i get errors it creates dir's there under tmp.

 ta>  ! Origin: Usenet:WebTV Subscriber (3:640/1)


- Raw text -


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