openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Link Error when using "half"


From: Delio Vicini
Subject: Re: [Openexr-devel] Link Error when using "half"
Date: Wed, 25 Feb 2015 22:09:21 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Thanks for the quick reply! That solved my problem and now everything is working (even though I still have to do some work on the loading code :) ).

Cheers,
Delio


Am 25.02.2015 um 15:41 schrieb Gonzalo Garramuno:
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 externals

Cheers,
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.





reply via email to

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