Hello,

I'm trying to build and install the openexr libs on ubuntu 14.04. (clean 
install with QT creator installed )

1)      I have downloaded the 2.2.0 libs from openexr.com/downloads



2)      Building Ilmbase and openexr is OK.

3) before building OpenEXR_viewer, I have to download some other libs:
3a)I have downloaded CTL from github.com/ampas/CTL
               3b) I have downloaded fltk-1.3.3-source from 
www.fltk.org<http://www.fltk.org>
3c) I have built both the fltk and CTL libs, this seems to build fine.
3d) Hower, CTL does report an error if I run the "sudo make check" command. 
part of the output (see CTL.txt for complete build output):
[ 81%] Building CXX object 
unittest/IlmCtl/CMakeFiles/IlmCtlTest.dir/testExamples.cpp.o
/home/nvdb/exr/CTL/unittest/IlmCtl/testExamples.cpp: In function 'void 
testPrintExample(Ctl::Interpreter&)':
/home/nvdb/exr/CTL/unittest/IlmCtl/testExamples.cpp:77:52: error: 'memcpy' was 
not declared in this scope
     memcpy(fData, fDataOrig, dataSize*sizeof(float));
                                                    ^
make[3]: *** [unittest/IlmCtl/CMakeFiles/IlmCtlTest.dir/testExamples.cpp.o] 
Error 1
make[2]: *** [unittest/IlmCtl/CMakeFiles/IlmCtlTest.dir/all] Error 2
make[1]: *** [unittest/CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2
nvdb@nvdb-Precision-M6600:~/exr/CTL/build$

???? Question:
???? adding "string.h" to the source files, does fix the problem, however, is 
this normal that I have to change the source files ?????
????

4) I have troubles with the openexr_viewers-2.2.0:
4a) Next, I get a first error while running ./configure from the openexr_viewer 
directory .Part of the output (see log1.txt for complete build output):
checking for OpenEXR... no
*** Could not run the OpenEXR test program, checking why...
*** The test program compiled and staticly linked, but did not run. This
*** usually means that the run-time linker is not finding OpenEXR or finding
*** the wrong version of OpenEXR.
***
*** If the linker is not finding OpenEXR, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system.
***
*** Flags used by the test:
***     cflags: -g -O2 -pthread -I/usr/local/include/OpenEXR
***     ldflags:  -L/usr/local/lib
***

               4b) I have added the LD_LIBRARY_PATH to .bashrc

               4c)  I run again ./configure. Now I get the next error:
checking for pkg-config... (cached) /usr/bin/pkg-config
using pkg-config to set OPENEXR_CTL_CXXFLAGS and OPENEXR_CTL_LDFLAGS:
/usr/bin/pkg-config
    OPENEXR_CTL_CXXFLAGS = -I/OpenEXR
    OPENEXR_CTL_LDFLAGS = -L
    OPENEXR_CTL_LIBS = -L -lIlmImfCtl
checking for OpenEXR... yes
Compiled and ran OpenEXR test program.
checking for OpenEXR_CTL... no
*** Could not run the OpenEXR_CTL test program, checking why...
*** The test program could not be compiled.  Is OpenEXR_CTL installed?
*** Check that the cflags (below) includes the OpenEXR_CTL include directory
***
*** Flags used by the test:
***     cflags: -g -O2 -I/OpenEXR
***     ldflags:  -L
***
*** You can also run configure with --disable-openexrctltest to skip this test.
The OpenEXR_CTL package could not be found.  Will build and install playexr and 
exrdisplay without ctl support.

If I look at the content of /usr/local/lib/pkgconfig/openEXR_CTL_pc, then I see 
that all directory are empty:
Prefix =
Exec_prefix=
Libdir =
Includedir=
OpenEXR_includedir=/OpenEXR

               4d) The error above is not preventing to build the project
I have run the "make" and the "sudo make" command from the openexr_viewer 
directory

5) exrdisplay
5a)  from a console, I run exrdisplay rec709.exr -> viewer starts up and image 
looks fine, with the sliders I can change the image.
5b) from a console, I run exrdisplay rec709_YC.exr -> viewer starts up but 
Image is not ok I only see gray

