Game Development Community

Note on current HEAD

by Diesel · in Torque Game Engine · 10/24/2005 (2:12 am) · 6 replies

Hi,

current HEAD won't build because of (UTF* Functions commented out and some not defined).

Thomas

#1
10/24/2005 (2:48 am)
Have you done a full update? Changes occured around those functions, but the last code checked into CVS compiled properly. Can you post the errors?
#2
10/24/2005 (6:17 am)
Linker says:
/usr/bin/ld: Undefined symbols:
convertUTF16toUTF8(unsigned short const*, char*, unsigned int)
convertUTF8toUTF16(char const*, unsigned short*, unsigned int)
dStrlen(unsigned short const*)
oneUTF8toUTF32(char const*, unsigned int*)
oneUTF32toUTF16(unsigned int)

in macCarbStrings.cc:441:
//------------------------------------------------------------------------------
// Unicode string conversions
//------------------------------------------------------------------------------
/*UTF8 * convertUTF16toUTF8(const UTF16 *string, UTF8 *buffer, U32 bufsize)

Looks like these functions have been commented out in this commit:

2.5; 2005/10/21 08:57:10; author: sado; state: Exp; lines: +8 -8
- More fixes over from SVN, yay! Codedrop 1079.
#3
10/24/2005 (7:11 am)
They moved to unicode.cc/.h in core ... you probably just dont have an uptodate project.
#4
10/24/2005 (7:59 am)
Looks like the XCode project file is not up to date in CVS. I will try to add unicode.cc manually.

EDIT:
works now. Thanks for the tip.
#5
10/26/2005 (11:09 am)
How does one find/browse such CVS comments as:

Quote:
2.5; 2005/10/21 08:57:10; author: sado; state: Exp; lines: +8 -8
- More fixes over from SVN, yay! Codedrop 1079.

tone
#6
10/28/2005 (8:15 pm)
Hmm... CVS doesn't allow searching of its logs. You could always dump the logs of a set of files (or dirs) you're interested in then searching that...