Hi there,
I don't manage to compile rbutil using neither MSYS nor Cygwin.
I am doing the following steps (I wrote these instructions for the sake of adding a dedicated TWiki page for this purpose):
Install QT (
http://trolltech.com/downloads/opensource)
Install MinGW (
http://sourceforge.net/projects/mingw), download 'Automated MinGW Installer'
Add 'C:\MinGW\bin' to my PATH environment variable
Install MSYS Base System (
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963). Take care to select 'Current Release', and not 'Technology Preview'. Download MSYS-1.X.XX.exe and run it.
It is important to choose to execute the post install process during installation.
Further instructions available here:
http://www.mingw.org/MinGWiki/index.php/Install%20MSYS Open the MSYS shell:
Start -> Programs -> MinGW -> MSYS -> msys
$ export QTDIR=/c/Qt/4.3.1/
$ export QMAKESPEC=win32-g++
$ cd <Rockbox-dir>
$ cd rbutil/rbutilqt
$ /c/Qt/4.3.1/bin/qmake.exe -config dbg
$ make
...
make[1]: *** No rule to make target `..\ipodpatcher\ipodpatcher.h', needed by `build/orbutilqt.o'. Stop.
make[1]: Leaving directory `/j/rockbox/rbutil/rbutilqt'
make: *** [debug] Error 2
This error is caused due many path strings in Makefile* contain a backslash ('\') instead of a slash ('/') as a path separator.
When I *manually* change '\' to '/' in all relevant locations, I still get errors.
Also, notice the path format returned by qmake:
$ /c/Qt/4.3.1/bin/qmake -query "QT_INSTALL_PREFIX"
C:\Qt\4.3.1
$ /c/Qt/4.3.1/bin/qmake -query "QT_INSTALL_DATA"
C:\Qt\4.3.1
Setting a new value is impossible:
$ /c/Qt/4.3.1/bin/qmake -set "QT_INSTALL_DATA" "C:/Qt/4.3.1"
$ /c/Qt/4.3.1/bin/qmake -query "QT_INSTALL_DATA"
C:\Qt\4.3.1
I seems that MSYS is sensitive backslashes inside path string.
Can you please help me compiling the Rockbox application under Windows?
Also, can I compile this on Cygwin? Can anyone provide me with details instructions?
I couldn't compile it myself on Cygwin. Still trying...
Many thanks, Tomer