apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Smith <...@gknw.net>
Subject Re: Building apr on win32
Date Fri, 13 Jun 2014 16:26:27 GMT
Ugg, this list and using "reply" in thunderbird.

On 6/13/2014 9:24 AM, Gregg Smith wrote:
> Hello Christopher,
>
> Old instrucions for building in IDE really. If you want to build in 
> the IDE just open apr-util.dsw and allow VC to convert.
>
> If you want to build at the command line;
>
> On 6/13/2014 8:49 AM, Christopher Schultz wrote:
>> Hello,
>>
>> I'm trying to build apr on win32 from the command-line and I'm running
>> into some resistance. I'm using Visual Studio 12 on Windows 8.1. I have
>> installed the "Windows SDK" as well to try to help, but it doesn't seem
>> to have improved things.
>>
>> I'm following the instructions found here:
>> http://apr.apache.org/compiling_win32.html
>>
>> I have downloaded the ZIP files for apr, apr-util, and apr-iconv and put
>> them into the requisite directories.
>>
>> I've run VS's VC\bin\vcvars32.bat to get the build tools in the path,
>
> From here cd to c:\work\apr-util then
>
> nmake /f makefile.win ARCH="Win32 Release" buildall checkall
>
> See the makefile.win file for all possible options.
>
> VC11 (2012) does not like precompiled headers in apr-iconv, you will 
> need to edit
> c:\work\apr-iconv\build\modules.mk.win and remove;
>
> /Yciconv.h
> /Yuiconv.h
>
> from the file, save and then build.
>
>
> Regards,
>
> Gregg
>
>
>> but I don't have a setenv.bat anywhere (suggested in the above
>> instructions). When I get to the step where I run "msdev" (which
>> basically /does the build/), I can't find the msdev program:
>>
>> C:\Users\Me\Desktop\apr-util>msdev aprutil.dsw /MAKE "apriconv - Win32
>> Release"
>> 'msdev' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>> I'm no win32 build expert, but I have quite a bit of experience building
>> on *NIX systems. Can anyone help me get things going on Windows?
>>
>> Thanks,
>> -chris
>>
>


Mime
View raw message