🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.help
Article #75

Re: Error between Carbon, CWPRO4, OpenGL and MSL C PPC Lib

#75
From: MWRon
Date: Tue, 14 Nov 2000 00:00
32 lines
2025 bytes
In article <B63661F0.5C0%rpiveteau@free.fr>, Romain Piveteau
<rpiveteau@free.fr> wrote:

>have a link error with an app in Carbon and OpenGL on CW Pro4.
>My libraries are CarbonLib, CarbonHeaders.pch, MSL RuntimePPC.Lib, MSL
>C.PPC.Lib, OpenGLLibraryStub, OpenGLMemoryStub, OpenGLUtilityStub and
>glut.lib.
>The errors are:
>undefined 'GetToolTrapAddress' from '__system7present' in MSL C.PPC.Lib
>undefined 'WriteCharsToConsole' from '__write_console' in MSL C.PPC.Lib
>undefined 'ReadCharsFromConsole' from '__read_console' in MSL C.PPC.Lib
>undefined 'RemoveConsole' from 'check_console' in MSL C.PPC.Lib
>undefined 'InstallConsole' from 'check_console' in MSL C.PPC.Lib

Instead of adding SIOUX Library to your project you must add 
console.stubs.c to your project that will clear up all of the last 4.  I'm
not sure of the undefined GetToolTrapAdddress   I've never seen that one
before  It may be as simple as rebuilding the MSL C with the latest
Universal Interfaces.

I'd recommend you update to CW 6 to get the latest tools but this should
work for you.

Ron

-- 
CodeWarrior PersonalJava Edtion
The speed, integration, and flexibility of the product are truly impressive.
Java Report Online
http://www.javareport.com/html/from_pages/product_review.cfm?articleID=1616

Metrowerks  "Software Starts Here"   MWRon@metrowerks.com
Technical Details
Message-ID: <mwron-1411001350460001@c1161032-b.bcreek1.mi.home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <B63661F0.5C0%rpiveteau@free.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,a5c60afd1ee7f6e2
X-Google-Attributes: gid10bcce,public
X-Google-Thread: 101ec9,a5c60afd1ee7f6e2
X-Google-Attributes: gid101ec9,public
X-Google-Thread: f98ee,a5c60afd1ee7f6e2
X-Google-Attributes: gidf98ee,public
From: mwron@metrowerks.com (MWRon)
Subject: Re: Error between Carbon, CWPRO4, OpenGL and MSL C PPC Lib
Date: 2000/11/14
Message-ID: <mwron-1411001350460001@c1161032-b.bcreek1.mi.home.com>
X-Deja-AN: 693603217
References: <B63661F0.5C0%rpiveteau@free.fr>
Organization: Metrowerks
Newsgroups: comp.sys.mac.programmer.help,comp.sys.mac.programmer.tools,codewarrior.mac