openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Ilmbase 1.0.1 and OpenEXR 1.6.1 under Windows x64


From: Bo Schwarzstein
Subject: Re: [Openexr-devel] Ilmbase 1.0.1 and OpenEXR 1.6.1 under Windows x64
Date: Fri, 3 Jul 2009 11:06:49 +0800

Hello Rodrigo,

The almost proper operation steps are like this,

  1. Make a work directory in one of your disk ( my is F:\Workshop )
  2. Uncompress the ilmbase-1.0.1.tar.gz and openexr-1.6.1.tar.gz under the work directory (just like F:\Workshop\ilmbase-1.0.1\config and others stuff )
  3. Open the Visual Studio solution file according your IDE (my is VC8), change the target to Release (I like RELEASE version)
  4. Launch the Command Prompt in VS
  5. Get into the F:\Workshop\ilmbase-1.0.1\Half, input cl eLut.cpp and cl toFloat.cpp to compile the LUTs
  6. Type eLut > eLut.h and toFloat > toFloat.h to generate the lut files
  7. Compile the Half project in VS, it should be okay.
  8. You will find it create a directory names F:\Deploy, and it copied the lib, include, bin files in each directory.
  9. Go to http://www.zlib.net/, download the DLL version, copy the zdll.lib to the F:\Deploy\lib\Release\
  10. Open the OpenEXR's VC8 project, try to compile, there should be no problem.
Please have a try, I tried for several times and been successful to compile the libraries. I wish OpenEXR could use the CMake in further version.

Thanks.

2009/7/3 Rodrigo Urra <address@hidden>
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 <address@hidden> 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 <address@hidden>
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)" (address@hidden@address@hidden@std@@@std@@address@hidden@@@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)" (address@hidden@address@hidden@std@@@std@@address@hidden@@@Z)    testError.obj
Error    4    error LNK2001: unresolved external symbol "private: static short __cdecl half::convert(int)" (address@hidden@@address@hidden)    testFunction.obj
Error    5    error LNK2001: unresolved external symbol "private: static short __cdecl half::convert(int)" (address@hidden@@address@hidden)    testLimits.obj
Error    7    error LNK2001: unresolved external symbol "private: static short __cdecl half::convert(int)" (address@hidden@@address@hidden)    testBitPatterns.obj
Error    8    error LNK2001: unresolved external symbol "private: static short __cdecl half::convert(int)" (address@hidden@@address@hidden)    testClassification.obj
Error    9    error LNK2001: unresolved external symbol "private: static short __cdecl half::convert(int)" (address@hidden@@address@hidden)    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@@address@hidden@address@hidden@@@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@@address@hidden@address@hidden@@@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)" (address@hidden@address@hidden@std@@@std@@address@hidden@@@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)" (address@hidden@@address@hidden) referenced in function "public: __cdecl half::half(float)" (??0half@@address@hidden@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)" (address@hidden@@address@hidden)    testBitPatterns.obj
Error    10    error LNK2019: unresolved external symbol "void __cdecl printBits(char * const,float)" (?printBits@@address@hidden) referenced in function "void __cdecl `anonymous namespace'::testBits(float,char const * const,char const * const)" (address@hidden@@address@hidden)    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@@address@hidden@address@hidden@@@std@@Vhalf@@@Z) referenced in function "void __cdecl `anonymous namespace'::testBits(float,char const * const,char const * const)" (address@hidden@@address@hidden)    testBitPatterns.obj
Error    15    error LNK2019: unresolved external symbol "void __cdecl printBits(class std::basic_ostream<char,struct std::char_traits<char> > &,float)" (?printBits@@address@hidden@address@hidden@@@std@@address@hidden) referenced in function "void __cdecl `anonymous namespace'::testBits(float,char const * const,char const * const)" (address@hidden@@address@hidden)    testBitPatterns.obj
Error    16    fatal error LNK1120: 6 unresolved externals    x64\Release/HalfTest.exe


_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel





reply via email to

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