logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS Twitter


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: VC11 iconv LNK2011 errors
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 2972
Location: Hilversum, NL, EU

PostPosted: Fri 07 Jun '13 21:37    Post subject: Reply with quote

To get iconv build change the following two lines in srclib\apr-iconv\build\modules.mk.win :

$(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj /Yciconv.h /c $*.c
To:
$(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj /c $*.c

$(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj /Yuiconv.h /c $<
To:
$(SILENT)cl $(ALL_CFLAGS) /Fo$*.obj /c $<

This turns off pre-compiled headers for apr-iconv to avoid LNK2011 errors, see http://msdn.microsoft.com/en-us/library/3ay26wa2(v=vs.110).aspx

Steffen
Back to top


Reply to topic   Topic: VC11 iconv LNK2011 errors View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads