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: Sean Y Chen
Subject: Re: [Openexr-devel] Linker to_Float issue
Date: Fri, 20 Jun 2014 13:20:09 -0400

Hey,

I remember having this problem. I can't quite remember what I did to solve it, but I think I gave up on precompiled or included .sln files and used CMake to generate my own. It's possible that solved my problem.

Sean


On Fri, Jun 20, 2014 at 12:07 PM, Nicholas Yue <address@hidden> wrote:
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

_______________________________________________
Openexr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/openexr-devel



reply via email to

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