???? Question ???
?????Is this because the CTL lib has not been found during the build of the 
openexr_viewer ???
????

6 ) In the openexr_viewer directory, I have opened the configure file and 
changed it a little bit so that the default directories are used instead of the 
pkgconfig info.
( I have put the pkgconfig lines in comment (lines 15700-15712).

I have done again :
./configure
Make
Sudo make install

Now, I don't get errors anymore and the build output reports: CTL support YES 
(See log3.txt)

7) exrdisplay
However, If I startup the exrdisplay, I get errors that the program can't find 
transform_RRT and  transform_display_video
If I google these files, I can find the content of the files, but why are these 
missing in my build?

???? Question ???
?????I don't think this is normal??? Could it be that I don't have the correct 
version of the CTL ??? Where can I find the latest version, or could someone 
send the *tar.gz to me?
>From the lib directory, I can see: libilmCtl.so.1.5.0
????


8) I have added these files manual to the usr/local/lib/CTL

Now the exrdisplay is starting up, but now the sliders on top of the viewer are 
missing !!?????
What is going on???



Kind regards,

Nick










This message is subject to the following terms and conditions: MAIL 
DISCLAIMER<http://www.barco.com/en/maildisclaimer>
nvdb@nvdb-Precision-M6600:~/exr/openexr_viewers-2.2.0$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
LIB64_IF_EXISTS ...   
test_prefix = NONE
checking for pkg-config... /usr/bin/pkg-config
using pkg-config to set OPENEXR_CXXFLAGS and OPENEXR_LDFLAGS:
    OPENEXR_CXXFLAGS = -pthread -I/usr/local/include/OpenEXR  
    OPENEXR_LDFLAGS = -L/usr/local/lib  
    OPENEXR_LIBS = -pthread -L/usr/local/lib -lIlmImf -lImath -lHalf -lIex 
-lIexMath -lIlmThread  
test_prefix = NONE
checking for pkg-config... (cached) /usr/bin/pkg-config
nvdb CTL SECTION
nvdb CTL SECTION: using pkg-config to set OPENEXR_CTL_CXXFLAGS and 
OPENEXR_CTL_LDFLAGS:
nvdb CTL SECTION /usr/bin/pkg-config
    OPENEXR_CTL_CXXFLAGS = -I/usr/local/include/CTL 
-I/usr/local/include/OpenEXR  
    OPENEXR_CTL_LDFLAGS = -L/usr/local/lib  
    OPENEXR_CTL_LIBS = -L/usr/local/lib -lIlmImfCtl  
checking for OpenEXR... no
*** Could not run the OpenEXR test program, checking why...
*** The test program compiled and staticly linked, but did not run. This 
*** usually means that the run-time linker is not finding OpenEXR or finding
*** the wrong version of OpenEXR.
***
*** If the linker is not finding OpenEXR, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system.
***
*** Flags used by the test:
***     cflags: -g -O2 -pthread -I/usr/local/include/OpenEXR   
***     ldflags:  -L/usr/local/lib  
***
*** You can also run configure with --disable-openexrtest to skip this test.
configure: error: Could not compile OpenEXR test program.
vdb@nvdb-Precision-M6600:~/exr/openexr_viewers-2.2.0$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
LIB64_IF_EXISTS ...   
test_prefix = NONE
checking for pkg-config... /usr/bin/pkg-config
using pkg-config to set OPENEXR_CXXFLAGS and OPENEXR_LDFLAGS:
    OPENEXR_CXXFLAGS = -pthread -I/usr/local/include/OpenEXR  
    OPENEXR_LDFLAGS = -L/usr/local/lib  
    OPENEXR_LIBS = -pthread -L/usr/local/lib -lIlmImf -lImath -lHalf -lIex 
-lIexMath -lIlmThread  
test_prefix = NONE
checking for pkg-config... (cached) /usr/bin/pkg-config
nvdb CTL SECTION: using pkg-config to set OPENEXR_CTL_CXXFLAGS and 
OPENEXR_CTL_LDFLAGS:
nvdb CTL SECTION /usr/bin/pkg-config
    OPENEXR_CTL_CXXFLAGS = -I/OpenEXR  
    OPENEXR_CTL_LDFLAGS = -L  
    OPENEXR_CTL_LIBS = -L -lIlmImfCtl  
