apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myers, Gary - 43" <gary.my...@rainhail.com>
Subject RE: Using apr from Mingw
Date Mon, 09 Jul 2007 20:01:17 GMT
I already have the dll's built.  I just used MSVC to built it since it
was easier, which I admit was lazy of me.  What I am getting is a
compile time error when I try to compile the C Source file that includes
two of the apr header files.  My guess is that Mingw treats something
different that I'm not taking into account.  I should add that I'm not
using the MSYS prompt to do this I'm doing my coding in Eclipse 3.3 with
the C\C++ plugin, and I'm manually writing the Makefile, because using
the managed one was a small nightmare, and I was unable to get this far.
The result of typing make at the DOS prompt was that long list of errors
from my first message.  I can get all the other pieces of my project to
compile fine, but when I introduce apr into the compilation process it
won't compile due to an errors that gcc is finding in several header
files.  So I pulled all the other code that I had written, and put in
the simple C file that I sent in my first post, and the problem
persists.  I don't know where else to turn for an answer

Thank You
Gary Myers

-----Original Message-----
From: Bob Rossi [mailto:bob_rossi@cox.net] 
Sent: Monday, July 09, 2007 1:56 PM
To: Myers, Gary - 43; dev@apr.apache.org
Subject: Re: Using apr from Mingw

On Mon, Jul 09, 2007 at 02:53:17PM -0400, Bob Rossi wrote:
> On Mon, Jul 09, 2007 at 12:59:08PM -0500, Myers, Gary - 43 wrote:
> > I'm attempting to use APR in a mingw C project that I am working on
> > add a layer of abstraction so I can later port in to Linux.
> > I've compiled the libapr.dll using Visual Studio C++ 2005 Express
> > edition. (Which may be my problem, I simply may not be able to make
> > work using mingw gcc)
> Why can't you get it to work with mingw? Take a look at
> http://wiki.apache.org/logging-log4cxx/MSWindowsBuildInstructions

I'm sorry, I mistakenly cc'd g@cox.net somehow. Please remove that from
any replies.

Bob Rossi

View raw message