Hi. I am trying to compile OpenExr on Windows 7 64bit (my only system) with VS2008, which converts the vs8 solution for OpenExr and ilmbase. I have them at L:\code\ilmbase-1.0.2 L:\code\openexr-1.7.0 L:\code\zlib-1.2.5
Then I can build ilmbase-1.0.2 out of the box, which creates L:\Deploy\bin L:\Deploy\include L:\Deploy\lib and I place required .libs including zlib for OpenEXR build. But when I build OpenEXR, I encounter: Error 35 fatal error C1083: Cannot open include file: 'ImfRgbaFile.h': No such file or directory l:\code\openexr-1.7.0\IlmImfExamples\drawImage.h 36 Error 31 fatal error C1083: Cannot open include file: 'ImfArray.h': No such file or directory l:\code\openexr-1.7.0\exrenvmap\EnvmapImage.h 44 Error 34 fatal error C1083: Cannot open include file: 'ImfOutputFile.h': No such file or directory l:\code\openexr-1.7.0\IlmImfExamples\generalInterfaceExamples.cpp 46 Error 33 fatal error C1083: Cannot open include file: 'ImfTiledOutputFile.h': No such file or directory l:\code\openexr-1.7.0\IlmImfExamples\generalInterfaceTiledExamples.cpp 46 These I can fix by adding the include directories they are in. But then building again I get many linker errors, which seem to be some template code not defined. So best I ask here as I'm likely doing something wrong setting up. Error 1 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: static void __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> > > > >::registerAttributeType(void)" (?registerAttributeType@?$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@@SAXXZ) ImfHeader.obj Error 3 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) ImfHeader.obj Error 5 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) ImfHeader.obj Error 7 error LNK2019: unresolved external symbol _compress@16 referenced in function "private: int __thiscall Imf::Pxr24Compressor::compress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" (?compress@Pxr24Compressor@Imf@@AAEHPBDHV?$Box@V?$Vec2@H@Imath@@@Imath@@AAPBD@Z) ImfPxr24Compressor.obj Error 9 error LNK2019: unresolved external symbol _uncompress@16 referenced in function "private: int __thiscall Imf::Pxr24Compressor::uncompress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" (?uncompress@Pxr24Compressor@Imf@@AAEHPBDHV?$Box@V?$Vec2@H@Imath@@@Imath@@AAPBD@Z) ImfPxr24Compressor.obj Error 2 error LNK2001: 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) ImfStandardAttributes.obj Error 4 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) ImfStandardAttributes.obj Error 6 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) ImfStandardAttributes.obj Error 8 error LNK2001: unresolved external symbol _compress@16 ImfZipCompressor.obj Error 10 error LNK2001: unresolved external symbol _uncompress@16 ImfZipCompressor.obj The information contained in this e-mail and any accompanying attachments may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message and any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email or any attachments. _______________________________________________ Openexr-devel mailing list Openexr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/openexr-devel