Article View: alt.comp.lang.learn.c-c++
Article #640Re: Link error CW8 mac compile for windows
From: MW Ron
Date: Thu, 12 Jun 2003 15:15
Date: Thu, 12 Jun 2003 15:15
59 lines
3757 bytes
3757 bytes
In article <BB0D28AC.41B%alex@toomuchspace.com>,
Alexander Cohen <alex@toomuchspace.com> wrote:
All I can think of is using a preprocessed file and seeing if that helps
it. you may want to use a link map and see what is being linked in.
Other than that I'm stymied without some sort example I can look at.
Ron
>On 6/11/03 5:32 PM, in article
>mwron-D8B416.17322611062003@enews.newsguy.com, "MW Ron"
><mwron@metrowerks.com> wrote:
>
>> In article <BB0CC289.E8%alex@toomuchspace.com>,
>> Alexander Cohen <alex@toomuchspace.com> wrote:
>>
>>> Hi, im compiling an application for windows from codewarrior 8 mac. All
>>> compiles fine but at the end I get 6 link errors wich I don�t understand
>>> since the libraries needed are there in my project. The project has c and
>>> c++ files and I am compiling as C++. The parts that need to be compiled as C
>>> are bracketed with extern "C" and have .c extensions. Here are the errors:
>>
>> Be sure you are using the right prefix file.
>>
>> Also I would think that perhaps you may be mixing the headers and
>> precompiled headers up or something.
>>
>> Finally do you have any other libraries included perhaps they need to be
>> rebuilt. If they were built and linked with a pow() or fabs() that are
>> listed as extern and now they are inlined that can cause a problem.
>>
>> If you can narrow this down to a smaller project it might help, but I'm
>> thinking this is very likely from an older library that is being linked
>> in.
>>
>> Ron
>
>What prefix file should I be using? Im using a custom one by the makers of a
>specialized plugin SDK.
>
>I've only included the regular Win libraries. Kernel32, user32... I have
>also included the 3 icm libraries, but I get the link errors without them.
>
>I really don�t see how I can narrow this down. I really wish I could. If I
>create a small app that does a floor, abs and a few other math routines that
>are currently not linking correctly, they link without any problem with the
>same libraries.
>
>Alex
>
--
Get printed CodeWarrior Documentation (limited selection)
And all the latest versions of CodeWarrior Manuals
http://www.metrowerks.com/MW/Support/dev_resources/default.htm
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Technical Details
Message-ID:
<mwron-24D9AC.11150112062003@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!tethys.csu.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwronReferences:
<BB0CC289.E8%alex@toomuchspace.com> <mwron-D8B416.17322611062003@enews.newsguy.com> <BB0D28AC.41B%alex@toomuchspace.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10bcce,8730a56750ded940
X-Google-Attributes: gid10bcce,public
X-Google-Thread: 1014db,8730a56750ded940
X-Google-Attributes: gid1014db,public
X-Google-Thread: 114592,8730a56750ded940
X-Google-Attributes: gid114592,public
X-Google-Thread: 109fba,8730a56750ded940
X-Google-Attributes: gid109fba,public
X-Google-Thread: fd047,8730a56750ded940
X-Google-Attributes: gidfd047,public
X-Google-ArrivalTime: 2003-06-12 08:36:08 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-hog.berkeley.edu!ucberkeley!tethys.csu.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: MW Ron <mwron@metrowerks.com>
Newsgroups: alt.comp.lang.learn.c-c++,codewarrior.mac,codewarrior.windows,comp.lang.c,comp.lang.c++
Subject: Re: Link error CW8 mac compile for windows
Date: Thu, 12 Jun 2003 11:15:02 -0400
Organization: Metrowerks
Lines: 59
Message-ID: <mwron-24D9AC.11150112062003@enews.newsguy.com>
References: <BB0CC289.E8%alex@toomuchspace.com> <mwron-D8B416.17322611062003@enews.newsguy.com> <BB0D28AC.41B%alex@toomuchspace.com>
NNTP-Posting-Host: p-817.newsdawg.com
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
X-Face: )mY~XFHLw)UOW!W#[Ljvxq6Ja7(g'#F0-g*&puNxR8hEJkd@Oue/70^.)I78\
(%a%&Id211u"l/t.llWo/M|?15XUlx9!IGkdWiEmcasiyg"k;Q9[~XuE+`t2"*n(>nmm
@L/q,TjMd5+H{gASEPDR^$