openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Linker to_Float issue


From: Nicholas Yue
Subject: Re: [Openexr-devel] Linker to_Float issue
Date: Fri, 20 Jun 2014 09:07:19 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 20/06/14 6:54 AM, Jerome Tulip wrote:
I want to use OpenEXR in my application, however after building all the needed libraries (and even trying with pre-compiled downloaded from the internet).

Everything goes fine, but when I compile a project that use OpenEXR I get
unresolved external symbol "__declspec(dllimport) union half::uif * _toFloat" (__imp_?_toFloat@@address@hidden@@A)  
I've googled the issue and added as well the OPENEXR_DLL directive, the Half.lib is in the additional dependencies list of the project.
Hi Jerome,

    I don't have a Windows machine to verify but looking at the half.h file, I guess you will need to define HALF_EXPORTS to get the symbols exported.

Cheers

-- 
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools

reply via email to

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