Hey all,

I am trying to compile the exrWriter.cpp file on Windows 7 32 bit using Microsoft Visual Studio 2005 and receiving some errors. I'm using the Ilmbase 1.0.2 and OpenEXR 1.7.0 source codes, and Nuke 6.0v5x32. . The exrWriter.cpp file is from the example files in Nuke v6.0v5.

For my linker dependencies I have these files:
DDImage.lib, Half.lib, Iex.lib, IlmImf.lib, IlmThread.lib, Imath.lib, zlib.lib, zdll.lib

When I compile the exrWriter.cpp I receive linker errors. The linker error I receive is below. Any ideas?

1>Linking...
1>exrWriter.obj : error LNK2019: unresolved external symbol "public: class Imf::Header::Iterator __thiscall Imf::Header::find(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const&)" (?find@Header@Imf@@QAE?AVIterator@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: void __thiscall exrWriter::metadataToExrHeader(class MetaData::Bundle const&,class Imf::Header&)" (?metadataToExrHeader@exrWriter@@QAEXABVBundle@MetaData@@AAVHeader@Imf@@@Z) 1>exrWriter.obj : error LNK2019: unresolved external symbol "public: void __thiscall Imf::Header::insert(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const&,class Imf::Attribute const&)" (?insert@Header@Imf@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABVAttribute@2@@Z) referenced in function "public: void __thiscall exrWriter::metadataToExrHeader(class MetaData::Bundle const&,class Imf::Header&)" (?metadataToExrHeader@exrWriter@@QAEXABVBundle@MetaData@@AAVHeader@Imf@@@Z) 1>exrWriter.obj : error LNK2019: unresolved external symbol "public: __thiscall Imf::Channel::Channel(enum Imf::PixelType,int,int)" (??0Channel@Imf@@QAE@W4PixelType@1@HH@Z) referenced in function "public: virtual void __thiscall exrWriter::execute(void)" (?execute@exrWriter@@UAEXXZ) 1>exrWriter.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned short *_eLut" (__imp_?_eLut@@3PAGA) 1>exrWriter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Imf::TypedAttribute<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > >::writeValueTo(class Imf::OStream&,int)const " (?writeValueTo@?$TypedAttribute@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Imf@@UBEXAAVOStream@2@H@Z) 1>exrWriter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Imf::TypedAttribute<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > >::readValueFrom(class Imf::IStream&,int,int)" (?readValueFrom@?$TypedAttribute@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Imf@@UAEXAAVIStream@2@HH@Z) 1>exrWriter.obj : error LNK2019: unresolved external symbol "public: static char const * __cdecl Imf::TypedAttribute<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > >::staticTypeName(void)" (?staticTypeName@?$TypedAttribute@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Imf@@SAPBDXZ) referenced in function "public: virtual char const * __thiscall Imf::TypedAttribute<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > >::typeName(void)const "
 
(?typeName@?$TypedAttribute@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Imf@@UBEPBDXZ)

_______________________________________________
Nuke-dev mailing list
Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to