[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] RE: OpenEXR and VC7.1
From: |
Dennis Crowley |
Subject: |
[Openexr-devel] RE: OpenEXR and VC7.1 |
Date: |
Thu, 4 Dec 2003 14:14:50 -0800 |
No Problem... except that I now believe that I was wrong. :-)
Please also note that I am starting from the 1.0.6 Distribution,
and not from the repository, so please excuse the extra noise if
this has already been addressed...
---
RE: Section B) Fix Dependencies ... DON'T do this!!
Instead, the following files need to be added to the IlmImfDll project:
ImfConvert.h
ImfConvert.cpp
ImfPreviewImage.h
ImfPreviewImage.cpp
ImfPreviewImageAttribute.h
ImfPreviewImageAttribute.cpp
This gets the DLL to build and link properly as far as I can tell.
Unfortunatly, I have not been able to get the exrdisplay to link using
IlmImfDll as a dependency instead of IlmImf (static).
Dennis
-----Original Message-----
From: Nick Porcino
Sent: Thursday, December 04, 2003 1:48 PM
To: address@hidden
Cc: Dennis Crowley
Subject: OpenEXR and VC7.1
>Hi,
>Dennis has been working with VC7.1 and OpenEXR, and I thought I would pass his
>notes on.
>
>Thanks, Dennis
>------------------------------------------------------------------
>
>IlmImfDll project did not link in Visual Studio 7.1 as recieved.
>
>I needed to do the following:
>
>A) Looking for zlib_static.lib and zlibd_static.lib.
>
> Everything else which links to zlib does not require "_static" in the
> name.
>
> Either remove "_static" from zlib names in Linker -> input ->
> Additional dependencies,
> or require that user must have multiple identical copies of zlib libs
> with different names.
>
>
>B) Fix dependencies
>
> Add IlmImf project as a dependency to project IlmImfDll ( via
> Project->Project Dependencies... )
>
>C) Link to different run-time library
>
> In Properties for IlmImfDll:
> In Release:
> Change C/C++ -> CodeGeneration -> Runtime Library
> from <Multi-threaded> to <Multi-threaded DLL>
>
> In Debug:
> Change C/C++ -> CodeGeneration -> Runtime Library
> from <Multi-threaded Debug> to <Multi-threaded
> Debug DLL>
>
>
>It now builds and links. However, I haven't tested it.
- [Openexr-devel] RE: OpenEXR and VC7.1,
Dennis Crowley <=