openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openexr-devel] Problem Using ImfTestFile


From: Kevin Erickson
Subject: [Openexr-devel] Problem Using ImfTestFile
Date: Fri, 27 Aug 2004 16:17:15 -0700

Hello,
 
I am having some difficulty using openEXR and ImfTestFile.  I am compiling on Visual Studio .Net 2003.  I have pointed my project to use the openEXR libraries, my project only contains one .cpp file that has my main() function.  The file "Garden.exr" resides in the same directory as the project.  The problem is that I am getting a linker error:
 
ExrTest.cpp error LNK2001: unresolved external symbol "bool __cdecl Imf::isOpenExrFile(char const * const)" (address@hidden@@address@hidden)
 
Below is the full .cpp file:
 
#include <ImfTestFile.h>
#include <iostream>
 
using namespace std;
using namespace Imf;
 

int main()
{
 const char fileName[]"Garden.exr";
 cout << fileName << endl << endl;

 Imf::isOpenExrFile(fileName);                // Error seems to be linked to this line
 
 return 0;
}

I had to revert to this test as I as getting too many errors when trying to read a file, this is the first time that I have tried to use OpenEXR and I appreciate your help and patience.
 
I have also looked at the IlmImfExamples and they have helped, but when trying to implement myself I get more errors and linking problems.
 
Thank you,
 
Kevin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]