openexr-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-user] When compiling IlmImf, error MSB6006: "cmd.exe" exited wi


From: Heng Zhou
Subject: [Openexr-user] When compiling IlmImf, error MSB6006: "cmd.exe" exited with code -1073741515
Date: Wed, 20 Jun 2018 06:06:27 -0400

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 http://www.openexr.com/downloads.html
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=Release -DCMAKE_INSTALL_PREFIX=C:\...\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=Release -DILMBASE_PACKAGE_PREFIX=C:\...\ilmbase-2.2.1\install_ -DCMAKE_INSTALL_PREFIX=C:\...\openexr-2.2.1\install_ -DZLIB_LIBRARY=C:\...\zlib.lib -DZLIB_INCLUDE_DIR=C:\...\include -G"Visual 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.
========== Rebuild All: 3 succeeded, 1 failed, 0 skipped ==========

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]