|
From: | Sean Y Chen |
Subject: | Re: [Openexr-devel] Linker to_Float issue |
Date: | Fri, 20 Jun 2014 13:20:09 -0400 |
Hi Jerome,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 getunresolved 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.
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
[Prev in Thread] | Current Thread | [Next in Thread] |