Re: Building on win32

Jun Omae <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <CAEVLMag0i6s4Mdq6MEt_KCx=i-Gn6jg+gB1vvtFLywqGDq-zHA@mail.gmail.com>
On Tue, Jun 11, 2024 at 4:58 AM Daniel Sahlberg
<[email protected]> wrote:
>
> Den mån 10 juni 2024 kl 10:55 skrev Jun Omae <[email protected]>:
>>
>> > I'm surely doing something wrong here... appreciating any advice and/or pointers!
>>
>> _CrtSetReportFile and _CrtSetReportMode routines are available only
>> for debug versions. So that /MDd flag should be passed but not in
>> test/Makefile.win. See attached patch.
>
>
> Thanks Jun, unfortunately the patch didn't make any difference. In the end it turned out that I needed to specify  ARCH="x64 Release" on the command line. I found this by reading the comments in Makefile.win.

It is needed to delete *.obj files because the patch changes CFLAGS.
Please retry after `del test\LibR\*.obj`.

p.s. `clean` task is defined in test/Makefile.win but no task is
defined to invoke the `clean` task in Makefile.win.


-- 
Jun Omae <[email protected]> (大前 潤)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.