Rockbox Development > Starting Development and Compiling
Simulator vs. player: my (altered) build works on player, but not on Simulator
lee321987:
Until yesterday I had never touched Cygwin or C (this is C right? C++?) I succeeded in compiling a working Rockbox, and Simulator, and got a patch applied. However I just tried to make a change directly in a .c file (C:\cygwin\home\Will\rockbox\apps\plugins\viewer.c --- I used Ultra Edit) and the plugin worked on my player, but not on the Simulator (which I earlier got an EQ patch to work on). I know a little about programming (Visual Basic), and I would really appreciate anyone telling me what I may be doing wrong.
As I said the file is apps/plugins/viewer.c and here is what I changed
/* Sansa C200 keys */
#elif CONFIG_KEYPAD == SANSA_C200_PAD
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_PAGE_UP BUTTON_VOL_UP
#define VIEWER_PAGE_DOWN BUTTON_VOL_DOWN
#define VIEWER_SCREEN_LEFT BUTTON_LEFT
#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
#define VIEWER_MENU BUTTON_SELECT
#define VIEWER_AUTOSCROLL BUTTON_REC
#define VIEWER_LINE_UP BUTTON_UP
#define VIEWER_LINE_DOWN BUTTON_DOWN
to
/* Sansa C200 keys */
#elif CONFIG_KEYPAD == SANSA_C200_PAD
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_PAGE_UP BUTTON_UP
#define VIEWER_PAGE_DOWN BUTTON_DOWN
#define VIEWER_SCREEN_LEFT BUTTON_LEFT
#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
#define VIEWER_MENU BUTTON_SELECT
#define VIEWER_AUTOSCROLL BUTTON_REC
#define VIEWER_LINE_UP BUTTON_VOL_UP
#define VIEWER_LINE_DOWN BUTTON_VOL_DOWN
The Rockbox version is r17111M-080415
And here is a list of the files that the EQ patch I applied altered:
apps/lang/english.lang
apps/menus/eq_menu.c
This EQ patch is on my player too, so I doubt that's it.
Any ideas?
gevaerts:
Please provide more information on what exactly goes wrong
lee321987:
Never mind. I re-did it all from start and it worked.
After running 'make' and 'make install' on the simulator what is the file 'C:\cygwin\home\Will\rockbox\sim\rockbox-full.zip' for?
nls:
the 'make install' on the sim just makes a zip like a regular build when doing 'make zip' but 'make install' then unzips it to the archos dir in your sim build dir.
lee321987:
Ok. Is there a command to only build the simulator? As if I already have a Rockbox build?
Navigation
[0] Message Index
[#] Next page
Go to full version