openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] [Half] Unresolved external when using Half.lib on window


From: Alexandre Gauthier
Subject: [Openexr-devel] [Half] Unresolved external when using Half.lib on windows
Date: Sun, 14 Apr 2013 19:35:19 +0200

Hello,
I recently compiled all the Ilmbase + OpenEXR for win32.
I compiled it using visual studio 2010, and I had to tweak the solution files a little bit to make it work (there were some files missing in the solution).
Anyway, now I'm trying to use it in my application and here is the unresolved external I get :

error LNK2001: unresolved external symbol "private: static union half::uif const * const half::_toFloat" (address@hidden@@address@hidden@B)


Any clue where it can come from?

When looking at the sources in half.cpp I see :

HALF_EXPORT_CONST half::uif half::_toFloat[1 << 16] =
#include "toFloat.h"

is a statement like this normal? I've never seen such assignment before, although I think it comes from somewhere else.

Regards,

Alexandre

reply via email to

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