ilmbase half.lib unresolved external symbol when compiling alembic 1.5.8 on VS2012

Han Jiang <[email protected]> Tue, 25 Aug 2015 18:33:53 +0800
Newsgroups gmane.comp.video.openexr.devel
Message-ID <CAPiRsUUv7-GBwHejm1a46BYrK1_1b-kEN6cmcQwL5G8=3bHxjg@mail.gmail.com>
Hi all, I was trying to compile alembic 1.5.8 on windows 8.1 with VS2012,
but I have these 3 errors and don't know how to fix. thanks !

all dependencies compiled with /MT

1.  if I add half.cpp into project with this error, it goes away, but what
is the correct way to fix this ?

16>ArrayPropertyTests.obj : error LNK2019: unresolved external symbol
"private: static union half::uif const * const half::_toFloat"
(?_toFloat@half@@0QBTuif@1@B) referenced in function "public: __cdecl
half::operator float(void)const " (??Bhalf@@QEBAMXZ)
16>AlembicAbcCoreOgawa.lib(ReadUtil.obj) : error LNK2001: unresolved
external symbol "private: static union half::uif const * const
half::_toFloat" (?_toFloat@half@@0QBTuif@1@B)
16>ArrayPropertyTests.obj : error LNK2019: unresolved external symbol
"private: static unsigned short const * const half::_eLut" (?_eLut@half@@0QBGB)
referenced in function "public: __cdecl half::half(float)" (??0half@@QEAA@M
@Z)
16>AlembicAbcCoreOgawa.lib(ReadUtil.obj) : error LNK2001: unresolved
external symbol "private: static unsigned short const * const half::_eLut"
(?_eLut@half@@0QBGB)
16>D:\source\test\alembic_build\lib\Alembic\AbcCoreOgawa\Tests\Release\AbcCoreOgawa_ArrayPropertyTests.exe
: fatal error LNK1120: 2 unresolved externals


2. I was using precompiled binary from http://boost.teeks99.com/

>C:\local\boost_1_55_0\boost/config/auto_link.hpp(365): fatal error C1004:
unexpected end-of-file found


3. thousands lines of warning C4275

d:\xxx\include\openexr\IexBaseExc.h(143): warning C4275: non dll-interface
class 'Iex_2_2::BaseExc' used as base for dll-interface class
'Iex_2_2::ArgExc'
can I ignore this ?

Thanks !

_______________________________________________
Openexr-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/openexr-devel