openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] OpenEXR_CTL on Windows fails due to missing export


From: Nick
Subject: Re: [Openexr-devel] OpenEXR_CTL on Windows fails due to missing export
Date: Wed, 13 Aug 2014 15:41:18 -0700

The class itself needs to be exported through a macro scheme like that in exr. 

Sent from my iPhone

> On 2014/08/13, at 12:14, "Gonzalo Garramuño" <address@hidden> wrote:
> 
> I am compiling CTL-1.4.1 which works on windows (unlike the git head which 
> chokes on a compiler limitation) and OpenEXR 2.2.
> I run into a problem compiling OpenEXR_CTL 1.0.1.  The compilation works, but 
> the linking shows:
> 
> 1>ImfCtlApplyTransforms.obj : error LNK2019: unresolved external symbol 
> "class IlmThread_2_2::Mutex & __cdecl Ctl::rcPtrMutex(class Ctl::RcObject *)" 
> (address@hidden@@address@hidden@@address@hidden@@Z) referenced in function 
> "private: void __cdecl Ctl::RcPtr<class Ctl::FunctionArg>::ref(void)" 
> (address@hidden@address@hidden@@@Ctl@@AEAAXXZ)
> 
> 1>ImfCtlCopyFunctionArg.obj : error LNK2001: unresolved external symbol 
> "class IlmThread_2_2::Mutex & __cdecl Ctl::rcPtrMutex(class Ctl::RcObject *)" 
> (address@hidden@@address@hidden@@address@hidden@@Z)
> 
> I checked the CtlRcPtr.h/cpp files and the function is defined, but never 
> exported.
> Any ideas on how to make this work?
> 
> 
> _______________________________________________
> 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]