|
| |
I struggled last night trying to get my Lua Plugin code to build with stock Lua and RB plugins SDK distributions. I want to avoid shipping those distributions with my source. What I'd like to ship is something into which you can just drop Lua and the RB SDK and have it build correctly, without making any modifications to those distributions. But when I tried to simulate that, I got really a weird error lparser.c in the Lua distributions. I couldn't figure out was different between my simulation and the source I'd been using to build the Lua Plugin. Until I finally realized that I had already messed with my Lua source to fix this problem. Basically, a function in lparser.c has the same name as a macro in Debugging.c, which is a file in Apple's Universal Headers. I had, many months ago, renamed the function in lparser.c. But I don't want to tell my customers to do that. So I undef'd the symbol in my prefix file and that seemed to fix things. Which makes me think that perhaps I can fix all of my problems that way. I have other changes I've made to the RB SDK. I was just going to tell people how to make those changes to the SDK in my release notes. But maybe I can fix things up behind the scenes in a way that will allow people to drop the SDK source into my plugin's source folder and everything will just build without any further modifications.
8:56:38 AM #
|
|
|
|
© Copyright
2002
Will Leshner.
Last update:
3/5/02; 8:56:39 AM.
|
|


|