Rockbox Development > Starting Development and Compiling

Totally unable to get either Cygwin or VMWare rockbox to compile

(1/4) > >>

jgrg1:
Hi,

I'm having real trouble getting either Cygwin 1.7.9.1 or the Debian 5.0.4.7 vwmare image to compile rockbox at all.

I have repeatedly tried installing cygwin (following the instructions posted on the wikidocs page) and the cross compiler will not compile using the the rockboxdev.sh script. It does a whole bunch of stuff for a very long time, and then gets to a mkdir error for gcc-build, which causes the build to fail.

The VM won't let me connect to svn - "Network unavailable". Yet from ETerm I can ping not only my router, but also www.google.com.

Any help/pointers would be appreciated. Maybe I'm using the wrong VM image - should I be using the rockbox.image.7z file instead? If so, what's the Debian 5.0.4.7 image for?

There really needs to be a foolproof way of setting a development environment up - it shouldn't be this difficult.

gbl08ma:
I'm not sure about this, but I think I've read in forums or IRC some time ago that the VM images are outdated. Some time ago I tried to compile using the VM image and also using Cygwin. The VM image had some strange errors (perhaps those you were describing), and Cygwin would take days just to run the rockboxdev.sh script.
So, I gave up with Windows, rebooted with Linux and followed the compiling instructions for a Linux system. It worked well and I'm still building Rockbox, even though I already upgraded Ubuntu twice (10.04 to 10.10 and then to 11.04), the build tools didn't get affected and everything goes alright.

If you install a Linux distro on a separate partition or install it on a VM and then follow the procedure for setting a build environment as described on the wiki, you should be OK. (although I recommend installing on real hardware as you'll be able to take advantage of the full speed of the hardware when compiling)

torne:
Yes, unfortunately the VM images are in need of updating. The foolproof way to set up a development environment is to just install a current Linux distribution on your actual computer :)

saratoga:
While its a bigger download, the Ubuntu VM on this page should work:

http://www.rockbox.org/wiki/DevelopmentGuide#Windows

You'll need to follow the rest of the instructions on that page too ('get the source', 'build  the cross compilers'). 

jgrg1:
Arg. Just giving the rockbox.image.7z VM a try, then I'll try the Ubuntu VM... then I might give up; my enthusiasm for installing linux is minimal.

Thanks for the advice though.

Navigation

[0] Message Index

[#] Next page

Go to full version