Rockbox Development > Starting Development and Compiling

UiSimulator for Mac

(1/1)

knight4led:
I started by reading the Wiki and the info for compiling a UiSim there seems very old. It predates the SVN system and it says to compile a UiSim for Mac you need to patch a file. Is all this information still correct? If not what do I do? Or better yet, does anyone have a UiSim already compiled that runs on OSX 10.4?

I want the Sim so I can develop some WPS ideas that I have had for a while.

Edit: I have setup Xcode on my Mac which is the compiling and developing tools. First problem I encountered is that I  have an SDL file, but it can't find it. I assume that is what the patch listed on the UiSimulator page refers to. I tried to patch according to instructions in the wiki for compiling, but it can't locate the file and I seem to get stuck in a loop with a file prompt but I can't find a way to quit the patch program other than closing the terminal window.

Edit2: For the sake of argument I tried compiling a regular build, but I don't seem to have an arm-elf-gcc file.

Looks like more reading

saratoga:
Compiling a regular build requires the build environment.  Obviously, MacOS doesn't come with the rockbox build environment, so you can't do that without installing it.

The UI sim in linux is pretty simple, since it just uses GCC and a few libraries.  Unfortunately, I don't know anything about MacOS, so I can't help you there.  MIght want to search through the mailing list and see if anyone else has tried.

knight4led:
I have the developer tools installed on my machine which includes GCC and X11. I have downloaded the fink client and have used that to get myself the SDL files.

Right now I can get as far as running configure, but make won't finish. I assume that is because of the patch that the wiki says i need to apply. I have tried everything I can think of to make this patch work, but I can't seem to apply that patch listed on the wiki because it says it can't find the file that it wants to patch.

I would love a little help here.

Edit: I got patch to finally find the files that need to be patched, but every single one failed. It seems the patch for the UiSim on Mac is out of sync.

Navigation

[0] Message Index

Go to full version