Change History (9)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Solved the problem with Cg. Actually I made OpenEXR work with Cg-1.5_x86.tar.gz; libGLU is needed to make it work (I don't know why but I needed to pass LDFLAGS="$LDFLAGS -L/usr/X11R7/lib" before configuring openexr to make it work properly).
Installing FLTK and Cg made exrdisplay being built with fragment shader support. Actually I use the latest NVIDIA Linux-x86 Beta drivers for some new extensions, and it works, I don't know about latest stable drivers version.
comment:3 by , 19 years ago
Well, just tried to rebuild openexr with the same instructions, but this time it complained about Cg and no fragment shader support. Taking a look at openexr config.log when checking for Cg it checks also for lGLU, however in my ld.so.conf I have /usr/X11R7/lib and before trying configure I passed ldconfig. I don't know if it has something to do with openexr or cg but actually to make it find and use cg (tried rebuild various times) I had to symlink libGLU.so and libGLU.so.? libraries from /usr/X11R7/lib to /usr/lib. I'll investigate further...
comment:4 by , 18 years ago
There's a 1.5.0 development release but I never tested.
Anyway the "problem" was solved with a sed, the solution already done on CBLFS (http://cblfs.cross-lfs.org/index.php/OpenEXR) is adding prior to configure:
sed -i "s:-lGL:-L${XORG_PREFIX}/lib &:" configure
and then the build commands:
./configure --prefix=/usr make make check make install
To build the examples (disable by default) there is the switch
--enable-imfexamples
For installed FLKT and Cg it's possible to pass the switches:
--with-fltk-config=PATH --with-cg-prefix=PFX
To choose which OpenGL headers to use there's the switch:
--with-gl-includes=PFX
Programs installed: exrdisplay, exrenvmap, exrheader, exrmakepreview, exrmaketiled, exrstdattr. Libraries installed: libHalf.{a,so}, liblex.{a,so}, libilmlmf.{a,so}, libilmThread.{a,so}, liblmath,{a,so}. Installed directories: /usr/include/OpenEXR, /usr/share/doc/OpenEXR-1.4.0.
comment:5 by , 16 years ago
Nice canadate for BLFS. But, well, an editor will think about this package. A dep for KDE4.
comment:7 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Keep as external dependenceny.
OpenEXR latest version is openexr-1.4.0a from http://www.openexr.com.
Dependencies: OpenGL, FLTK (http://www.fltk.org) and (eventually for NVIDIA users) Cg (http://developer.nvidia.com/page/cg_main.html)
Compiled with the following istructions:
--enable-imfexamples is needed for the examples, default disabled, --with-fltk-config=<PATH> and, optionally for NVIDIA users, --with-cg-prefix=<DIR> (however actually I can't make it work, it warns about Cg old version so I'll write an email for info). It is also possible to specify which GL to use with the --with-gl-includes=<DIR>.