REALbasic
Maybe a diary of REALbasic app development. Maybe just stuff about REALbasic. Maybe nothing :)


@ Tuesday, March 5, 2002
 



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.

comment ()  8:56:38 AM  #  


Click here to visit the Radio UserLand website. © Copyright 2002 Will Leshner.
Last update: 3/5/02; 8:56:39 AM.
March 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
Feb   Apr

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~