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

Boudewijn Rempt boud at valdyas.org
Thu Nov 1 09:05:05 UTC 2012


That's quite interesting... It's the same error I had when Patrick and I were hacking on this at the kde-windows sprint. It worked for him, not for me. I'm wondering whether I shouldn't just commit the generated code instead.

On Tuesday 30 October 2012 Oct, Stuart Dickson wrote:
> 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
> 
> 
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows
> 
> 


-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl


More information about the Kde-windows mailing list