Re: [PDCurses] Problem when trying to use PDCurses with MINGW

2002-08-20 Thread Robert Zaleski


>1.   Can someone tell me where I can find a copy of the
> PDCURSES.DLL file or how it can be created?
I know the VC++ compiled libraries from pdcurses.sourceforge.net has
the compiled dll included with it.

Robert

=

You are free to do with document whatever you please but 
reading it would be a good idea. I am naturally not
responsible for any consequence or action arising out of
the use of information provided in this document. I am 
not a very responsible person and you heed me at your own
peril.   - 'Linux Installation Strategies' LDP

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



Re: [PDCurses] Problem when trying to use PDCurses with MINGW

2002-08-20 Thread LM

On Tue, 20 Aug 2002, Frank Krauss wrote:
> Any assistance in helping me to get PDCurses to run with Mingw will be
> greatly appreciated.

I haven't been keeping up with Mingw lately, but I used to be in charge of
the FAQ for it.  Was not aware that Mingw supplied any support for
PDCurses beyond being able to compile it and that was thanks to the
PDCurses contributors' and maintainer's modifications to it.  Have no idea
what libraries you're using to link with, but I would recommend you
download the official PDCurses source from
http://pdcurses.sourceforge.net/ and build the libraries directly from the
source.  If I remember correctly, there was a build file to create a
curses dll for Windows in the distribution.

That's what I would try.  Maybe someone else on the list will have an
alternative suggestion.

Laura




[PDCurses] Problem when trying to use PDCurses with MINGW

2002-08-20 Thread Frank Krauss

Good day,

My Problem
   I'm attempting to create a Program on a Linux System that will be able
   to be run on a Windows System. This program uses the CURSES feature and
   I'm having problems in generating a successfull load Module.

My Environment
   Development Computer
  Pentium  4
  Linux2.4.18
  Caldera  2.3
  Mingw1.1
  PDCurses 2.4
   Production Computer
  Compaq   i486
  Windows  95

Processing
   I generated MINGW as a Cross Compiler for creating Windows formated Object
  Modules using the procedure described by Reinhard Jessich at his site 
  members.telering.at/jessich/mingw.
   The pdcurses-mingw32-libs.tar.gz file that I installed had two versions of
  the Library in it:
 libcurses.a 
 libpdcurses.a
   
Errors
   When I use Mingw to create a Load modules and specify -lpdcurses, it
   assembles fine but when I bring it over to the Windows System to run it,
   I get the following message:
  A required DLL file, PDCURSES.DLL was not found.
   I cannot find any mention on the Net on where I can get a copy of this
   DLL or how I can create it.
   
   I saw a posting from someone saying that Mingw supplied two PDC libraries,
   one called libpdcurses for use with Dynamic Linking and another called 
   libpdcurses_s.a for Static linking.  I assume that if I used a static
   library, I wouldn't get the problem of the missing PDCURSES.DLL file.
   I cannnot find any mention on the Net on where I can get this Static Library.
   It was not part of the files from Mingw.

   I thought that perhapes I should try using the libcurses.a library since
   it might be the static library.  When I did an assembly using that one,
   I received a number of the followng messages:
  undefined references to __imp_iob.

Summary
   My questions to everyone reading this note are the following:
   1.   Can someone tell me where I can find a copy of the PDCURSES.DLL file
or how it can be created?
   2.   Can someone tell me how I can get a copy of the libpdcurses_s.a file
if that is the library to be used to do static compiles?
   3.   Can anyone tell me how to get around the problem of the undefined
references to __imp_iob?

Any assistance in helping me to get PDCurses to run with Mingw will be
greatly appreciated.

Yours truly,

Frank Krauss