CodeWalrus

Development => Calculators => Calc Projects, Programming & Tutorials => Topic started by: Yuki on October 07, 2015, 05:53:48 PM

Title: TI Software on OS X
Post by: Yuki on October 07, 2015, 05:53:48 PM
I noticed there's not much support for TI software on OS X, figured I should write this topic. So you can always compile your favourite software like on Linux, but there's a few gotchas I'll describe here. I'm on OS X 10.9 and it should mostly work for any OS X version.

Table of Contents

tilp / tilem2
Both projects says it should work on Mac OS X, but it's not tested. tilem2 works fine to me, I haven't really tested tilp other than the fact it works.

(http://img.codewalr.us/Capture%20d%E2%80%99e%CC%81cran%202015-10-07%20a%CC%80%2013.12.02.png)

Installation is mostly like Linux, but there's a few gotchas. OS X and Xcode (with command-line tools installed) ships with most dependancies, but it misses a few. If you use Homebrew (http://brew.sh/) as a package manager, you can easily install them. Libarchive is shipped with OS X, but the development files aren't there, so you still have to download and install it.
brew install gtk+ pkgconfig libarchive libusb-compat libglade

You can then download the Linux install script, optionally comment the few lines at the end about tilp and gfm if you don't need them and only need the libti*, and run it:
chmod +x install_tilp.sh
sudo PREFIX=/usr/local PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/opt/local/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig ./install_tilp.sh


EDIT: This works with the currently released script on the official website, but @Adriweb made a tutorial simplifying quite a lot of stuff here with a dev version: https://tiplanet.org/forum/viewtopic.php?t=17297&p=189786

tilem2 works as well, don't forget to install libti* with the script above:
svn checkout svn://svn.code.sf.net/p/tilem/code/trunk tilem-code
cd tilem-code
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/opt/local/lib/pkgconfig:/usr/local/opt/libarchive/lib/pkgconfig ./configure
make
sudo make install


Wabbitemu

There is a Mac version of Wabbitemu, it's from 2013, it works well, but it miss quite a few features from newer versions for Windows. There's a Xcode project in the source code you can probably use to compile a newer version, but I haven't been able to make it work yet, probably because the port has been unmaintained since then. Wabbitemu for Windows works well with Wine, but I have a few issues with graphics. Well, if you don't mind them it should be okay. It's probably because of my version of Wine and I probably should upgrade it.

So that's it for now, if I have something else to show I'll add them here.

FAQ

Q: Do you use XQuartz?
A: I don't think so, the version of gtk+2 I have seems to support Quartz natively. There's no OS X integration though, the authors will have to add some code for that, like integrating the menu bar in the top bar like every other OS X app out there, so that's why it looks exactly like on Linux and Windows.
Title: Re: TI Software on OS X
Post by: Ivoah on October 07, 2015, 06:08:24 PM
Nice! I remember that I got TIlem working on my mac using xquartz. I used macports to install a dependency though, because I couldn't find what I needed in homebrew. Glad to see that it's possible with just homebrew :)
Title: Re: TI Software on OS X
Post by: Dream of Omnimaga on October 07, 2015, 06:56:04 PM
Good tutorial Juju. Other worthy mentions would be jsTIfied and SourceCoder, which are web-based, but of course if your parents or school shuts down your Internet past 10 PM then those are not practical.
Title: Re: TI Software on OS X
Post by: Yuki on October 07, 2015, 07:03:11 PM
jsTIfied and SourceCoder aren't OS X specific since they're web-based, as long you have a good browser it should work.
Title: Re: TI Software on OS X
Post by: Snektron on October 07, 2015, 08:30:52 PM
And in emergency cases theres always Smartview too :P
Title: Re: TI Software on OS X
Post by: Adriweb on October 07, 2015, 08:48:26 PM
Wait woot? A few days ago I made a EN+FR tutorial from scratch for TILP on OSX :)
The nice thing is that it should work just by pasting the commands, no thinking necessary :P
Here it is, just in case: https://tiplanet.org/forum/viewtopic.php?t=17297&p=189786
Title: Re: TI Software on OS X
Post by: Yuki on October 07, 2015, 08:56:26 PM
Oh, nice, I didn't saw it. Thanks!
Title: Re: TI Software on OS X
Post by: Dream of Omnimaga on October 08, 2015, 06:14:58 AM
Quote from: Cumred_Snektron on October 07, 2015, 08:30:52 PM
And in emergency cases theres always Smartview too :P
That too. It's the only way to emulate the 84+CE. There is another, which is the JS wrapper, which could use a tutorial I guess, but just make sure to tell people that they absolutely need a valid trial or registered TI-Smartview license to use it and that it won't let you send files.


By the way @Juju , can you add anchors via HTML to post content? I tried a few years ago on SMF and it didn't work. It would be handy to jump to specific tutorial parts without having to break it into multiple posts.
Title: Re: TI Software on OS X
Post by: Yuki on October 08, 2015, 06:34:10 AM
Quote from: DJ Omnimaga on October 08, 2015, 06:14:58 AM
By the way @Juju , can you add anchors via HTML to post content? I tried a few years ago on SMF and it didn't work. It would be handy to jump to specific tutorial parts without having to break it into multiple posts.
There we go, a SMF feature I didn't knew of and never used added here in the OP. I did a table of contents. This is so fancy now.
Title: Re: TI Software on OS X
Post by: Dream of Omnimaga on October 08, 2015, 06:41:23 AM
Oh it,s not really a SMF feature, unless you refer to the html bbcode tag. What I meant was to use that tag then insert actual <a> tags in your post with anchors. :P


EDIT: Wait, SMF has anchors built-in? O.O (I just checked your post) That's nice.
Title: Re: TI Software on OS X
Post by: Max Leiter on October 12, 2015, 06:20:40 PM
Thanks for the instructions on getting TiLP2 running, couldn't figure it out
Title: Re: TI Software on OS X
Post by: novenary on October 12, 2015, 07:05:02 PM
I've used Tilp, Tilem2 and TiEmu on OSX without any issues back then. They're all available in MacPorts so you just need to install them through it. Or your favourite port system but I dunno if it's in the others.
Title: Re: TI Software on OS X
Post by: Dream of Omnimaga on October 12, 2015, 08:08:46 PM
Woah, how did I forget this topic just a day after it got posted? :O Max needed help on IRC last night, yet I had completely forgotten that this existed. My bad :X