Hi guys... Im trying to find the C source code for the 'expr' object... it doesnt seem to be in any of the folders in vanilla or extended.
I can find 'expr-help' & 'expr~'... but not 'expr'
Am I being dumb? Or is it somewhere else?
Thanks
Carl.
Where to find 'expr' source?
Hi guys... Im trying to find the C source code for the 'expr' object... it doesnt seem to be in any of the folders in vanilla or extended.
I can find 'expr-help' & 'expr~'... but not 'expr'
Am I being dumb? Or is it somewhere else?
Thanks
Carl.
in the [extra] folder, you should find an [expr~] folder. That seems to have a lot of expr code inside it.
it isn't in mine...
isn't it vexp.c
it looks to me like the final object just became renamed to [expr], but vexp has the original code...?
ah yes...that look like the right one... thanks a lot...
BTW do you have any experience loading externals to be used in Xcode / iOS? I am following the instructions on this page (near the bottom)
http://gitorious.org/pdlib/pages/ObjC
It works for "lrshift" as in that instruction but with "expr" im getting no joy... Xcode is moaning that a file needed for maxMSP is missing (attached)
you can't use expr in iOS anyway, you know that yeah?
it's under the GPL license, which apple doesn't allow in the app store
I was under the impression that the licence terms for 'expr' had changed?
TBH its probably not going to make its way to the Apple Store... its for a Uni project
There was talk a while back about making a BSD version of [expr], but I don't think the non-GPL code has been released yet.
At any rate, the source for the [expr] objects is meant to compile for both Max and Pd, and it defaults to Max. I don't know much about Xcode, but when compiling the -DPD flag has to be passed to define PD. If you look at the Makefile, you'll see it as part of the CGICFLAGS variable.
You could probably just add #define PD above the #define MSP line and it might work.
thanks Maelstorm ill take a look...
Oops! Looks like something went wrong!