Comments (3)
I had the problem with the header files not being included for "make check", but adding them back in fixed the issue without any errors. I am running an Ubuntu 12.04 VM with gcc 4.6.3. What platform are you running and did all of the individual components install without error? Would you also be able to post the core dump of the SegFault?
from ctl.
I wasn't able to resolve the above make check errors so I am assuming my editing of header files to cause compile to work created other issues resulting in the seg faults. I noticed another comment thread talking about using "sudo" to build and am trying that. It seems to result in a different issue (prior i was just compiling as root). This new issue makes me think i'm missing something. My system is 32bit Slackware 14.0 gcc 4.7.1. I don't know if this compiles with openCL support but i should have that via AMD/fglrx.
Here's the issue now:
qbit@0xFFFB:~/Documents/OpenEXR/CTL-ctl_1.5_rc/build$ sudo cmake ..
-- found IlmBase, version 1.0.2
-- found TIFF, version 3.9.6
-- Found OpenEXR, version 1.7.0
CMake Warning at configure.cmake:46 (find_package):
By not providing "FindAcesContainer.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"AcesContainer", but CMake did not find one.
Could not find a package configuration file provided by "AcesContainer"
with any of the following names:
AcesContainerConfig.cmake
acescontainer-config.cmake
Add the installation prefix of "AcesContainer" to CMAKE_PREFIX_PATH or set
"AcesContainer_DIR" to a directory containing one of the above files. If
"AcesContainer" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:54 (include)
[ 25%] Built target IlmCtl
[ 30%] Built target IlmCtlMath
[ 31%] Built target halfExpLogTable
[ 61%] Built target IlmCtlSimd
[ 64%] Built target IlmImfCtl
[ 75%] Built target ctldpx
Linking CXX executable ctlrender
CMakeFiles/ctlrender.dir/transform.cc.o: In function transform(char const*, char const*, float, float, format_t*, Compression*, std::list<ctl_operation_t, std::allocator<ctl_operation_t> > const&, std::list<ctl_parameter_t, std::allocator<ctl_parameter_t> > const&)': transform.cc:(.text+0x331b): undefined reference to
aces_write(char const_, float, unsigned int, unsigned int, unsigned int, float const_, format_t_)'
collect2: error: ld returned 1 exit status
make[2]: *_* [ctlrender/ctlrender] Error 1
make[1]: *** [ctlrender/CMakeFiles/ctlrender.dir/all] Error 2
make: *** [all] Error 2
What is AcesContainer? Did I forget to install some prerequisite?
Thanks,
Bill Mandel
from ctl.
Actually all this seems to be issue with not building against the correct prerequisites. I noticed that Slackware 14 had OpenEXR 1.7.0 included so i removed that and trying to start from scratch. And get the prerequisites all from a release point. So I"m going to close this thread until I resolve that I'm building the right sources.
OpenEXR release 1.7.1
https://github.com/openexr/openexr/releases/tag/v1.7.1
but IlmBase errors with
IexMathFpu.cpp: In function 'void Iex::FpuControl::restoreControlRegs(const ucontext_t&, bool)':
IexMathFpu.cpp:234:38: error: 'struct _libc_fpstate' has no member named 'cwd'
IexMathFpu.cpp:235:40: error: 'struct _libc_fpstate' has no member named 'mxcsr'
So will try a dev version: https://github.com/openexr/openexr/tree/v1.x
ACES_dev:
https://github.com/ampas/aces-dev/releases/tag/v0.1.1
CTL:
https://github.com/ampas/CTL/tree/ctl_1.5_rc
from ctl.
Related Issues (20)
- ctlrender tests not working on Windows HOT 3
- CTL cmake does not find required dependencies when using apt-get install libilmbase-dev libopenexr-dev HOT 1
- EXR output resolutions are incorrect
- ctl_render dpx_read() should give error message when trying to open invalid filename
- install locations of a few files could be improved HOT 2
- Refactor exr_write() into a single function
- typo in include guard in dpx_raw.hh
- missing unit tests for code in directory /CTL/OpenEXR_CTL/exr_ctl_exr/ HOT 2
- missing unit tests for code in directory /CTL/OpenEXR_CTL/exrdpx/
- typo in \CTL\doc\CtlManual.pdf section 2.4 Arrays, Static Data and Lookup Tables
- typo in dpxToExr.cpp and exrToDpx.cpp
- Tiff read error when reading EXR file HOT 28
- LeakSanitizer: detected memory leaks when using -float argument with exr_ctl_exr HOT 2
- deprecation warning: 'uint32' is deprecated HOT 1
- 5 compile warnings on MacOs
- "Bad magic number" error on known valid OpenEXR files HOT 7
- New CTL programs HOT 6
- Build fails with strict-aliasing violations HOT 5
- Segmentation fault can result in ctlrender when the number of instructions gets too large
- typo in set_target_properties() in /lib/dpx/CMakeLists.txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctl.