[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: tolua & DLL problems
- From: Jeroen Janssen <japj@...>
- Date: Sun, 19 Nov 2000 23:45:12 +0100
> Hello all.
> I'm using tolua to try and wrap a DLL.
> The problem is it keeps giving me link errors along the lines of:
> ScriptedObject.obj : error LNK2001: unresolved external symbol
> the actual header file has it listed as:
> PARTICLEDLL_API void pSink(bool kill_inside, PDomainEnum dtype);
> with PARTICLEDLL_API being:
> #define PARTICLEDLL_API __declspec(dllimport)
are you linking the library/dll that contains pSink?
(this linker error sounds like you're linking the tolua generated code
without linking in the lib/dll with it that contains the pSink