[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 10:06:10 -0800 |
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