User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
I'm having trouble running an application that uses the Cg framework
under Jaguar (10.2.8). Here's the scenario:
THE BUILD
- I'm building the application on a Panther (10.3.6) machine using Xcode
1.5.
- I'm using Release 1.3 Beta 2 of the NVIDIA Cg Toolkit.
- I've properly enabled cross-compiling for version 10.2.8 of OS X.
- I've properly enabled the bundling of the Cg framework into my
application bundle.
- The application compiles/runs fine on this machine.
THE TARGET MACHINE
I then copy this application over to the Jaguar (10.2.8) machine (which
doesn't have the Cg framework installed - but doesn't need it since it
is bundled into the app). When I run it, (watching the console output),
I can see it gets a good way into execution. I can tell that my window
is created, all my models are loaded, all my AGL stuff is successful.
Several Cg calls are even made, but at some point into the application
it drops dead saying:
You may be wondering after what Cg call this happens, but I don't even
think it matters because:
MY HUNCH
I noticed by looking at the console output of the Panther machine (the
machine where the app was built and runs fine) that the crash I'm seeing
on the Jaguar machine directly corresponds to where I see the following
in the Panther console output:
Warning: Profile option 'NumTemps=' value (256) too large; clamped to 32.
Now, this is a message that I don't produce, so I'm pretty darn sure
it's coming from Cg - and my hunch is that it uses widechar functions to
generate it - which is causing the above crash. More proof of my hunch
comes from dumping Cg with otool:
So for whatever reason the app can dynamically resolve these on Panther
but not Jaguar.
MY QUESTION
So my question is, has anyone else had to deal with this, and more
importantly, how do I solve this?
Thanks.
-Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden