|
From: | Paul Schneider |
Subject: | Re: [Openexr-devel] OpenEXR 1.5.0, OpenEXR-Images 1.5.0 released |
Date: | Mon, 18 Dec 2006 18:36:39 -0500 |
Hi, all,I believe that the -pthread option is not supported, or necessary, on OS X. This mailing list post seems to back me up:
http://lists.apple.com/archives/Unix-porting/2005/Mar/msg00019.htmlA simple test suggests that -pthread is not a valid option to pass to either the compiler or the linker (if I'm doing this right):
digdug:~/src paul$ cat > test.c #include <stdio.h> int main (int argc, char** argv) { printf ("hello world!\n"); return 0; } digdug:~/src paul$ gcc -c test.c -pthread i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread' digdug:~/src paul$ gcc -o test test.o -pthread i686-apple-darwin8-gcc-4.0.1: unrecognized option '-pthread' digdug:~/src paul$ ./test hello world!I've got an OS X machine set up here, so if you'd still like the configure output, I can send it along...
- Paul On Dec 18, 2006, at 5:56 PM, Andrew Kunz wrote:
Hey Ken. Thanks for the feedback. The -pthread option was added as a ldflagbecause it was neccessary when dependent libraries linked with OpenEXR onLinux.Currently, the test that is run by configure is compiled and linked in one step, so configure on your platform is probably adding threading flags to the link step that should not be included when compiling and linking areseparate steps.Can you send me a dump of the messages you see when you run configure onthe IlmBase library, and also a copy of the IlmBase.pc file that getsgenerated in your build directory? Do you see these errors when you buildIlmBase, or only for OpenEXR? Cheers, AndrewHi Florian, Many thanks for what appears to be a significant release.I have problems building this one though. I am on a macbook pro underOSX with openexr-1.4.0 already installed. I get the following warning for every source file compiled in the openexr library: i686-apple-darwin8-g++-4.0.1: unrecognized option '-pthread' It then fails compiling exrheader with: main.cpp: In function 'void printCompression(Imf::Compression)': main.cpp:98: error: 'B44_COMPRESSION' was not declared in this scope main.cpp: In function 'void printChannelList(const Imf::ChannelList&)': main.cpp:265: error: 'const struct Imf::Channel' has no member named 'pLinear' After uninstalling the 1.4.0 version of openexr and starting over it built and installed correctly, however the -pthread warning still exists. Thanks again. --Ken On 16 Dec 2006, at 02:52, Florian Kainz wrote:December 15, 2006 - a new development version of OpenEXR is now available. We have tested the code in this version internally at ILM, but we would like to get feedback from others before we release a production version. You can download the source code and sample images from here: http://download.savannah.gnu.org/releases/openexr The new version includes several significant changes:* OpenEXR supports a new image compression method, called B44. It has a fixed compression rate of 2.28:1, or 4.57:1 if used in combinationwith luminance/chroma encoding. B44-compressed images can be uncompressed fast enough to support real-time playback of image sequences.* The new playexr program plays back moving image sequences. Playexris multi-threaded and utilizes the threading capabilities of the IlmImf library that were introduced in OpenEXR 1.3.0. The program plays back B44-compressed images with fairly high-resolution in real time on commodity hardware. * The playexr program and a new version of the existing exrdisplay imageviewer both support color rendering via color transforms written inthe new Color Transformation Language or CTL. CTL is not part of OpenEXR; it will be released separately.CTL support in playexr and exrdisplay is optional; the programs canbe built and will run without CTL. * In preparation for the release of CTL, OpenEXR has been split into three separate packages: - IlmBase 0.9.0 includes the Half, Iex, Imath and IlmThread libraries- OpenEXR 1.5.0 includes the IlmImf library, programming examplesand utility programs such as exrheader or exrenvmap - OpenEXRViewers 0.9.0 includes the playexr and exrdisplay programs * The "Technical Introduction to OpenEXR" document now includes a recommendation for storing CIE XYZ pixel data in OpenEXR files. * A new "OpenEXR Image Viewing Software" document describes the playexr and exrdisplay programs. It briefly explains real-time playback and color rendering, and includes recommendations for testing if other image viewing software displays OpenEXR images correctly. * The OpenEXR sample image set now includes B44-compressed files and files with CIE XYZ pixel data. _______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel_______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel_______________________________________________ Openexr-devel mailing list address@hidden http://lists.nongnu.org/mailman/listinfo/openexr-devel
[Prev in Thread] | Current Thread | [Next in Thread] |