|
Related Topics:
| MachineExceptions.h -- Error: ';' expected - I am trying to convert my PP Carbon project into a Mach-O project. When I compile, I get the following error: Error : ';' expected (included from: ..
Bug in alloc.c? - I'm getting an infinite loop in alloc.c, which is located in This is with CW 9.5. The function is There is a do/while loop that searches for a block with the required size to allocate a block of..
Multiply defined symbol: .bss - Hi, when trying to build a dll for Windows using CW9 on MacOS, I get an error message like: Link Error : Multiply defined symbol: .bss in files file2.cpp The same message with the same filenames is repeated several times, but..
Where next? - Hi folks, All of my recent Mac coding has been Carbon C++, mostly using as a As most of my clients are moving to X and CW's future is, shall we say, uncertain I'm wondering where to look for my future coding setup. I've dabbled..
Does mwcc work on Tiger? - Anybody using the comand line compilers on 10.4? When saving the following simple program as int main() { double x = 0.5; return 0; } and trying to compile it with $ mwcc -c , I get the error message Error :..
|
|
|
Next: Programmer Code: 9.3 update online?
|
| Author |
Message |
External

Since: Sep 11, 2006 Posts: 5
|
(Msg. 1) Posted: Mon Sep 11, 2006 2:00 am
Post subject: Codecvt linker error Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)
|
|
|
Hello,
Can someone help me out to resolve the following error in Codewarrior.
Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
lfile.obj
Actually my code does not use "codecvt". Can you also clarify what are
those special symbols in the error? Does it tell something to me? How
to analyze these symbols?
I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
for Netware...
Thanks for your time...
Regards,
hem |
|
| Back to top |
|
 |  |
External

Since: Jul 21, 2005 Posts: 149
|
(Msg. 2) Posted: Tue Sep 12, 2006 1:51 am
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <1157965200.000667.82880.TakeThisOut@i42g2000cwa.googlegroups.com>,
"hem" <hemachandra.reddy.TakeThisOut@gmail.com> wrote:
> Hello,
>
> Can someone help me out to resolve the following error in Codewarrior.
>
> Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> lfile.obj
>
> Actually my code does not use "codecvt". Can you also clarify what are
> those special symbols in the error? Does it tell something to me? How
> to analyze these symbols?
>
> I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> for Netware...
You are probably doing something that involves conversion between
std::strings and std::wstrings, causing C++ to generate a call to the |
|
| Back to top |
|
 |  |
External

Since: Sep 11, 2006 Posts: 5
|
(Msg. 3) Posted: Tue Sep 12, 2006 7:00 am
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thanks for your attention to the post...
I use some third party libraries and which are causing the problems...
Can I resolve those errors somehow now?
Thanks,
hem
David Phillip Oster wrote:
> In article <1157965200.000667.82880.TakeThisOut@i42g2000cwa.googlegroups.com>,
> "hem" <hemachandra.reddy.TakeThisOut@gmail.com> wrote:
>
> > Hello,
> >
> > Can someone help me out to resolve the following error in Codewarrior.
> >
> > Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> > 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> > lfile.obj
> >
> > Actually my code does not use "codecvt". Can you also clarify what are
> > those special symbols in the error? Does it tell something to me? How
> > to analyze these symbols?
> >
> > I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> > for Netware...
>
> You are probably doing something that involves conversion between
> std::strings and std::wstrings, causing C++ to generate a call to the |
|
| Back to top |
|
 |  |
External

