Chris | 2 Sep 00:28
Picon

Visual Studio Tip

This is just a tip I wanted to share for Visual Studio 8 that allows you to see half values in the debugger.

Disclaimer: This uses undocumented features of Visual Studio and as such it is possibly dangerous. I have not had trouble with it, but who knows.

In the file, "Microsoft Visual Studio 8\Common7\Packages\Debugger\autoexp.dat", in the section [Visualizer], somewhere after the line "; DO NOT MODIFY", add the code:

half{
    preview([$c._toFloat[$c._h].f, f])
}

For the reference I used for this (and an understanding of what that code does), see http://www.virtualdub.org/blog/pivot/entry.php?id=120

-Chris

_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
Douglass Turner | 4 Sep 16:54
Picon

Just Need File I/O. How to Build Under Eclipse.

Hello,

Could someone please tell me the steps to build the OpenEXR libraries under eclipse. I have an existing rendering app I want to link it into. All I will be doing is reading/writing channels, creating new channels (z-depth, normals, etc)/

Thanks in advance.

Cheers,
Doug Turner
mobile: 781 775 3708
skype: dduuggllaa

_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
Douglass Turner | 5 Sep 13:29
Picon

Can't Build Under Cygwin

Help! Could someone please pass along command line args to confgure to build the libraries under Cygwin. When I build and install I gett all sorts of unresolved references when I link the libraries into my applications.

Thanks,
Doug Turner
mobile: 781 775 3708
skype: dduuggllaa

_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
Drew Hess | 5 Sep 19:26

Re: Can't Build Under Cygwin

"Douglass Turner" <douglass.turner <at> gmail.com> writes:

> Help! Could someone please pass along command line args to confgure to build
> the libraries under Cygwin. When I build and install I gett all sorts of
> unresolved references when I link the libraries into my applications.

Hi Douglass,

I've never tried to build OpenEXR under Cygwin as we don't officially
support that platform, but I think a few others on this list have done
so recently, so hopefully they will respond with some tips.

d
Nick Porcino | 5 Sep 21:51

RE: Visual Studio Tip

Awesome, thanks!

 

-----Original Message-----
From: openexr-devel-bounces+nporcino=lucasarts.com <at> nongnu.org [mailto:openexr-devel-bounces+nporcino=lucasarts.com <at> nongnu.org] On Behalf Of Chris
Sent: Friday, September 01, 2006 3:28 PM
To: openexr-devel <at> nongnu.org
Subject: [Openexr-devel] Visual Studio Tip

 

This is just a tip I wanted to share for Visual Studio 8 that allows you to see half values in the debugger.

Disclaimer: This uses undocumented features of Visual Studio and as such it is possibly dangerous. I have not had trouble with it, but who knows.

In the file, "Microsoft Visual Studio 8\Common7\Packages\Debugger\autoexp.dat", in the section [Visualizer], somewhere after the line "; DO NOT MODIFY", add the code:

half{
    preview([$c._toFloat[$c._h].f, f])
}

For the reference I used for this (and an understanding of what that code does), see http://www.virtualdub.org/blog/pivot/entry.php?id=120

-Chris

_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
Pavel Ledin | 11 Sep 12:54
Picon
Favicon

OpenEXR 1.4.0 for win64

Hello openexr-devel,

Does anyone have compiled binary of OpenEXR 1.4.0 for win64? (MSVC8)

--

-- 
Best regards,
 Pavel Ledin aka Puppet                          mailto:puppet <at> rambler.ru
 Moscow, Russia
Michael Wolf | 11 Sep 22:16

Re: OpenEXR 1.4.0 for win64

On Mon, 11 Sep 2006 12:54:38 +0200, Pavel Ledin <puppet <at> rambler.ru> wrote:

> Hello openexr-devel,
>
> Does anyone have compiled binary of OpenEXR 1.4.0 for win64? (MSVC8)

Well, I compile it using MSVC 2005.. .however, I only use the static link libraries, not the DLLs.

Cheers,
Mike

--

-- 
db&w GbR
Seyffer Str. 34
70197 Stuttgart

http://www.db-w.com
http://www.infinimap.com
J A | 12 Sep 03:46
Picon

building C API app


Hi,

Sorry, newbe alert here!

I've started to look at implementing an EXR writer into an existing C application. I understand that I need to include:
#include <ImfCRgbaFile.h>
to get the functions wrapped for C.

When compiling, should I link to any specific library to ge it to work?
IlmImf is a C++ library as far as I under stand it. Is there one for the C API?

I get these errors:
undefined reference to `ImfHeaderSetDisplayWindow'
undefined reference to `ImfHeaderSetDataWindow'
undefined reference to `ImfHeaderSetScreenWindowWidth'
etc...

Thanks
J
_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel
John Cupitt | 12 Sep 12:18
Picon
Gravatar

Re: building C API app

On 9/12/06, J A <listalias <at> gmail.com> wrote:
> I've started to look at implementing an EXR writer into an existing C
> application. I understand that I need to include:
> #include <ImfCRgbaFile.h>
> to get the functions wrapped for C.
>
> When compiling, should I link to any specific library to ge it to work?
> IlmImf is a C++ library as far as I under stand it. Is there one for the C
> API?

You can use pkg-config to get a list of the compiler flags and
libraries you need when linking against openexr. On my system (mac os
x, openexr 1.4.0 installed though darwinports) it returns:

  pineapple:~/CVS/vips-7.11 john$ pkg-config OpenEXR --cflags
  -D_THREAD_SAFE -I/opt/local/include/OpenEXR
  pineapple:~/CVS/vips-7.11 john$ pkg-config OpenEXR --libs
  -L/opt/local/lib -lIlmImf -lImath -lHalf -lIex -lz

Your system will probably be different, of course. If you're using
autotools you can integrate this stuff automatically with
PKG_CHECK_MODULES.

John
J A | 13 Sep 05:33
Picon

Re: building C API app


Cheers John!

This was most helpful. I managed to compile the code after including the right libraries suggested by pkg-config and picking another gcc version (4.0.3).

Thanks!
j


On 12/09/06, John Cupitt <jcupitt <at> gmail.com> wrote:


You can use pkg-config to get a list of the compiler flags and
libraries you need when linking against openexr. On my system (mac os
x, openexr 1.4.0 installed though darwinports) it returns:

  pineapple:~/CVS/vips- 7.11 john$ pkg-config OpenEXR --cflags
  -D_THREAD_SAFE -I/opt/local/include/OpenEXR
  pineapple:~/CVS/vips-7.11 john$ pkg-config OpenEXR --libs
  -L/opt/local/lib -lIlmImf -lImath -lHalf -lIex -lz

Your system will probably be different, of course. If you're using
autotools you can integrate this stuff automatically with
PKG_CHECK_MODULES.

John

_______________________________________________
Openexr-devel mailing list
Openexr-devel <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/openexr-devel

Gmane