When compiling IlmImf, error MSB6006: "cmd.exe" exited with code -1073741515

Heng Zhou <[email protected]> Wed, 20 Jun 2018 06:06:27 -0400
Newsgroups gmane.comp.video.openexr.user
Message-ID <CADu3_985RR1bjLw6kz_-5cxucKqEtdRJ-DXq-7EfzsrcQa1DvA@mail.gmail.com>
--===============1917926854564616027==
Content-Type: multipart/alternative; boundary="00000000000016e001056f0ff65b"

--00000000000016e001056f0ff65b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: Quoted-printable

I encountered an error when building the IlmImf project in OpenEXR 2.2.1

My environment:
- Windows 10 version 1803 64bit
- Visual Studio 2015 Update 3
- CMake 3.10.1

Steps towards to error:
1) Download ilmbase-2.2.1.tar.gz and openexr-2.2.1.tar.gz from
https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.openexr.com_downl=
oads.html&d=3DDwIBaQ&c=3DNgd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=3DnN=
mbq1pRTggcxacMDEjwfwilbe4qglfOqnF1roH3f_0&m=3DWM_EfQ1y1-SKJv-NMMFg2-qcoUM5F=
V1eB2JzG-f2xDw&s=3Dc_RvUaRWsNhcsF8lifXlTptLor67NBB-Jb3kFW6CNhs&e=3D
2) Uncompress the two packages
3) Build ilmbase-2.2.1
  3.1) create build and install_ folder in the root directory of ilmbase
  3.2) cd build
  3.3) run:
cmake -DCMAKE_CONFIGURATION_TYPES=3DRelease
-DCMAKE_INSTALL_PREFIX=3DC:\...\ilmbase-2.2.1\install_ -G "Visual Studio 14
2015 Win64" ..
  3.4) open ilmbase.sln in Visua Studio 2015 and build INSTALL project. I
can see that files shows up in the install_ folder.
4) Build openexr-2.2.1
  4.1) create build and install_ folder in the root directory of openexr
  4.2) cd build
  4.3) run:
cmake -DCMAKE_CONFIGURATION_TYPES=3DRelease
-DILMBASE_PACKAGE_PREFIX=3DC:\...\ilmbase-2.2.1\install_
-DCMAKE_INSTALL_PREFIX=3DC:\...\openexr-2.2.1\install_
-DZLIB_LIBRARY=3DC:\...\zlib.lib -DZLIB_INCLUDE_DIR=3DC:\...\include -G"Vis=
ual
Studio 14 2015 Win64" ..
  4.4) open ilmbase.sln in Visua Studio 2015 and build all (or IlmImf
specifically).

The error occurs when IlmImf project is being compiled. The errors are:
4>------ Rebuild All started: Project: IlmImf, Configuration: Release x64
------
4>  Building Custom Rule C:/.../openexr-2.2.1/IlmImf/CMakeLists.txt
4>  CMake does not need to re-run because
C:/.../openexr-2.2.1/build/IlmImf/CMakeFiles/generate.stamp is up-to-date.
4>  Generating b44ExpLogTable.h
4>C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5):
error MSB6006: "cmd.exe" exited with code -1073741515.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Rebuild All: 3 succeeded, 1 failed, 0 skippe=
d =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I have no idea what the matter is, so I post a thread here in hope that
someone can help me with this issue. If I missed anything needed to
reproduce the error, please let me know. Thank you.

--00000000000016e001056f0ff65b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: Quoted-printable

<div dir=3D"ltr"><div>I encountered an error when building the IlmImf proje=
ct in OpenEXR 2.2.1</div><div><br></div><div>My environment:</div><div>- Wi=
ndows 10 version 1803 64bit</div><div>- Visual Studio 2015 Update 3</div><d=
iv>- CMake 3.10.1<br></div><div><br></div><div>Steps towards to error:</div=
><div>1) Download ilmbase-2.2.1.tar.gz and openexr-2.2.1.tar.gz from <a hre=
f=3D"https://urldefense.proofpoint.com/v2/url?u=3Dhttp-3A__www.openexr.com_=
downloads.html&d=3DDwMFaQ&c=3DNgd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=
=3DnNmbq1pRTggcxacMDEjwfwilbe4qglfOqnF1roH3f_0&m=3DWM_EfQ1y1-SKJv-NMMFg2-qc=
oUM5FV1eB2JzG-f2xDw&s=3Dc_RvUaRWsNhcsF8lifXlTptLor67NBB-Jb3kFW6CNhs&e=3D">h=
ttp://www.openexr.com/downloads.html</a></div><div>2) Uncompress the two pa=
ckages</div><div>3) Build=20
ilmbase-2.2.1</div><div>=C2=A0 3.1) create build and install_ folder in the=
 root directory of=20

ilmbase</div><div>=C2=A0 3.2) cd build</div><div>=C2=A0 3.3) run: <br></div=
><div>cmake -DCMAKE_CONFIGURATION_TYPES=3DRelease -DCMAKE_INSTALL_PREFIX=3D=
C:\...\ilmbase-2.2.1\install_ -G &quot;Visual Studio 14 2015 Win64&quot; ..=
</div><div>=C2=A0 3.4) open ilmbase.sln in Visua Studio 2015 and build INST=
ALL project. I can see that files shows up in the install_ folder.<br></div=
><div>4) Build=20
openexr-2.2.1

<br></div><div>=C2=A0 4.1)=20
create build and install_ folder in the root directory of=20


openexr</div><div>=C2=A0 4.2)=20
cd build</div><div>=C2=A0 4.3) run:</div><div>cmake -DCMAKE_CONFIGURATION_T=
YPES=3DRelease -DILMBASE_PACKAGE_PREFIX=3DC:\...\ilmbase-2.2.1\install_ -DC=
MAKE_INSTALL_PREFIX=3DC:\...\openexr-2.2.1\install_ -DZLIB_LIBRARY=3DC:\...=
\zlib.lib -DZLIB_INCLUDE_DIR=3DC:\...\include -G&quot;Visual Studio 14 2015=
 Win64&quot; ..</div><div>=C2=A0 4.4)=20
open=20

ilmbase.sln=20
 in Visua Studio 2015 and build=20

all (or=20
IlmImf specifically).</div><div><br></div><div>The error occurs when=20
IlmImf project=20

is being compiled. The errors are:</div><div>4&gt;------ Rebuild All starte=
d: Project: IlmImf, Configuration: Release x64 ------<br>4&gt;=C2=A0 Buildi=
ng Custom Rule C:/.../openexr-2.2.1/IlmImf/CMakeLists.txt<br>4&gt;=C2=A0 CM=
ake does not need to re-run because C:/.../openexr-2.2.1/build/IlmImf/CMake=
Files/generate.stamp is up-to-date.<br>4&gt;=C2=A0 Generating b44ExpLogTabl=
e.h<br>4&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsof=
t.CppCommon.targets(171,5): error MSB6006: &quot;cmd.exe&quot; exited with =
code -1073741515.<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Rebuild All: 3 succeede=
d, 1 failed, 0 skipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br></div><div><br></d=
iv><div>I have no idea what the matter is, so I post a thread here in hope =
that someone can help me with this issue. If I missed anything needed to re=
produce the error, please let me know. Thank you.<br></div></div>

--00000000000016e001056f0ff65b--


--===============1917926854564616027==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Openexr-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-user

--===============1917926854564616027==--