Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

help bring 3D modeling to Mac: deployment linking error: u..

 
   Macintosh computer (Home) -> Programmer Help RSS
Next:  Printing a view from code <-> command P  
Author Message
Jamchild

External


Since: Apr 05, 2004
Posts: 4



(Msg. 1) Posted: Tue Jun 15, 2004 5:05 am
Post subject: help bring 3D modeling to Mac: deployment linking error: und
Archived from groups: comp>sys>mac>programmer>help (more info?)

Hi all,
I'm having a problem here with a 3D modeling program I'm building -
I have a project that builds and links and runs fine in Development
build mode (w/ ZeroLink), but when I switch it to Deployment build I
get a linker error:

Undefined symbols: ___setonlyClocaleconv referenced from
CoreFoundation expected to be defined in libSystem

So apparently it can't find this function call in libSystem which
it thinks should be there, but I can't find reference to
setonlyClocaleconv anywhere on the web. I'm fairly sure I've got all
the right frameworks included - definitely libSystem, where it thinks
this thing should be. Why can it find it with ZeroLink but not when
building for deployment? Ideas? I'm new to Mac development, so go
easy on me if it's obvious to you somehow what I need to do. Please
help!!!

Sincerely,
Tom

 >> Stay informed about: help bring 3D modeling to Mac: deployment linking error: u.. 
Back to top
Login to vote
ISO-8859-1QJF8hnny1

External


Since: Mar 05, 2004
Posts: 51



(Msg. 2) Posted: Wed Jun 16, 2004 12:14 am
Post subject: Re: help bring 3D modeling to Mac: deployment linking error: [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jamchild wrote:
 > Undefined symbols: ___setonlyClocaleconv referenced from
 > CoreFoundation expected to be defined in libSystem
 >
 > So apparently it can't find this function call in libSystem which
 > it thinks should be there, but I can't find reference to
 > setonlyClocaleconv anywhere on the web. I'm fairly sure I've got all
 > the right frameworks included - definitely libSystem, where it thinks
 > this thing should be. Why can it find it with ZeroLink but not when
 > building for deployment?

zerolink isn't "linking" at all, so it's not surprising that you don't
see the problem there. i don't recognize the symbol name, but it
probably has something to do with c/c++ locales. perhaps you could fix
it by adding /usr/lib/libstdc++.a to your project, but i don't think
i've had to explicitly include that library since the project builder
days. can't hurt to try, though.

 >> Stay informed about: help bring 3D modeling to Mac: deployment linking error: u.. 
Back to top
Login to vote
Jamchild

External


Since: Apr 05, 2004
Posts: 4



(Msg. 3) Posted: Thu Jun 17, 2004 9:47 pm
Post subject: Re: help bring 3D modeling to Mac: deployment linking error: [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jøhnny Fävòrítê (it means "halo, then resonate") wrote in message ...
 > Jamchild wrote:
  > > Undefined symbols: ___setonlyClocaleconv referenced from
  > > CoreFoundation expected to be defined in libSystem
  > >
  > > So apparently it can't find this function call in libSystem which
  > > it thinks should be there, but I can't find reference to
  > > setonlyClocaleconv anywhere on the web. I'm fairly sure I've got all
  > > the right frameworks included - definitely libSystem, where it thinks
  > > this thing should be. Why can it find it with ZeroLink but not when
  > > building for deployment?
 >
 > zerolink isn't "linking" at all, so it's not surprising that you don't
 > see the problem there. i don't recognize the symbol name, but it
 > probably has something to do with c/c++ locales. perhaps you could fix
 > it by adding /usr/lib/libstdc++.a to your project, but i don't think
 > i've had to explicitly include that library since the project builder
 > days. can't hurt to try, though.


Yeah, I'd tried that (adding libstdc++.a) and it didn't work. Weird
thing is I just tried the exact same .xcode file on a different
machine with the exact same version of xCode and it worked without the
error. I can't think of any differences there could be that would
cause the one to work and the other to fail.
 >> Stay informed about: help bring 3D modeling to Mac: deployment linking error: u.. 
Back to top
Login to vote
Uli Kusterer

External


Since: Aug 28, 2003
Posts: 115



(Msg. 4) Posted: Sat Jun 19, 2004 1:13 am
Post subject: Re: help bring 3D modeling to Mac: deployment linking error: [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
jamchild.RemoveThis@earthlink.net (Jamchild) wrote:

 > Yeah, I'd tried that (adding libstdc++.a) and it didn't work. Weird
 > thing is I just tried the exact same .xcode file on a different
 > machine with the exact same version of xCode and it worked without the
 > error. I can't think of any differences there could be that would
 > cause the one to work and the other to fail.

Do a "clean" on your project. This sounds like some cache in the "build"
folder has become out of sync and the compiler is choking on it. A clean
usually fixes that.

HTH,
-- Uli
<a rel="nofollow" style='text-decoration: none;' href="http://www.zathras.de" target="_blank">http://www.zathras.de</a>
 >> Stay informed about: help bring 3D modeling to Mac: deployment linking error: u.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Linking error: Undef. symbols _Button _CreateNewWindow etc - Hello, I just tried to compile the Minimung example from the apple developers page, which is supposed to connect to an attached camera and create a gworld object... Compiling runs through smoothly. However, I get a linking error telling me that the..

Why Don't Carbon Programs Bring Their Windows To The Front.. - My Carbon Event programs work fine in Jaguar but under Panther they don't bring their windows to the front unless the user clicks in the structure region. Why is this? I think I'm doing everything right and I don't know what to fix, but I need to fix..

Linking on osx vs. linux question - Hi, I'm in the process of porting a std C++ console app from linux to os x. I'm newcomer to development on OS X and I have been getting some linking problems that have got me scratching my head. The code I'm working with builds a bunch of dynamic..

Core Graphics linking problem: _CGGetActiveDisplayList not.. - I'm trying to use the CG API, but whenever I try to compile, the linker says that _CGGetActiveDisplayList is not defined (it also happened when I tried to use the function CGGetOnlineDisplayList). It's picking up CGGetActiveDisplayList as a valid..

Linking a Cocoa Framework with a C++ dynamic library - Hi, I'd like to build a cocoa framework which links with a dynamic c++ library. To explore the intricacies of this task I wanted to create a very simple test project. I started a new xcode project based on the Cocoa Framework template. I then created a...
   Macintosh computer (Home) -> Programmer Help All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]