[Proj] Compilation under Windows; HAVE_STRERROR in makefile.vc

proj-admin at remotesensing.org proj-admin at remotesensing.org
Thu Apr 15 09:51:49 EDT 2004


proj-admin at remotesensing.org wrote:
> Hi all,
> 
> Is there a reason why makefile.vc doesn't have "HAVE_STRERROR" defined?
> If not, I suggest to change the CFLAGS line accordingly:
>     CFLAGS = /nologo -I. -DPROJ_LIB=\"$(PROJ_LIB_DIR)\" $(OPTFLAGS) /D
> "HAVE_STRERROR"

Thomas,

I agree.  I have applied this change in CVS.  I see the logic to capture
HAVE_STRERROR is completely broken on all platforms currently.  The configure
produces a proj_config.h which should (but does not) have this definition
but nothing includes proj_config.h anyways.

I'll have to look into that too, but for now, I have changed the makefile.vc
at least.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Proj mailing list