• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OpenGL link problems (was wchar link problems!)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OpenGL link problems (was wchar link problems!)


  • Subject: OpenGL link problems (was wchar link problems!)
  • From: joshua portway <email@hidden>
  • Date: Mon, 27 Oct 2003 13:03:27 +0000

the thing is we have #defines to deal with the lack of wchar support. we used to be able to build and run fine on 10.1 using Project Builder. The problem was because I'd only set the "deployment target" in the target info window, and not the "Target SDK" in the project window. But when I set them both to 10.1 we get terrible problems, the system headers don't even seem to build. I'm assuming this is because I have to switch back to using GCC3.1 if i want to build for 10.1. Anyone tried this ?

So - we've decided as an emergency measure to try to release a version of the app that only runs on jaguar and panther first, and produce another version for pre-10.2 systems when we have time to deal with it.

Now I've set up my xcode project to use 10.2.7 as it's target sdk, and set the deployment target to 10.2. But NOW when we build we find that the OpenGL framework doesn't link properly - xcode is looking for libGL.dylib andlibGLU.dylib in the OpenGL framework in the SDKs folder, but they don't exists. So it won't build.

this is surely a bug in the SDKs?

We don't explicitly link against these libraries - we just include the openGL framwork in the project, so presumably the framework itself is trying to link against these libraries and can't find them.

I'm going to try copying the libraries from the 10.3 System frameworks into the SDKs folder to see if that works.....

j



On 27 Oct 2003, at 04:01, Nick Zitzmann wrote:


On Sunday, October 26, 2003, at 04:29 PM, joshua portway wrote:

We're building our app using XCode under Panther, and it runs fine on Panther, but on Jaguar we're getting problems with one particular bit of code which seems to have dependencies on routines in libSystem.B.dylib on panther that don't exist on Jaguar.

here's the log :
2003-10-25 20:59:52.273 Noodle[858] CFLog (21): Error loading : error code 7, error number 0 (dyld: /Users/jeff/Desktop/Noodle.app/Contents/MacOS/Noodle Undefined > symbols:
/Users/jeff/Desktop/Noodle.app/Contents/Resources/freetype.OSGplug/ Contents/MacOS/freetype undefined reference to _btowc expected to be defined in /usr/lib/libSystem.B.dylib

This may be because Mac OS X 10.2.x and earlier do not support wchar, so if you use wchar at all in your software, it'll only run under 10.3 or later... Search the archives of the projectbuilder-users mailing list for more details.


Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://seiryu.home.comcast.net/

"I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." - Bjarne Stroustrup
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: wchar link problems building for jaguar (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Yet another Xcode bug / installation problem
  • Next by Date: Default optimizations
  • Previous by thread: Re: wchar link problems building for jaguar
  • Next by thread: Re: wchar link problems building for jaguar
  • Index(es):
    • Date
    • Thread