About Store Forum Documentation Contact



Post Reply 
LNK2019 Engine Errors
Author Message
Driklyn Offline
Member

Post: #1
LNK2019 Engine Errors
Just happened to stumble across this:

In Math/Vector.h, the following headers are defined, but produce LNK2019 errors when used:

Code:
VecB4 Min(  VecB4  a,   VecB4  b, VecB4 c);
VecB4 Min(  VecB4  a,   VecB4  b, VecB4 c, VecB4 d);

Here's a little demo, note that the equivalent Max functions work:

Code:
VecB4 a(0, 0, 0, 0),
      b(1, 1, 1, 1),
      c(2, 2, 2, 2),
      d(3, 3, 3, 3);

LogN(S + Min(a, b));
LogN(S + Max(a, b));

LogN(S + Min(a, b, c)); // LNK2019
LogN(S + Max(a, b, c));

LogN(S + Min(a, b, c, d)); // LNK2019
LogN(S + Max(a, b, c, d));
(This post was last modified: 12-28-2011 12:50 AM by Driklyn.)
12-04-2011 09:13 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: VecB4 Min(a, b, c) & Min(a, b, c, d) LNK2019 Error
thank you! smile fixed for next release
12-04-2011 09:33 PM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #3
RE: LNK2019 Engine Errors
Hi, thanks for fixing the linker errors the last time; however, I found two more.

From Misc/String Functions.h:

Code:
Str TextChar(Char  c);
Str TextChar(Char8 c);
12-28-2011 12:53 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: LNK2019 Engine Errors
Thanks! these will actually be removed from the header in next SDK
12-28-2011 12:56 AM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #5
RE: LNK2019 Engine Errors
K, that's fine.. Just letting you know! pfft
12-28-2011 01:02 AM
Find all posts by this user Quote this message in a reply
Post Reply