checking for OpenEXR... yes
Compiled and ran OpenEXR test program.
checking for OpenEXR_CTL... no
*** Could not run the OpenEXR_CTL test program, checking why...
*** The test program could not be compiled.  Is OpenEXR_CTL installed?
*** Check that the cflags (below) includes the OpenEXR_CTL include directory
***
*** Flags used by the test:
***     cflags: -g -O2 -I/OpenEXR   
***     ldflags:  -L  
***
*** You can also run configure with --disable-openexrctltest to skip this test.
The OpenEXR_CTL package could not be found.  Will build and install playexr and 
exrdisplay without ctl support. 
checking for fltk-config... /usr/local/bin/fltk-config
checking for FLTK with GL support... yes

---------------------------------------------
Fltk setup:

FLTK_CXXFLAGS        -I/usr/local/include -I/usr/local/include/FL/images 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
FLTK_LDFLAGS            -L/usr/local/lib -lfltk_gl -lGLU -lGL -lfltk -lXfixes 
-lXext -lpthread -ldl -lm -lX11
---------------------------------------------

checking for Cg... no
*** The Cg test program could not be compiled.
*** Possible reasons:
***     - The Cg libraries and includes are not installed.
***     - configure cannot find Cg (use the
***       --with-cg-prefix option to tell configure where
***       to find it).
***     - Your version of Cg is out of date.  Please update it
***       to the latest version.
***
*** The exrdisplay program will not be built with fragment shader
*** support because the fragment shader support depends on Cg.
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for gcc optimization flags... -pipe
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating exrdisplay/Makefile
config.status: creating playexr/Makefile
config.status: creating doc/Makefile
config.status: creating config/OpenEXR_ViewersConfig.h
config.status: config/OpenEXR_ViewersConfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

---------------------------------------------
Summary for OpenEXR features:

build exrdisplay FLTK application        yes
    with fragment shader support        no
ctl support                                     no
---------------------------------------------
  
