Rockbox Development > Starting Development and Compiling

Questions Getting Started Compiling

(1/2) > >>

LyTning94:
Before I begin, I am using a Windows XP computer.  I downloaded VMWare and the Rockbox image, went to XShells->Eterm and typed:


--- Code: ---$ svn co svn://svn.rockbox.org/rockbox/trunk rockbox

--- End code ---

to check out the source code.  From what I understand, I need to run rockboxdev.sh to automatically install the cross-compiler for me.  I typed the following:


--- Code: ---$ cd rockbox
$ tools/rockboxdev.sh

--- End code ---

and got this output:


--- Code: ---user@debian:~/rockbox$ tools/rockboxdev.sh
Download directory : /tmp/rbdev-dl (set RBDEV_DOWNLOAD to change)
Install prefix     : /usr/local  (set RBDEV_PREFIX to change)
Build dir          : /tmp/rbdev-build (set RBDEV_BUILD to change)
Make options       :  (set MAKEFLAGS to change)

ROCKBOXDEV: No write permission for /usr/local

--- End code ---

What am I doing wrong?

Also, do I need the files vmware.txt, vmware-0.txt, vmware-1.txt, etc. that appear in the directory of my Rockbox image each time I open it?

When I check out the source code for rockbox or make a new directory in VMWare, where do the files go?  Do they go to a virtual hard drive somewhere?

Finally, how do I share files between the two systems? I went to VMWare->Shared Files, but there were no files on the list.

Sorry for my ignorant questions, and thanks in advance for the help!

saratoga:

--- Quote from: LyTning94 on March 30, 2011, 03:09:17 PM ---  From what I understand, I need to run rockboxdev.sh to automatically install the cross-compiler for me. 

--- End quote ---

You shouldn't need to do that.  The VMware image already has the compilers. 


--- Quote from: LyTning94 on March 30, 2011, 03:09:17 PM ---What am I doing wrong?

--- End quote ---

You need to use "sudo" with commands that install new OS features.


--- Quote from: LyTning94 on March 30, 2011, 03:09:17 PM ---When I check out the source code for rockbox or make a new directory in VMWare, where do the files go?  Do they go to a virtual hard drive somewhere?
--- End quote ---

They go into the disk image you downloaded.


--- Quote from: LyTning94 on March 30, 2011, 03:09:17 PM ---Finally, how do I share files between the two systems? I went to VMWare->Shared Files, but there were no files on the list.

--- End quote ---

SMB is the easiest way.  The vmware wiki page explains how IIRC.

LyTning94:

--- Quote from: saratoga on March 30, 2011, 03:12:56 PM ---They go into the disk image you downloaded.
--- End quote ---

Meaning the rockbox-flat.vmdk file?


--- Quote from: saratoga on March 30, 2011, 03:12:56 PM ---SMB is the easiest way.  The vmware wiki page explains how IIRC.

--- End quote ---

Here is what I found in the wiki:


--- Quote ---To make it easy to access the files in the virtual Linux operating system, we have included Samba. We've configured the user's home directory as a file share.

This means that you can edit the source in your favorite Windows editor (that supports UNIX formatted files!) and compile in the virtual machine.


•Share name: \debianuser
•Share username: user (or root if you want to have file permission)
•Share password: rockbox
--- End quote ---

What does it mean by the 'user's home directory'?

And what about the text files?

LyTning94:
Anyone??? Pardon my ignorance, but what is meant by the 'User's home directory'???

Chronon:
http://en.wikipedia.org/wiki/Home_directory

Navigation

[0] Message Index

[#] Next page

Go to full version