Bo Schwarzstein
2009-07-03 03:06:49 UTC
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.
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.
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 <
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 <
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.
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.
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> >
@***@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> >
@***@Vhalf@@@Z) testError.obj
Error 4 error LNK2001: unresolved external symbol "private: static
testFunction.obj
Error 5 error LNK2001: unresolved external symbol "private: static
testLimits.obj
Error 7 error LNK2001: unresolved external symbol "private: static
testBitPatterns.obj
Error 8 error LNK2001: unresolved external symbol "private: static
testClassification.obj
Error 9 error LNK2001: unresolved external symbol "private: static
testError.obj
Error 13 error LNK2001: unresolved external symbol "void __cdecl
printBits(class std::basic_ostream<char,struct std::char_traits<char> >
@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> >
@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> >
@***@Vhalf@@@Z) referenced in function "void __cdecl
Error 6 error LNK2019: unresolved external symbol "private: static
testArithmetic.obj
Error 11 error LNK2019: unresolved external symbol "void __cdecl
referenced in function "void __cdecl `anonymous
namespace'::testBits(float,char const * const,char const * const)"
Error 10 error LNK2019: unresolved external symbol "void __cdecl
function "void __cdecl `anonymous namespace'::testBits(float,char const *
testBitPatterns.obj
Error 12 error LNK2019: unresolved external symbol "void __cdecl
printBits(class std::basic_ostream<char,struct std::char_traits<char> >
@std@@@std@@Vhalf@@@Z) referenced in function "void __cdecl `anonymous
namespace'::testBits(float,char const * const,char const * const)"
Error 15 error LNK2019: unresolved external symbol "void __cdecl
printBits(class std::basic_ostream<char,struct std::char_traits<char> >
@@std@@***@Z) referenced in function "void __cdecl `anonymous
namespace'::testBits(float,char const * const,char const * const)"
Error 16 fatal error LNK1120: 6 unresolved externals
x64\Release/HalfTest.exe
_______________________________________________
Openexr-devel mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-devel
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> >
@***@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> >
@***@Vhalf@@@Z) testError.obj
Error 4 error LNK2001: unresolved external symbol "private: static
testFunction.obj
Error 5 error LNK2001: unresolved external symbol "private: static
testLimits.obj
Error 7 error LNK2001: unresolved external symbol "private: static
testBitPatterns.obj
Error 8 error LNK2001: unresolved external symbol "private: static
testClassification.obj
Error 9 error LNK2001: unresolved external symbol "private: static
testError.obj
Error 13 error LNK2001: unresolved external symbol "void __cdecl
printBits(class std::basic_ostream<char,struct std::char_traits<char> >
@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> >
@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> >
@***@Vhalf@@@Z) referenced in function "void __cdecl
Error 6 error LNK2019: unresolved external symbol "private: static
testArithmetic.obj
Error 11 error LNK2019: unresolved external symbol "void __cdecl
referenced in function "void __cdecl `anonymous
namespace'::testBits(float,char const * const,char const * const)"
Error 10 error LNK2019: unresolved external symbol "void __cdecl
function "void __cdecl `anonymous namespace'::testBits(float,char const *
testBitPatterns.obj
Error 12 error LNK2019: unresolved external symbol "void __cdecl
printBits(class std::basic_ostream<char,struct std::char_traits<char> >
@std@@@std@@Vhalf@@@Z) referenced in function "void __cdecl `anonymous
namespace'::testBits(float,char const * const,char const * const)"
Error 15 error LNK2019: unresolved external symbol "void __cdecl
printBits(class std::basic_ostream<char,struct std::char_traits<char> >
@@std@@***@Z) referenced in function "void __cdecl `anonymous
namespace'::testBits(float,char const * const,char const * const)"
Error 16 fatal error LNK1120: 6 unresolved externals
x64\Release/HalfTest.exe
_______________________________________________
Openexr-devel mailing list
http://lists.nongnu.org/mailman/listinfo/openexr-devel