nvdb@nvdb-Precision-M6600:~/exr/CTL/build$ cmake ..
-- found IlmBase, version 2.2.0
-- checking for one of the modules 'libtiff;libtiff-4'
-- Found OpenEXR, version 2.2.0
-- Found AcesContainer, version 1.0.0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nvdb/exr/CTL/build
nvdb@nvdb-Precision-M6600:~/exr/CTL/build$ make
[ 86%] Built target IlmCtl
Linking CXX shared library libIlmCtlMath.so
[ 86%] Built target IlmCtlMath
[ 86%] Built target halfExpLogTable
Linking CXX shared library libIlmCtlSimd.so
[ 86%] Built target IlmCtlSimd
Linking CXX shared library libIlmImfCtl.so
[ 86%] Built target IlmImfCtl
[ 86%] Built target ctldpx
Linking CXX executable ctlrender
[ 86%] Built target ctlrender
Linking CXX executable exrdpx
[ 86%] Built target exrdpx
Linking CXX executable exr_ctl_exr
[ 86%] Built target exr_ctl_exr
nvdb@nvdb-Precision-M6600:~/exr/CTL/build$ sudo make install
[sudo] password for nvdb: 
[ 25%] Built target IlmCtl
[ 30%] Built target IlmCtlMath
[ 31%] Built target halfExpLogTable
[ 61%] Built target IlmCtlSimd
[ 64%] Built target IlmImfCtl
[ 75%] Built target ctldpx
[ 88%] Built target ctlrender
[ 95%] Built target exrdpx
[100%] Built target exr_ctl_exr
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/lib/pkgconfig/CTL.pc
-- Up-to-date: /usr/local/lib/CMake/CTL/CTLConfig.cmake
-- Up-to-date: /usr/local/lib/CMake/CTL/CTLConfigVersion.cmake
-- Installing: /usr/local/lib/CMake/CTL/CTLLibraryDepends.cmake
-- Up-to-date: /usr/local/doc/CTL/CtlManual.pdf
-- Up-to-date: /usr/local/doc/CTL/CtlManual.doc
-- Up-to-date: /usr/local/include/CTL/CtlAddr.h
-- Up-to-date: /usr/local/include/CTL/CtlAlign.h
-- Up-to-date: /usr/local/include/CTL/CtlErrors.h
-- Up-to-date: /usr/local/include/CTL/CtlExc.h
-- Up-to-date: /usr/local/include/CTL/CtlFunctionCall.h
-- Up-to-date: /usr/local/include/CTL/CtlInterpreter.h
-- Up-to-date: /usr/local/include/CTL/CtlLContext.h
-- Up-to-date: /usr/local/include/CTL/CtlMessage.h
-- Up-to-date: /usr/local/include/CTL/CtlModule.h
-- Up-to-date: /usr/local/include/CTL/CtlRcPtr.h
-- Up-to-date: /usr/local/include/CTL/CtlReadWriteAccess.h
-- Up-to-date: /usr/local/include/CTL/CtlSymbolTable.h
-- Up-to-date: /usr/local/include/CTL/CtlSyntaxTree.h
-- Up-to-date: /usr/local/include/CTL/CtlTokens.h
-- Up-to-date: /usr/local/include/CTL/CtlType.h
-- Up-to-date: /usr/local/include/CTL/CtlTypeStorage.h
-- Up-to-date: /usr/local/include/CTL/CtlStdType.h
-- Up-to-date: /usr/local/include/CTL/CtlVersion.h
-- Up-to-date: /usr/local/lib/libIlmCtl.so.1.5.0
-- Up-to-date: /usr/local/lib/libIlmCtl.so
-- Up-to-date: /usr/local/include/CTL/CtlColorSpace.h
-- Up-to-date: /usr/local/include/CTL/CtlLookupTable.h
-- Up-to-date: /usr/local/include/CTL/CtlRbfInterpolator.h
-- Up-to-date: /usr/local/include/CTL/CtlSparseMatrix.h
-- Installing: /usr/local/lib/libIlmCtlMath.so.1.5.0
-- Up-to-date: /usr/local/lib/libIlmCtlMath.so
-- Set runtime path of "/usr/local/lib/libIlmCtlMath.so.1.5.0" to 
"/usr/local/lib"
-- Up-to-date: /usr/local/include/CTL/CtlSimdInterpreter.h
-- Installing: /usr/local/lib/libIlmCtlSimd.so.1.5.0
-- Up-to-date: /usr/local/lib/libIlmCtlSimd.so
-- Set runtime path of "/usr/local/lib/libIlmCtlSimd.so.1.5.0" to 
"/usr/local/lib"
-- Up-to-date: /usr/local/include/OpenEXR/ImfCtlApplyTransforms.h
-- Installing: /usr/local/lib/libIlmImfCtl.so
-- Set runtime path of "/usr/local/lib/libIlmImfCtl.so" to "/usr/local/lib"
-- Installing: /usr/local/bin/ctlrender
-- Set runtime path of "/usr/local/bin/ctlrender" to 
"/usr/local/lib:/home/nvdb/exr/aces_container-master/build"
-- Installing: /usr/local/lib/pkgconfig/OpenEXR_CTL.pc
-- Up-to-date: /usr/local/lib/CTL/utilities.ctl
-- Installing: /usr/local/bin/exrdpx
-- Set runtime path of "/usr/local/bin/exrdpx" to "/usr/local/lib"
-- Up-to-date: /usr/local/lib/CTL/transform_DPX_EXR.ctl
-- Up-to-date: /usr/local/lib/CTL/transform_EXR_DPX.ctl
-- Installing: /usr/local/bin/exr_ctl_exr
-- Set runtime path of "/usr/local/bin/exr_ctl_exr" to "/usr/local/lib"
-- Up-to-date: /usr/local/lib/CTL/change_saturation.ctl
nvdb@nvdb-Precision-M6600:~/exr/CTL/build$ sudo make check
[ 30%] Built target IlmCtl
[ 33%] Built target IlmImfCtl
[ 38%] Built target IlmCtlMath
[ 40%] Built target halfExpLogTable
[ 75%] Built target IlmCtlSimd
Linking CXX executable IlmImfCtlTest
[ 80%] Built target IlmImfCtlTest
[ 81%] Building CXX object 
unittest/IlmCtl/CMakeFiles/IlmCtlTest.dir/testExamples.cpp.o
/home/nvdb/exr/CTL/unittest/IlmCtl/testExamples.cpp: In function ‘void 
testPrintExample(Ctl::Interpreter&)’:
/home/nvdb/exr/CTL/unittest/IlmCtl/testExamples.cpp:77:52: error: ‘memcpy’ was 
not declared in this scope
     memcpy(fData, fDataOrig, dataSize*sizeof(float));
                                                    ^