Since: Jul 21, 2005 Posts: 149
|
(Msg. 4) Posted: Tue Sep 12, 2006 2:37 pm
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
> David Phillip Oster wrote:
> > In article <1157965200.000667.82880 RemoveThis @i42g2000cwa.googlegroups.com>,
> > "hem" <hemachandra.reddy RemoveThis @gmail.com> wrote:
> >
> > > Hello,
> > >
> > > Can someone help me out to resolve the following error in Codewarrior.
> > >
> > > Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> > > 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> > > lfile.obj
> > >
> > > Actually my code does not use "codecvt". Can you also clarify what are
> > > those special symbols in the error? Does it tell something to me? How
> > > to analyze these symbols?
> > >
> > > I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> > > for Netware...
> >
> > You are probably doing something that involves conversion between
> > std::strings and std::wstrings, causing C++ to generate a call to the
In article <1158069638.413692.34770 RemoveThis @h48g2000cwc.googlegroups.com>,
"hem" <hemachandra.reddy RemoveThis @gmail.com> wrote:
> Thanks for your attention to the post...
>
> I use some third party libraries and which are causing the problems...
>
> Can I resolve those errors somehow now?
>
> Thanks,
> hem
>
I've never hit this exact problem, (and in fact my last posting on this
thread wasn't finished) but I see that the Metrowerks Standard Library
includes a file called localeimp that might cure your problem (and that
file is conditionally included from <codecvt>.
Are your #define'ed symbols set up correctly?)
Since this is a problem with a third-party library, can you get in touch
with them? |
|
| Back to top |
|
 |  |
External

Since: Sep 11, 2006 Posts: 5
|
(Msg. 5) Posted: Sun Sep 17, 2006 11:22 pm
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
I could resolve the error after including <localeimp> in my code...I
could also resolve many linker errors by removing inconsistent file
endings...
Thanks for your help David...
Regards,
Hem
David Phillip Oster wrote:
> > David Phillip Oster wrote:
> > > In article <1157965200.000667.82880 RemoveThis @i42g2000cwa.googlegroups.com>,
> > > "hem" <hemachandra.reddy RemoveThis @gmail.com> wrote:
> > >
> > > > Hello,
> > > >
> > > > Can someone help me out to resolve the following error in Codewarrior.
> > > >
> > > > Link Error : Undefined symbol: ?id%?$codecvt%_WDH%std%%2V0locale%2%A
> > > > 'class std::locale::id std::codecvt<wchar_t, char, int>::id' in
> > > > lfile.obj
> > > >
> > > > Actually my code does not use "codecvt". Can you also clarify what are
> > > > those special symbols in the error? Does it tell something to me? How
> > > > to analyze these symbols?
> > > >
> > > > I run codewarrior7.1 with PDK4.0 on Windows to generate binary (nlm)
> > > > for Netware...
> > >
> > > You are probably doing something that involves conversion between
> > > std::strings and std::wstrings, causing C++ to generate a call to the
>
> In article <1158069638.413692.34770 RemoveThis @h48g2000cwc.googlegroups.com>,
> "hem" <hemachandra.reddy RemoveThis @gmail.com> wrote:
>
> > Thanks for your attention to the post...
> >
> > I use some third party libraries and which are causing the problems...
> >
> > Can I resolve those errors somehow now?
> >
> > Thanks,
> > hem
> >
>
> I've never hit this exact problem, (and in fact my last posting on this
> thread wasn't finished) but I see that the Metrowerks Standard Library
> includes a file called localeimp that might cure your problem (and that
> file is conditionally included from <codecvt>.
>
> Are your #define'ed symbols set up correctly?)
>
> Since this is a problem with a third-party library, can you get in touch
> with them? |
|
| Back to top |
|
 |  |
External

Since: Sep 23, 2006 Posts: 1
|
(Msg. 6) Posted: Sat Sep 23, 2006 10:09 pm
Post subject: Re: Codecvt linker error [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
In article <1158560555.822952.134620 DeleteThis @k70g2000cwa.googlegroups.com>,
"hem" <hemachandra.reddy DeleteThis @gmail.com> wrote:
> I could resolve the error after including <localeimp> in my code
Perhaps #include <locale> would be a more portable solution. <localimp>
is an implementation-specific header. <locale> will include it, and
will likely work as well on other platforms.
-Howard |
|
| Back to top |
|
 |  |
|