Map2dif and dStrstr
by Kevin Johnson · in Torque Game Engine Advanced · 06/09/2005 (7:00 pm) · 2 replies
After atlas was merged into our build I can't build map2dif anymore..
here's what i got ( i know its prolly something imissed)
i get this on link:
in tselib however i do have:
I did a clean rebuild , so what did i miss?
for some reason it dont like this.. and both are const*:
here's what i got ( i know its prolly something imissed)
i get this on link:
LNK2019: unresolved external symbol "char const * __cdecl dStrstr(char const *,char const *)"
in tselib however i do have:
//platform.h
extern char* dStrstr(char *str1, char *str2);
extern const char* dStrstr(const char *str1, const char *str2);
//winstrings.cpp
const char* dStrstr(const char *str1, const char *str2)
{
return strstr(str1,str2);
}
char* dStrstr(char *str1, char *str2)
{
return strstr(str1,str2);
}I did a clean rebuild , so what did i miss?
for some reason it dont like this.. and both are const*:
//createLightmaps.cpp
if( !dStrstr( plane.pTextureName, "EMITTER" ) )
#2
06/10/2005 (3:40 am)
I was wondering considering how many times I have compiled map2dif_tse recently =P
Torque Owner Kevin Johnson
i musta lied about the clean build thingy..