OpenEXR

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2005   #1
OpenEXR

Does anyone enable OpenEXR support for Shake 3.5 under linux? (Yeap, stupid question Actually I mean - can anyone explain how to do it?)
 
Old 05 May 2005   #2
Normally you have to compile the exr plugin off the openexr.org website. But your in luck, I compiled it last year and have it on my site:
http://www.freakydeke.com/exr/exrFormat.so
__________________
-deke
 
Old 05 May 2005   #3
hey beaker,

what are the chances you know anything about openexr for us poor windows users (shake 2.51)?

regards,
sunit
 
Old 05 May 2005   #4
beaker, thanks. I'll try it out soon.

Now I'm compiling it myself but have some problems:

1)I've compiled OpenEXR 1.2.2 source - now I have variuos utils like exrdisplay etc.
2)Set pkg-config variable for openEXR.pc file
3)The quantity of errors is decreased to that:

[root@localhost OpenEXR_Shake-1.0.1]# make
Using /usr/apple/shake-v3.5
g++ -O2 -fPIC -I/usr/apple/shake-v3.5/sdk/include/nrcc -I/usr/apple/shake-v3.5/sdk/include/nrfx -I/usr/apple/shake-v3.5/sdk/include/nrgl `pkg-config --cflags OpenEXR` exrFormat.C -c -o exrFormat.o
In file included from /usr/apple/shake-v3.5/sdk/include/nrcc/NRiFile.h:28,
from exrFormat.h:47,
from exrFormat.C:52:
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h: In member function `void NRiHashTable<T>::resize(uint32_t)':
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h:116: error: `de' undeclared (first use this function)
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h:116: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h: In member function `void NRiHashTable<T>::addEntry(NRiHashTable<T>::Entry<T>*)':
/usr/apple/shake-v3.5/sdk/include/nrcc/NRiHashTable.h:234: error: `e' undeclared (first use this function)
make: *** [exrFormat.so] Error 1

Can you advice anything in this case?
 
Old 05 May 2005   #5
Originally Posted by sunit: hey beaker,

what are the chances you know anything about openexr for us poor windows users (shake 2.51)?

regards,
sunit

The exr plugin won't compile for 2.5, sorry, your SOL.

Upgrade to linux or buy a mac. 2.51 is 4 years old. Isn't it about damn time you move on? 3.5 is so much faster and has a lot of nice features.
__________________
-deke
 
Old 05 May 2005   #6
Ok, I've set your plugin and shake returned that he can't find som libs from OpenEXR. I do have them in /usr/local/lib but shake doesn't wan't to read them from there. So I put links on them to shakes dir/lib/mesa - now shake loaded plugin sees .exr as image-files but when I try to open - it crashes and returns 'Segmentation fault'... Any ideas what could it be?
 
Old 05 May 2005   #7
What version of gcc are you using?

As for my plugin, I compiled it with exr 1.2.1, so 1.2.2 is probably causing it to crash. 1.2.1 requires you to compile the nvidia sdk, but supposedly they got rid of that dependancy in 1.2.2. I wonder if the shake plugin still requires 1.2.1.
__________________
-deke
 
Old 05 May 2005   #8
That's Mandrake 10.1 - gcc 3.4

Yeap, nvidia sdk in 1.2.2 was an optional thing and didn't set up in my case.

What do you suggest in this situation?
 
Old 05 May 2005   #9
install 1.2.1
__________________
-deke
 
Old 05 May 2005   #10
Also shake 3.5 plugins are supposed to be compiled with gcc 3.2.3. So maybe there is an issue with 3.4. Just some ideas.
__________________
-deke
 
Old 05 May 2005   #11
Originally Posted by beaker: The exr plugin won't compile for 2.5, sorry, your SOL.

Upgrade to linux or buy a mac. 2.51 is 4 years old. Isn't it about damn time you move on? 3.5 is so much faster and has a lot of nice features.


four years old? nah, only about two and a half

yes, linux. i've heard about that...
-sunit
 
Old 05 May 2005   #12
install 1.2.1

There's no old versions on openexr.org - only recent 1.2.2 version. Is there another place where I can get 1.2.1?

Also shake 3.5 plugins are supposed to be compiled with gcc 3.2.3. So maybe there is an issue with 3.4. Just some ideas.

I thought about that, but I'm not very good in this thing. Can I somehow compile with 3.2 in system with 3.4?
 
Old 05 May 2005   #13
Originally Posted by sunit: four years old? nah, only about two and a half

yes, linux. i've heard about that...
-sunit
June 2002, sorry, 3 years. Meet me in the middle
__________________
-deke
 
Old 05 May 2005   #14
Originally Posted by Sagroth: There's no old versions on openexr.org - only recent 1.2.2 version. Is there another place where I can get 1.2.1?

http://savannah.nongnu.org/download/openexr/
__________________
-deke
 
Old 08 August 2005   #15
Ideas ?

Originally Posted by beaker: The exr plugin won't compile for 2.5, sorry, your SOL.



Do you know fundamentally why it wont compile ?

Is it an issue that it has to be compiled against the 3.5 SDK which
contains new library functions that are not available in the older version of
the SDK ?

Thanks for any insight
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 03:20 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.