delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/21/21:07:57

From: arturo AT elweb DOT com
Message-Id: <199712220206.VAA04006@mail02.rapidsite.net>
Comments: Authenticated sender is <arturo AT elweb DOT com>
To: djgpp AT delorie DOT com
Date: Mon, 22 Dec 1997 20:06:40 +0000
MIME-Version: 1.0
Subject: Re: Problem with RHIDE 1.4 and PDcurse 2.2
CC: tlikens AT ix DOT netcom DOT com (Thomas Likens)
In-reply-to: <349da48d.6046332@nntp.ix.netcom.com>

I've used RHIDE to compile PDCurses' programs without problem at all.
May be you forgot to include BOTH libraries:
  curso
  pano

Greetings!

---
Arturo Tena
cbtsra0 AT andromeda DOT ulsa DOT mx


> 						Dec 21, 1997
> 
> Hello,
> 
> I am a new RHIDE user and am having a problem getting the IDE to
> compile a curses program that I wrote (although it compiles find at
> the command line).  Essentially, the problem boils down to this- RHIDE
> is invoking the linker with the arguments in the incorrect order.  My
> command-line make file compiles and links correctly with the following
> order:
> 
> gcc  program.o  -lcurso -o program.exe -Lc:/djgpp/contrib/pdcurs22/lib
> 
> But regardless of how I manipulate the various menu options regarding
> both the linker and the compiler RHIDE invokes it as:
> 
> gcc -Lc:/djgpp/contrib/pdcurs22/lib  -Xlinker -lcurso -o program.exe
> program.o
> 
> Even with some manipulation I can only get
> 
> gcc   -Xlinker -lcurso -Lc:/djgpp/contrib/pdcurs22/lib -o program.exe
> program.o 
> 
> Both of these last variations cause the linker to fail because it
> can't resolve the references to the curses functions in the program.
> The problem is that the object files appear after the curses library
> references.  
> 
> Does anyone know a workaround for this or a simple setting inside of
> RHIDE that I am missing.  I would really like to get this going inside
> the IDE. 
> 
> thanks in advance,
> 
> --Tom Likens 
> 

- Raw text -


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