Re: CMake only build of OpenEXR ( ) under Fedora 15 failing ….

Simon Smith <[email protected]>
Newsgroups gmane.comp.video.openexr.devel
Message-ID <[email protected]>
Fixing the issue (manually after running the CMakeGUI generate process) required me to edit the generated ilmimf/cmakefiles/ilmimf.dir/build.make file
For me, this was on line 678:

ImfB44Compressor.cpp.o ../b44ExpLogTable.h

Had to be tweaked to read:

ImfB44Compressor.cpp.o ../IlmImf/b44ExpLogTable.h

It then built perfectly.

Thought I'd just share that with you guys incase it turns out to be useful for anyone else!



Best Regards,
   Simon


On 18 Nov 2014, at 16:48, Simon Smith wrote:

> Hi,
> 
> I'm having trouble building OpenEXR under Fedora15 using CMake (as I've used under Windows and OSX previously).
> 
> I've used CMake to build IlmBase (with a CMAKE_INSTALL_PREFIX of /home/simon/openexr-src/openexr-cvs/ilmbase-2.1.0/deploy/)
> I then used CMake with OpenEXR (with a CMAKE_INSTALL_PREFIX of  /home/simon/openexr-src/openexr-cvs/openexr-2.1.0/deploy/)
> 
> I then added ILMBASE_PACKAGE_PREFIX to point to: /home/simon/openexr-src/openexr-cvs/ilmbase-2.1.0/deploy/ to tie the two together (I hope!)
> 
> From a CMake point of view, the source lives here: /home/simon/openexr-src/openexr-cvs/openexr-2.1.0/, and the "Where To Build The Binaries" goes here: /home/simon/openexr-src/openexr-cvs/openexr-2.1.0/build/
> 
> I Then hit "Generate", and in terminal went to the build directory, ran make, and it failed with the following:
> 
> Scanning dependencies of target b44ExpLogTable
> [  1%] Building CXX object IlmImf/CMakeFiles/b44ExpLogTable.dir/b44ExpLogTable.cpp.o
> Linking CXX executable b44ExpLogTable
> [  1%] Built target b44ExpLogTable
> Scanning dependencies of target IlmImf
> [  1%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfAttribute.cpp.o
> [  2%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfBoxAttribute.cpp.o
> [  2%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfCRgbaFile.cpp.o
> [  3%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfChannelList.cpp.o
> [  3%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfChannelListAttribute.cpp.o
> [  4%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfFloatAttribute.cpp.o
> [  5%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfFrameBuffer.cpp.o
> [  5%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfHeader.cpp.o
> [  6%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfIO.cpp.o
> [  6%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfInputFile.cpp.o
> [  7%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfIntAttribute.cpp.o
> [  8%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfLineOrderAttribute.cpp.o
> [  8%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfMatrixAttribute.cpp.o
> [  9%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfOpaqueAttribute.cpp.o
> [  9%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfOutputFile.cpp.o
> [ 10%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfRgbaFile.cpp.o
> [ 11%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfStringAttribute.cpp.o
> [ 11%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfVecAttribute.cpp.o
> [ 12%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfHuf.cpp.o
> [ 12%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfThreading.cpp.o
> [ 13%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfWav.cpp.o
> [ 14%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfLut.cpp.o
> [ 14%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfCompressor.cpp.o
> [ 15%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfRleCompressor.cpp.o
> [ 15%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfZipCompressor.cpp.o
> [ 16%] Building CXX object IlmImf/CMakeFiles/IlmImf.dir/ImfPizCompressor.cpp.o
> make[2]: *** No rule to make target `../b44ExpLogTable.h', needed by `IlmImf/CMakeFiles/IlmImf.dir/ImfB44Compressor.cpp.o'.  Stop.
> make[1]: *** [IlmImf/CMakeFiles/IlmImf.dir/all] Error 2
> make: *** [all] Error 2
> 
> Any thoughts/help would be greatly appreciated!
> Just a side note: The same source code and cmake files have all been working for OSX and Windows.
> 
> 
> 
> Best Regards,
>    Simon
> 
> ---
> Simon C Smith
> Co-Founder & CTO
> www.hdrlightstudio.com
> 
> _______________________________________________
> Openexr-devel mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/openexr-devel

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.