[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Windows CMAKE build failing
From: |
Nick |
Subject: |
Re: [Openexr-devel] Windows CMAKE build failing |
Date: |
Wed, 13 Aug 2014 11:25:48 -0700 |
This is a really tricky dependency since search paths are difficult to manage
on windows in general, and are differently treated in a CL build vs an IDE
build.
Sent from my iPhone
> On 2014/08/12, at 13:24, "Gonzalo Garramuño" <address@hidden> wrote:
>
>> On 12/08/2014 05:07 p.m., Gonzalo Garramuño wrote:
>> I compiled IlmBase with Cmake with no problems. However, compiling the
>> OpenEXR library has shown a problem. When run, the b44 and dwa tables are
>> not created and I get an error.
>>
>> 5>------ Build started: Project: IlmImf, Configuration: Release x64 ------
>> 5> Generating b44ExpLogTable.h
>> 5>C:\Program Files
>> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
>> MSB6006: "cmd.exe" exited with code -1073741515
>>
>> The same error happens if I use the NMake Makefiles generator of cmake
>> (which is my preferred way of working).
>>
>> The problem seems to be the line in the custom build step:
>>
>> $(Configuration)\b44ExpLogTable >
>> F:/code/lib/openexr-git/OpenEXR/IlmImf/b44ExpLogTable.h
>>
>> It is not clear to me that $(Configuration) points to the actual executable.
> The problem is that b44ExpLogTable relies on the Half.dll and it is not
> finding it.
> Placing a:
>
> set PATH=%PATH%;F:/code/lib/Windows_64/lib
>
> (my %ILMBASE_PACKAGE_PREFIX%/lib directory)
>
> solved the problem.
>
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/openexr-devel