[size=150]This is pretty neat sh*t here. [/size]
I’ve been trying to get Code::Blocks working properly with Juce but have been failing miserably at getting any juce apps to compile. The main reason I’ve been trying to do this is to get a [size=150]portable ‘dev studio’ on a USB drive[/size], so I don’t have to stop my coding efforts just because I’m not at my own computer.
Well [size=150]blow me down[/size] if I haven’t just discovered [size=200]MojoPac[/size]. Consider this a sort of juce-developer-focused review of it.
[size=200]What (tf) is MojoPac?[/size]
You install it on a USB drive, and it basically gives you a fresh installation of windows to run straight from it, within windows on the PC it’s plugged into. It’s like a virtual pc, except it uses windows gubbins from the host pc [so it has to be used on a windows XP computer], meaning that it doesn’t take up the sort of space it normally would. Hardly any, in fact. When you insert the drive, it loads up your virtual windows desktop, and gives you another taskbar along the top to switch between the host and virtual desktops.
[size=200]What’s it like?[/size]
I’ve got a cheap-ass 2Gb USB flash drive, which means that it’s pretty damn slow when doing reading/writing, and has limited space. The speed only drops when accessing files though - i believe it uses the host’s page file stuff for virtual memory (rather than the usb drive), which is a clever touch. Also, within the virtual setup, your USB drive is mapped as C:, and you don’t have access to the host’s drives. Perhaps that might be a pain, but you can simply switch to the host desktop, copy files onto the usb drive, and switch back and they’re all there; the drive is laid out just like a normal windows system drive (complete with program files, etc).
[size=200]What can you do with it?[/size]
I’ve installed Visual C++ express (needed to install the .NET framework too and both took ages), and the platform SDK (probably took ages too but i set it going before i went to bed). Even though it takes ages, it’s not too big a problem as you can switch back to the host desktop and carry on using your computer while it goes on in the background.
I’m just building Juce on it! Again, on my drive it’s incredibly slow, but it is indeed working! Far better than I could get code::blocks running.
The major downside to this though is that you need admin privileges on the hosting pc. That cripples my main purpose for the exercise, because i wanted to take it into work and code while i’m answering the phones and the office pc has normal restricted user access. But, it’s still useful, as I can plug it into any of my flatmates’ laptops (they all have one, so there’s always two or three kicking around in the lounge) and do a spot of programming in the lounge with them instead of holed up in my room. Also, when I go to visit my family, I can just use my setup on their computer. It’s surprising just how light it is, as long as you have a speedy drive.
In case it’s of interest: I have installed VC++e, the .NET framework (came with VC++e), and a custom install of the PSDK (i unchecked components that weren’t needed to minimise the space it takes up). On my puny 2Gb flash drive, that left 400mb space to play with.
This sort of thing is really designed for USB hard drives, I’m sure. Apart from being faster, they’re bigger too. I think I’m going to go and grab one today. I need one anyway, but I really want to see how VC++ fares on a quicker drive. It could well be exactly what I’m looking for.
So, in a nutshell, it’s great, and it works. A portable personal system, acting just like any other windows installation, that you can take with you and use on someone elses computer. It has a 30 day/200 boot trial, and only costs [size=150]$49.99[/size] for a single user/single device license, and you don’t need to buy a new Windows XP license to be able to use it. And it works fine for Juce development [compiling slow in the background is better than waiting to get a chance to compile when you get home!].
If I pick up a USB external HD I’ll let you know how it goes. If anyone else finds this interesting and happens to have one to play with, let us know how it goes!