make[3]: *** [unittest/IlmCtl/CMakeFiles/IlmCtlTest.dir/testExamples.cpp.o] 
Error 1
make[2]: *** [unittest/IlmCtl/CMakeFiles/IlmCtlTest.dir/all] Error 2
make[1]: *** [unittest/CMakeFiles/check.dir/rule] Error 2
make: *** [check] Error 2
nvdb@nvdb-Precision-M6600:~/exr/CTL/build$ 
nvdb@nvdb-Precision-M6600:~/exr/openexr_viewers-2.2.0$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether make sets $(MAKE)... (cached) yes
LIB64_IF_EXISTS ...   
test_prefix = NONE
checking for pkg-config... /usr/bin/pkg-config
using pkg-config to set OPENEXR_CXXFLAGS and OPENEXR_LDFLAGS:
    OPENEXR_CXXFLAGS = -pthread -I/usr/local/include/OpenEXR  
    OPENEXR_LDFLAGS = -L/usr/local/lib  
    OPENEXR_LIBS = -pthread -L/usr/local/lib -lIlmImf -lImath -lHalf -lIex 
-lIexMath -lIlmThread  
test_prefix = NONE
checking for pkg-config... (cached) /usr/bin/pkg-config
nvdb CTL SECTION: test -z {TEST_CXXFLAGS}
using default as guess for OPENEXR_CTL_CXXFLAGS and OPENEXR_CTL_LDFLAGS:
    OPENEXR_CTL_CXXFLAGS =  -I/usr/local/include/OpenEXR 
-I/usr/local/include/CTL
    OPENEXR_CTL_LDFLAGS =  -L/usr/local/lib
    OPENEXR_CTL_LIBS = -lIlmImfCtl -lIlmImf -lz -lImath -lHalf -lIex 
-lIlmThread -lpthread -lIlmCtlSimd -lIlmCtlMath -lIlmCtl
checking for OpenEXR... yes
Compiled and ran OpenEXR test program.
checking for OpenEXR_CTL... yes
Compiled and ran OpenEXR_CTL test program.
checking for fltk-config... /usr/local/bin/fltk-config
checking for FLTK with GL support... yes

---------------------------------------------
Fltk setup:

FLTK_CXXFLAGS        -I/usr/local/include -I/usr/local/include/FL/images 
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
FLTK_LDFLAGS            -L/usr/local/lib -lfltk_gl -lGLU -lGL -lfltk -lXfixes 
-lXext -lpthread -ldl -lm -lX11
---------------------------------------------

checking for Cg... no
*** The Cg test program could not be compiled.
*** Possible reasons:
***     - The Cg libraries and includes are not installed.
***     - configure cannot find Cg (use the
***       --with-cg-prefix option to tell configure where
***       to find it).
***     - Your version of Cg is out of date.  Please update it
***       to the latest version.
***
*** The exrdisplay program will not be built with fragment shader
*** support because the fragment shader support depends on Cg.
checking for ANSI C header files... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for gcc optimization flags... -pipe
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating exrdisplay/Makefile
config.status: creating playexr/Makefile
config.status: creating doc/Makefile
config.status: creating config/OpenEXR_ViewersConfig.h
config.status: config/OpenEXR_ViewersConfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

---------------------------------------------
Summary for OpenEXR features:

build exrdisplay FLTK application        yes
    with fragment shader support        no
ctl support                                     yes
---------------------------------------------
  
nvdb@nvdb-Precision-M6600:~/exr/openexr_viewers-2.2.0$ 
_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to