Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Kyle2595

macrumors newbie
Original poster
Oct 18, 2013
9
0
Hi! I am taking a class that uses the Assembly language MIPS. I installed the program TextMate because it has a built in MIPS Assembler. I have QtSpim installed on my mac as well. When I go to run a program in TextMate with the built in MIPS Assembler, it tells me:

Code:
This command requires ‘spim’ which wasn’t found on your system.

The following locations were searched:
 • /usr/bin
 • /bin
 • /usr/sbin
 • /sbin
 • ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/bin

If ‘spim’ is installed elsewhere then you need to set TM_SPIM in
Preferences → Variables to the full path of where you installed it.

How do I get it to recognize that I have QtSpim installed?

I apologize if this is a completely stupid question, I just started the class and am still trying to get everything set up. Thank you so much for helping me out!
 
Where did you install QtSpim?

If you don't know, it's going to be difficult to do this (from the error message you posted):
If ‘spim’ is installed elsewhere then you need to set TM_SPIM in
Preferences → Variables to the full path of where you installed it.​

If you don't know what "full path" means, you still need to tell us where you installed QtSpim. If you can do that, then we can probably tell you what the full path should be.

If you followed instructions in a tutorial or installation process for QtSpim, then you should tell us the exact URL of those instructions.

Without knowing where QtSpim is installed, no one can fix the problem.
 
TextMate doesn't contain a built in MIPS assembler, it let's you run one from TextMate, and that's spim. You can see the search paths where TextMate looked for spim. You are using QtSpim which is a self contained QT GUI application, the executable file is inside the app bundle, however that's QtSpim not the terminal program.

On the spim project page it says:

Spim implements both a terminal and windows interfaces. On Microsoft Windows, Linux, and Mac OS X, the spim program offers a simple terminal interface and the QtSpim program provides the windowing interface.
 
I've installed QtSpim in /Applications.

Would it be easier if I installed SPIM following this tutorial?
http://spimsimulator.sourceforge.net/older.html

It seems you have only installed the GUI application. You shouldn't need to install older versions afaik. If you look at the downloads page linked from the project you'll find both a .dmg file which only contains the app bundle, i.e what you have in /Applications. It also has an installer with .mpkg in the name which I suspect includes both because there is no need for an installer for the GUI, it's simply drag and drop to /Applications.

Edit: it may be that the installer only includes spim, not both, in which case you may want to keep QtSpim if you need it.

So try to remove the QtSpim from /Applications and download the installer instead.
 
Last edited:
Okay, I've installed it using the .mpkg and I'm still getting the same error from TextMate. Where would it install SPIM? Is it all contained inside the application?
 
Okay, I've installed it using the .mpkg and I'm still getting the same error from TextMate. Where would it install SPIM? Is it all contained inside the application?

I don't know, I haven't run the installer I don't need spim. If you look at the project page, it makes the distinction between spim and QtSpim, we know that QtSpim doesn't contain spim which is referenced from the project page as two programs.

Looking at the intaller bom, it installs QtSpim in /Appliations, something called Assistant.app in /Applications/Utilities and a QtSpin folder in /Library/Application Support, but nothing in the /bin directory and no program called spim.
 
Last edited:
Okay, thanks for the help, I'll keep playing around with it and see where I can get. I'll use QtSpim in the meantime.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.