Mail Archives: djgpp/1997/12/21/21:07:57
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 -