|
From: | Vanden Bulcke, Nick |
Subject: | [Openexr-devel] openexr_viewer-2.2.0 |
Date: | Thu, 13 Nov 2014 15:28:17 +0000 |
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 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 address@hidden:~/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 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
|
openexr_viewer_log1.txt
Description: openexr_viewer_log1.txt
openexr_viewer_log2.txt.txt
Description: openexr_viewer_log2.txt.txt
CTL log.txt.txt
Description: CTL log.txt.txt
openexr_viewer log 3.txt
Description: openexr_viewer log 3.txt
[Prev in Thread] | Current Thread | [Next in Thread] |