Article View: comp.sys.mac.programmer.codewarrior
Article #1037Link Error: Couldn't get file information from IDE
From: Neil Mayhew
Date: Thu, 28 Feb 2002 20:05
Date: Thu, 28 Feb 2002 20:05
29 lines
2532 bytes
2532 bytes
I just made a new project from the <Mac OS C++/Multi-Target/Mac OS
Toolbox/C++ Toolbox Multi-Target Bundle> stationery, and tried building it
without making any changes whatsoever. I got a strange error:
Link Error : Couldn't get file information from IDE.
I've seen this before with other projects but have never managed to find out
what the problem is. This time, after about a day of fiddling about, I
*have* managed to find a way to make the project build.
The problem is with the target <Resources>, which uses the Mac OS Merge
linker to copy the resource file <SimpleAlert.rsrc> into the bundle. This
target is a sub-target of each of the other targets. The file type and
creator is rsrc/RSED, and checking the file mappings for the <Resources>
target I find that the compiler is set to Rez. When I set this mapping entry
to 'None' this target (and all the other targets) build OK. Or, if I set the
type to 'RSRC' instead of 'rsrc' the problem also goes away, because the
original mapping for this type uses 'None'. Also, if I open the file with
Resorcerer, the problem goes away because Resorcerer sets the type to
'RSRC'.
Has anyone else seen this problem before? Is this the right way to solve it?
Is MetroWerks aware of this extremely dumb error message that gets put out
in these circumstances?
Neil Mayhew
Calgary, Alberta, Canada
(Spell my name correctly to reply)
Technical Details
Message-ID:
<B8A3DBB2.418A%niel_mayhew@mac.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feeder.qis.net!nntp.abs.net!nntp.cadvision.com!207.228.64.17.MISMATCH!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,5032641c0e1d8d00,start X-Google-Attributes: gid10bcce,public X-Google-Thread: f635e,5032641c0e1d8d00,start X-Google-Attributes: gidf635e,public X-Google-ArrivalTime: 2002-02-28 12:05:59 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feeder.qis.net!nntp.abs.net!nntp.cadvision.com!207.228.64.17.MISMATCH!not-for-mail From: Neil Mayhew <niel_mayhew@mac.com> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac Subject: Link Error: Couldn't get file information from IDE Date: Thu, 28 Feb 2002 13:05:54 -0700 Organization: Cadvision Lines: 30 Message-ID: <B8A3DBB2.418A%niel_mayhew@mac.com> NNTP-Posting-Host: dbox.wycliffe.ca Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: news3.cadvision.com 1014926757 12305 207.228.88.41 (28 Feb 2002 20:05:57 GMT) X-Complaints-To: news@cadvision.com NNTP-Posting-Date: Thu, 28 Feb 2002 20:05:57 +0000 (UTC) User-Agent: Microsoft-Entourage/10.0.0.1331