Errors compiling SDL 1.2.5 on MacOS9 with CodeWarrior 7.0

Hi,

I downloaded SDL 1.2.5 and tried to build the MacOS projects using
CodeWarrior 7 on OS 9.

The SDL release target in the SDL.mcp project and the tests in the
SDLtest.mcp project failt to build with these errors.

Link Error : undefined ‘DisposeTextToUnicodeInfo’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘ConvertFromTextToUnicode’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘CreateTextToUnicodeInfoByEncoding’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘UpgradeScriptInfoToTextEncoding’ (code)
Referenced from ‘__msl_get_system_encoding’ in MSL_All_PPC.Lib

Any suggestions ?

I don’t have Pro 7, but it appears that you have to link to the Text
Encoding Conversion Manager
(http://developer.apple.com/techpubs/macos8/TextIntlSvcs/
TextEncodingConversionManager/TEC1.5/TEC.81.html). Add this stub lib to
your project:

MacOS
Support/Universal/Libraries/StubLibraries/TextEncodingConverter

HTH,
DarrellOn Saturday, October 12, 2002, at 03:08 AM, Allen W. Ingling wrote:

Hi,

I downloaded SDL 1.2.5 and tried to build the MacOS projects using
CodeWarrior 7 on OS 9.

The SDL release target in the SDL.mcp project and the tests in the
SDLtest.mcp project failt to build with these errors.

Link Error : undefined ‘DisposeTextToUnicodeInfo’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘ConvertFromTextToUnicode’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘CreateTextToUnicodeInfoByEncoding’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘UpgradeScriptInfoToTextEncoding’ (code)
Referenced from ‘__msl_get_system_encoding’ in MSL_All_PPC.Lib

Any suggestions ?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Figuring the problem had to do with restructuring of libraries
distributed with CW versions 6 and 7, I used the CW project wizard to
create a new blank C++ project and then looked at what libraries the
wizard had included in the project that were not in the SDL project.

Those libs were “TextCommon”, “UnicodeCoverter” and “UTCUtils”. Adding
all of those to the SDL project is sufficient to get it to build, I
don’t know that they are all necessary.

Best,

Allen

Darrell Walisser wrote:>

I don’t have Pro 7, but it appears that you have to link to the Text
Encoding Conversion Manager
(http://developer.apple.com/techpubs/macos8/TextIntlSvcs/
TextEncodingConversionManager/TEC1.5/TEC.81.html). Add this stub lib
to your project:

MacOS
Support/Universal/Libraries/StubLibraries/TextEncodingConverter

HTH,
Darrell

On Saturday, October 12, 2002, at 03:08 AM, Allen W. Ingling wrote:

Hi,

I downloaded SDL 1.2.5 and tried to build the MacOS projects using
CodeWarrior 7 on OS 9.

The SDL release target in the SDL.mcp project and the tests in the
SDLtest.mcp project failt to build with these errors.

Link Error : undefined ‘DisposeTextToUnicodeInfo’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘ConvertFromTextToUnicode’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘CreateTextToUnicodeInfoByEncoding’ (code)
Referenced from ‘__msl_text2unicode’ in MSL_All_PPC.Lib

Link Error : undefined ‘UpgradeScriptInfoToTextEncoding’ (code)
Referenced from ‘__msl_get_system_encoding’ in MSL_All_PPC.Lib

Any suggestions ?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl