|
From: | Gonzalo Garramuno |
Subject: | Re: [Openexr-devel] Link Error when using "half" |
Date: | Wed, 25 Feb 2015 11:41:47 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 25/02/15 07:10, Delio Vicini wrote:
Hi, The exact linker error message is:1>main.obj : error LNK2001: unresolved external symbol "private: static union half::uif const * const half::_toFloat" (address@hidden@@address@hidden@B) 1>..\..\bin\Release\x64\OpenEXRExample.exe : fatal error LNK1120: 1 unresolved externalsCheers, Delio
You need to add a define when compiling to a DLL. Set: -D OPENEXR_DLL in your defines when you compile with CL.exe.
[Prev in Thread] | Current Thread | [Next in Thread] |