64 bit is the default for compiling the Pd core. Your problem is that you are using the old canonical 32-bit Tk Wish as provided with Pd which has not been updated with Miller's 8.5.19 build yet (as far as I remember).
You need to build Tcl, TK, & Wish yourself and then use it to build Pd.app. This is outlined in mac/README.txt
Your steps should be:
Build Pd
./autogen.sh ./configure ./make
Build Wish (and leave it around for reuse)
mac/tcltk-wish.sh --leave 8.5.19
Build Pd-0.49-1.app
mac/osx-app.sh --wish Wish-8.5.19 0.49-1
Hi, I'm doing
./autogen.sh ./configure ./make ./make app
but then I can't open Pd in Mojave as it seems to compile for an incompatible 32 bits. Hence, I'm emailing the zipped package and opening it in another computer with an older macOS to test it.
Can we make it compile for 64 by default? And what do I need to do to configure it to do so?
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
For developing, you'll need to generally test using the Pd.app as noticed problems with macOS 10.14 and the built-in Tcl/Tk.
If you are only testing changes on the Pd core and not the Tcl scripts, there is no need to rebuild the Pd.app each time. You can simply copy the pd binary into the app bundle before running it:
make cp src/pd Pd-0.49-1.app/Contents/Resources/bin open ./Pd-0.49-1.app
If you need to see stdout/stderr or run a debugger, you can launch the core from within the app bundle directly:
./Pd-0.49-1.app/Contents/Resources/bin/pd
On May 1, 2019, at 1:27 AM, Dan Wilcox danomatika@gmail.com wrote:
64 bit is the default for compiling the Pd core. Your problem is that you are using the old canonical 32-bit Tk Wish as provided with Pd which has not been updated with Miller's 8.5.19 build yet (as far as I remember).
You need to build Tcl, TK, & Wish yourself and then use it to build Pd.app. This is outlined in mac/README.txt
Your steps should be:
Build Pd
./autogen.sh ./configure ./make
Build Wish (and leave it around for reuse)
mac/tcltk-wish.sh --leave 8.5.19
Build Pd-0.49-1.app
mac/osx-app.sh --wish Wish-8.5.19 0.49-1
Hi, I'm doing
./autogen.sh ./configure ./make ./make app
but then I can't open Pd in Mojave as it seems to compile for an incompatible 32 bits. Hence, I'm emailing the zipped package and opening it in another computer with an older macOS to test it.
Can we make it compile for 64 by default? And what do I need to do to configure it to do so?
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Em ter, 30 de abr de 2019 às 20:27, Dan Wilcox danomatika@gmail.com escreveu:
64 bit is the default for compiling the Pd core. Your problem is that you are using the old canonical 32-bit Tk Wish as provided with Pd which has not been updated with Miller's 8.5.19 build yet (as far as I remember).
You need to build Tcl, TK, & Wish yourself and then use it to build Pd.app. This is outlined in mac/README.txt
Your steps should be:
Build Pd
./autogen.sh ./configure ./make
Build Wish (and leave it around for reuse)
mac/tcltk-wish.sh --leave 8.5.19
I did all that, a Wish-8.5.19 application showed up, all seems good.
Build Pd-0.49-1.app
mac/osx-app.sh --wish Wish-8.5.19 0.49-1
So I do it "Alexandres-MacBook-Pro:pure-data-copy porres$ mac/osx-app.sh --wish Wish-8.5.19 0.49-1"
but I get: /Users/porres/Desktop/git/pure-data-copy/Wish-8.5.19 not found
which seems weird, cause I see it there :/
Hi, I'm doing
./autogen.sh ./configure ./make ./make app
but then I can't open Pd in Mojave as it seems to compile for an incompatible 32 bits. Hence, I'm emailing the zipped package and opening it in another computer with an older macOS to test it.
Can we make it compile for 64 by default? And what do I need to do to configure it to do so?
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
add ".app"...
mac/osx-app.sh --wish Wish-8.5.19.app 0.49-1
On May 1, 2019, at 1:40 AM, Alexandre Torres Porres porres@gmail.com wrote:
So I do it "Alexandres-MacBook-Pro:pure-data-copy porres$ mac/osx-app.sh --wish Wish-8.5.19 0.49-1"
but I get: /Users/porres/Desktop/git/pure-data-copy/Wish-8.5.19 not found
which seems weird, cause I see it there :/
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
There we go, I end up with 'Pd-0.49-1.app.app' but it's fine :)
Now, Pd opens, but I can't use it well, on an empty canvas I can't insert an object, if I resize the window it all goes to black, so we're not quite there yet :(
Anyway, it's not that terrible that I need to use an older computer. And if I get it right, next release will probably have things updated and working fine, huh?
thanks
Em ter, 30 de abr de 2019 às 20:41, Dan Wilcox danomatika@gmail.com escreveu:
add ".app"...
mac/osx-app.sh --wish Wish-8.5.19.app 0.49-1
On May 1, 2019, at 1:40 AM, Alexandre Torres Porres porres@gmail.com wrote:
So I do it "Alexandres-MacBook-Pro:pure-data-copy porres$ mac/osx-app.sh --wish Wish-8.5.19 0.49-1"
but I get: /Users/porres/Desktop/git/pure-data-copy/Wish-8.5.19 not found
which seems weird, cause I see it there :/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com robotcowboy.com
Hmm. I use this same approach everyday and it's working fine. How old is the system you're running it on? Does the app work fine on your s
On May 1, 2019, at 1:51 AM, Alexandre Torres Porres porres@gmail.com wrote:
There we go, I end up with 'Pd-0.49-1.app.app' but it's fine :)
Now, Pd opens, but I can't use it well, on an empty canvas I can't insert an object, if I resize the window it all goes to black, so we're not quite there yet :(
Is this on your system or another system? Which macOS version? Building an app on 10.14 will probably not run on say 10.7 but probably will work fine on 10.12. There might be some way to make this work, but it would take a lot more time and testing, possibly.
Anyway, it's not that terrible that I need to use an older computer. And if I get it right, next release will probably have things updated and working fine, huh?
If it's a lot older, a quick fix is to take Miller's build and just copy in the Pd core into the .app bundle manually as what you are seeing is issues with Tcl/Tk.
-------- Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Em ter, 30 de abr de 2019 às 21:02, Dan Wilcox danomatika@gmail.com escreveu:
Hmm. I use this same approach everyday and it's working fine. How old is the system you're running it on? Does the app work fine on your s
On May 1, 2019, at 1:51 AM, Alexandre Torres Porres porres@gmail.com wrote:
There we go, I end up with 'Pd-0.49-1.app.app' but it's fine :)
Now, Pd opens, but I can't use it well, on an empty canvas I can't insert an object, if I resize the window it all goes to black, so we're not quite there yet :(
Is this on your system or another system? Which macOS version? Building an app on 10.14 will probably not run on say 10.7 but probably will work fine on 10.12. There might be some way to make this work, but it would take a lot more time and testing, possibly.
So, the issue is that I couldn't open the app that I built in 10.14, so I'm opening on an old one. Now I can build and generate an app that opens, but these issues are on the same machine.
What I'm doing then is just generating the app as I did before, and that I can only open in the older machine with an older system to test it out.
Anyway, it's not that terrible that I need to use an older computer. And if I get it right, next release will probably have things updated and working fine, huh?
If it's a lot older, a quick fix is to take Miller's build and just copy in the Pd core into the .app bundle manually as what you are seeing is issues with Tcl/Tk.
Yeah, I'm wondering from what you said if I can just copy the generated core into my Pd.0.49-1 app I have downloaded from Miller's site. I'll see if I can do that next time.
cheers
I am having similar issue here. On Wed, 1 May 2019 at 09:34, Dan Wilcox danomatika@gmail.com wrote:
64 bit is the default for compiling the Pd core. Your problem is that you are using the old canonical 32-bit Tk Wish as provided with Pd which has not been updated with Miller's 8.5.19 build yet (as far as I remember).
You need to build Tcl, TK, & Wish yourself and then use it to build Pd.app. This is outlined in mac/README.txt
Your steps should be:
Build Pd
./autogen.sh ./configure ./make
So after I have done the above, then
Build Wish (and leave it around for reuse)
mac/tcltk-wish.sh --leave 8.5.19
when I am trying to do this part, unfortunately towards the end, my terminal prints out something like this Installing Tk library files to /Users/osamupang/pure-data/mac/tk8.5.19/macosx/../../build/tk/Deployment//Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/ Installing Ttk library files to /Users/osamupang/pure-data/mac/tk8.5.19/macosx/../../build/tk/Deployment//Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/ttk/ Installing library image files to /Users/osamupang/pure-data/mac/tk8.5.19/macosx/../../build/tk/Deployment//Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/images/ Installing message catalog files to /Users/osamupang/pure-data/mac/tk8.5.19/macosx/../../build/tk/Deployment//Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/msgs/ ln: invalid option -- 'h' Try 'ln --help' for more information. make[2]: *** [install-tk] Error 1 make[1]: *** [tk] Error 2 make: *** [embedded-deploy] Error 2
edit: as I am writing this, I also find a work around to the above problem, basically I did this to get into the homebrew environment:
brew sh mac/tcltk-wish.sh --leave 8.5.19
(I am not sure other mac users are having the same problem as I do, but if it is, it might be worth to add this work around to INSTALL.txt or mac/README.txt ?) however after the next steps
mac/osx-app.sh --wish Wish-8.5.19.app 0.49-1 open Pd-0.49-1.app/
I am having the same issue as Alexandre, where I can't put any object in Pd, and when I am trying to resize the window, it just went dark and stopped responding.
_______________________________________________
Pd-dev mailing list Pd-dev@lists.iem.at https://lists.puredata.info/listinfo/pd-dev
Em sáb, 11 de mai de 2019 às 04:14, Tsz Kiu Pang osamupang@gmail.com escreveu:
I am having the same issue as Alexandre, where I can't put any object in Pd, and when I am trying to resize the window, it just went dark and stopped responding.
Yup, Exactly That Happens To Me! Sorry Dan, for now I'm just happy compiling with the old stuff and I was hoping to be more of a help later in the game, but perhaps and hopefully mr Pang can help sort this out ;)