[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Openexr-devel] Problem after compilation with VS .Net2003
From: |
Nick Porcino |
Subject: |
RE: [Openexr-devel] Problem after compilation with VS .Net2003 |
Date: |
Mon, 6 Feb 2006 15:18:41 -0800 |
Great ^^!
-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Monday, February 06, 2006 3:14 PM
To: Nick Porcino
Cc: address@hidden
Subject: RE: [Openexr-devel] Problem after compilation with VS .Net2003
I think I got the problem. After downloading the current OpenEXR version to
my harddrive, I mistake an old version and extracted the old one.
With the latest version, I can compile the exrdisplay and it works like a
charm. The bug seems to be gone in the latest version.
I will try to continue my .dll/.so libraries now. (or convert the main
reader parts to different languages)
Thanks anyway.
MD
> Von: "Nick Porcino" <address@hidden>
> If you turn on exception trapping in Visual Studio's debugger what call
> stack do you get?
>
> Dev-C++ is for mingw based compilation. Your subject line says you are
> using Visual Studio. Using Dev-C++ is probably a red herring, especially
since
> the OpenEXR libraries are linked against visual studio standard libraries,
> not cygwin libraries.
>
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
Of madrag
> gicon
> Sent: Monday, February 06, 2006 2:29 AM
> To: address@hidden
> Subject: [Openexr-devel] Problem after compilation with VS .Net2003
>
>
> Hi
>
> I just tried to compile everything with VS .Net 2003.
> The compilation does not give me any error message, but If I try to
> execute
> exrdisplay or exrheader with any filename as input, I get an "unknown
> exception".
>
> Then I tried a simple DLL with this funtion only:
>
> extern "C" __declspec(dllexport) void readRgba1 (void)
> {
> char fileName[]="E:/temp/test.exr";
> Imf::RgbaInputFile file (fileName);
> Box2i dw = file.dataWindow();
> int width = dw.max.x - dw.min.x + 1;
> int height = dw.max.y - dw.min.y + 1;
> }
>
> The function RgbaInputFile does not return (tested in debug mode) and my
> main program gets an exception.
>
> My intention is to compile a .DLL and a .SO, which gives my other
> applications support to read EXR files (RGBA + width + height required).
> Not all apps are written in C++, that's why I require a .dll and a .so.
>
> Any sugestions?
> Someone recommend me to use Dev-C++ for the windows part, anyone tested
> it?
>
>
> thanks,
> MD
>
> --
> DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
> GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
>
>
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/openexr-devel
>
--
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl