Sorry, I did not notice these information, and I have another problem In *createDLL *it write MACHINE:X86, when I modified it to *X64*, the createDLL seems can't work properly, just only can compile the Half to X64.
- 1>CreateDLL found 251 symbols - 1>Exporting DLL - 1> Creating library ..\Release\Iex.lib and object ..\Release\Iex.exp - 1>Iex.exp : error LNK2001: unresolved external symbol cta7?averrno...@iex@@ - 1>Iex.exp : error LNK2001: unresolved external symbol cta8?ave2big...@iex@@ - 1>Iex.exp : error LNK2001: unresolved external symbol cta8?aveacces...@iex@@ - 1>Iex.exp : error LNK2001: unresolved external symbol cta8?aveagain...@iex@@ So, how should we change the createDLL to destory this kind of error ? 2009/7/3 Rodrigo Urra <[email protected]> > Hi Bo, and thanks for the reply. > > Could you elaborate a little further please? I'm not 100% familiar with > Visual Studio's project build settings / macros. > > Thanks again, > - Rodrigo > > On Tue, Jun 30, 2009 at 11:48 PM, Bo Schwarzstein < > [email protected]> wrote: > >> Hi, >> >> In fact, it's still very painful to compile OpenEXR under Visual Studio. >> According your error information, it seems that the half in ILMBase did not >> export the entry correctly, you could manual setup the macros in order to >> generate the proper library files. >> >> Thanks. >> >> 2009/7/1 Rodrigo Urra <[email protected]> >> >>> Hello, >>> >>> The demand for building programs under 64-bit configuration is growing, >>> which is what brings me here :) >>> >>> I'm having issues compiling Ilmbase 1.0.1 and OpenEXR 1.6.1 under Visual >>> Studio 2008, using a x64 platform configuration, and was hoping to get some >>> help. If for instance, one takes the original distribution, adds an x64 >>> configuration and tries to Build Ilmbase, the linker errors are numerous. >>> See below. >>> >>> Could someone please explain how to successfully build, or at least point >>> to OpenEXR 1.6.1 pre-built x64 libs and dlls? >>> >>> Thank you! >>> >>> Error 2 error LNK2001: unresolved external symbol "class >>> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl >>> operator<<(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,class half)" (?...@yaaeav?$basic_ostream@du?$char_tra...@d@std@@@std@ >>> @aea...@vhalf@@@Z) testClassification.obj >>> Error 3 error LNK2001: unresolved external symbol "class >>> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl >>> operator<<(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,class half)" (?...@yaaeav?$basic_ostream@du?$char_tra...@d@std@@@std@ >>> @aea...@vhalf@@@Z) testError.obj >>> Error 4 error LNK2001: unresolved external symbol "private: static >>> short __cdecl half::convert(int)" (?conv...@half@@c...@z) >>> testFunction.obj >>> Error 5 error LNK2001: unresolved external symbol "private: static >>> short __cdecl half::convert(int)" (?conv...@half@@c...@z) >>> testLimits.obj >>> Error 7 error LNK2001: unresolved external symbol "private: static >>> short __cdecl half::convert(int)" (?conv...@half@@c...@z) >>> testBitPatterns.obj >>> Error 8 error LNK2001: unresolved external symbol "private: static >>> short __cdecl half::convert(int)" (?conv...@half@@c...@z) >>> testClassification.obj >>> Error 9 error LNK2001: unresolved external symbol "private: static >>> short __cdecl half::convert(int)" (?conv...@half@@c...@z) >>> testError.obj >>> Error 13 error LNK2001: unresolved external symbol "void __cdecl >>> printBits(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,class half)" (?printBits@@yaxaeav?$basic_ostr...@du?$char_traits@D >>> @std@@@std@@Vhalf@@@Z) testClassification.obj >>> Error 14 error LNK2001: unresolved external symbol "void __cdecl >>> printBits(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,class half)" (?printBits@@yaxaeav?$basic_ostr...@du?$char_traits@D >>> @std@@@std@@Vhalf@@@Z) testError.obj >>> Error 1 error LNK2019: unresolved external symbol "class >>> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl >>> operator<<(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,class half)" (?...@yaaeav?$basic_ostream@du?$char_tra...@d@std@@@std@ >>> @aea...@vhalf@@@Z) referenced in function "void __cdecl >>> testArithmetic(void)" (?testArithmetic@@YAXXZ) testArithmetic.obj >>> Error 6 error LNK2019: unresolved external symbol "private: static >>> short __cdecl half::convert(int)" (?conv...@half@@c...@z) referenced in >>> function "public: __cdecl half::half(float)" (??0half@@q...@m@Z) >>> testArithmetic.obj >>> Error 11 error LNK2019: unresolved external symbol "void __cdecl >>> printBits(char * const,class half)" (?printBits@@YAXQEADVhalf@@@Z) >>> referenced in function "void __cdecl `anonymous >>> namespace'::testBits(float,char const * const,char const * const)" >>> (?testb...@?a0x5c734a8f@@yaxmqe...@z) testBitPatterns.obj >>> Error 10 error LNK2019: unresolved external symbol "void __cdecl >>> printBits(char * const,float)" (?printBits@@yaxqe...@z) referenced in >>> function "void __cdecl `anonymous namespace'::testBits(float,char const * >>> const,char const * const)" (?testb...@?a0x5c734a8f@@yaxmqe...@z) >>> testBitPatterns.obj >>> Error 12 error LNK2019: unresolved external symbol "void __cdecl >>> printBits(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,class half)" (?printBits@@yaxaeav?$basic_ostr...@du?$char_traits@D >>> @std@@@std@@Vhalf@@@Z) referenced in function "void __cdecl `anonymous >>> namespace'::testBits(float,char const * const,char const * const)" >>> (?testb...@?a0x5c734a8f@@yaxmqe...@z) testBitPatterns.obj >>> Error 15 error LNK2019: unresolved external symbol "void __cdecl >>> printBits(class std::basic_ostream<char,struct std::char_traits<char> > >>> &,float)" (?printBits@@yaxaeav?$basic_ostr...@du?$char_traits@d...@std@ >>> @@std@@m...@z) referenced in function "void __cdecl `anonymous >>> namespace'::testBits(float,char const * const,char const * const)" >>> (?testb...@?a0x5c734a8f@@yaxmqe...@z) testBitPatterns.obj >>> Error 16 fatal error LNK1120: 6 unresolved externals >>> x64\Release/HalfTest.exe >>> >>> >>> _______________________________________________ >>> Openexr-devel mailing list >>> [email protected] >>> http://lists.nongnu.org/mailman/listinfo/openexr-devel >>> >>> >> >
_______________________________________________ Openexr-user mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/openexr-user
