error building ilmbase-src (kde-4.8 / kde-4.7)

Stuart Dickson stuart.dickson at kogmbh.com
Tue Oct 30 10:40:01 UTC 2012


I've been trying to build the OpenEXR library against kde-4.7. (having 
to import the portage folders for the libraries)
I've encountered a problem building the dependency: ilmbase

This error occurs in both the kde-4.8 branch, and the kde-4.7 branch 
(where I've copied the portage folders for ilmbase-src and openexr-src into)

The output is as follows:

emerge debug: applying patch -d 
u:\build\win32libs-sources\ilmbase-src-1.0.2\work\ilmbase-1.0.2 -p1 < 
u:\emerge\portage\
mbase-src\ilmbase-1.0.2-20120804.diff
patching file CMakeLists.txt
patching file Half/CMakeLists.txt
patching file HalfTest/CMakeLists.txt
patching file Iex/CMakeLists.txt
patching file IexTest/CMakeLists.txt
patching file IlmBaseConfig.cmake
patching file IlmThread/CMakeLists.txt
patching file Imath/CMakeLists.txt
patching file ImathTest/CMakeLists.txt
creating: 
u:\build\win32libs-sources\ilmbase-src-1.0.2\work\msvc2010-RelWithDebInfo-1.0
entering: 
u:\build\win32libs-sources\ilmbase-src-1.0.2\work\msvc2010-RelWithDebInfo-1.0
emerge debug: cmake -G "NMake Makefiles" -DCMAKE_INSTALL_PREFIX="u:/" 
-DCMAKE_INCLUDE_PATH="u:/include" -DCMAKE_LIBRARY
KE_PREFIX_PATH="u:/" -DCMAKE_BUILD_TYPE=RelWithDebInfo 
"u:\build\win32libs-sources\ilmbase-src-1.0.2\work\ilmbase-1.0.2"
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1600
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual 
Studio 10.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual 
Studio 10.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft 
Visual Studio 10.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft 
Visual Studio 10.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: 
U:/build/win32libs-sources/ilmbase-src-1.0.2/work/msvc2010-RelWithDebInfo-1.0
entering: 
u:\build\win32libs-sources\ilmbase-src-1.0.2\work\msvc2010-RelWithDebInfo-1.0
Scanning dependencies of target eLut
[  1%] Building CXX object Half/CMakeFiles/eLut.dir/eLut.cpp.obj
eLut.cpp
Linking CXX executable eLut.exe
[  1%] Built target eLut
[  3%] Generating eLut.h
[  5%] Generating toFloat.h
'.\toFloat' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '.\toFloat' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
emerge fatal error: while running make cmd: nmake /NOLOGO
emerge fatal error: running python 
u:\emerge\portage\win32libs-sources\ilmbase-src\ilmbase-src-1.0.2.py compile
emerge debug: Task: Emerge stopped after: 0:00:09.062000


I can see that an empty toFloat.h file is created in the 
work/msvc2010-RelWithDebInfo-1.0 folder
Interesting that the eLut.h file seems to be generated in a similar 
fashion, but without issue.


Thanks,
Stuart




More information about the Kde-windows mailing list