X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b97a3d994b53dade7cf3460ec4246cbbc258212e..13bb3b4b117db3787675f2af40cb9769b416cd3d:/client/COMPILING diff --git a/client/COMPILING b/client/COMPILING index 7f131e08..4e15107f 100644 --- a/client/COMPILING +++ b/client/COMPILING @@ -11,63 +11,47 @@ and optionally libQT To compile, just run "make". -========== -= MingGW = -========== -It is known to work using: -- MingW 5.1.6 -- MSYS 1.0.11 -- libpthread 2.8.0 (from MinGW or directly from pthread-win32) -- readline 5.0 from gnuwin32 -- libusb-win32-device-bin-0.1.12.2 - Be careful here, it is *NOT* working with the filter version! - You have to use the device version and use the inf-wizard - to create a driver for your proxmark and install it. - -Setting up the Windows "client folder" compile environment. - -Download MinGW-5.1.6.exe from http://sourceforge.net/projects/mingw/files/ - -Run it, click next, leave "Download and Install" selected, click next -Agree to license, leave "Current" selected, click next -Select "MinGW base" and "MinGW make", click next -Select installation folder, click next, Install, click next and finish. - -CAUTION! When extracting the downloaded archives further down in this guide, -make sure that the contents of the archive directories go into the MinGW -installation directories, eg archive bin goes to MinGW bin, archive lib to -MinGW lib, etc, otherwise if the archive extracts into it's own subdirecory -the paths to the files will be all wrong. - -You should now have the base MinGW installed in whatever installation folder -you selected earlier. By default it installs GCC 3.4.5 so if you want to -go to GCC 4.4 go back to http://sourceforge.net/projects/mingw/files/ and -download gcc-full-4.4.0-mingw32-bin-2.tar which includes the ADA, Fortran, -Java, etc compilers as well, but it is by far the easiest for newbees to -download and install as it already includes pthreads and a few other -libraries/dlls required by the GCC compiler. - -After download, extract it into the MinGW installation directory, see -caution note above. - -Download readline from http://sourceforge.net/projects/gnuwin32/files/readline/5.0-1/readline-5.0-1-bin.zip/download -Extract it into the MinGW installation directory, see caution note above. - -Download http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/0.1.12.2/libusb-win32-device-bin-0.1.12.2.tar.gz/download -Extract it into the MinGW installation directory, see caution note above. - -By default, the installer should have set your system path to the MinGW -installation \bin directory, verify this by opening a command prompt and -typing "gcc -v". You should get some text output indicating the version of -your GCC compiler (either 3.4.5 or 4.4 depending on what you installed). -If you get "unrecognized command", you must set the path manually. - -You can now run 0setpath.bat and 3makewin.bat in the cockpit and have the -client compiled. During compilation you will see some CreateProcess failed -and some "system cannot find the path specified" messages, however the -compile will succeed and you will have some .exe files. The error messages -relate to the fact that windows doesn't have the uname command, and possibly -some other makefile related stuff following the recent changes. +=========== += Windows = +=========== +The following is a complete list of packages required to setup the compile environment yourself. Alternatively you can download an archive of the full environment (see below). + +1 - Install QT SDK for Windows [1] + +In the following instructions, we'll assume you installed it to C:\QT + +2 - MSYS-1.0.11 [2] + +Just follow the installation procedure. +When asked if you have MinGW installed and for its path, provide: +C:/QT/mingw + +3 - readline-5.0-1-bin [5] + +From this archive, copy: +bin/* to C:\QT\mingw\bin +include/* to C:\QT\mingw\include +lib/*.a to C:\QT\mingw\lib + +4 - libusb-win32-device-bin-0.1.12.2 [6] + +Be careful here, it is *NOT* working with the filter version! +Likewise copy: +include/usb.h to C:\QT\mingw\include +lib/gcc/libusb.a to C:\QT\mingw\lib + +Download links: + +[1] http://qt.nokia.com/downloads/sdk-windows-cpp +[2] http://downloads.sourceforge.net/mingw/MSYS-1.0.11.exe +[3] http://sourceforge.net/projects/gnuwin32/files/readline/5.0-1/readline-5.0-1-bin.zip/download +[4] http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/0.1.12.2/libusb-win32-device-bin-0.1.12.2.tar.gz/download + +Rather than download and install every one of these packages, a new ProxSpace +environment archive file will be made available for download on the project +page at http://code.google.com/p/proxmark3/downloads/list + +Download the ProxSpace environment archive and extract it to C:\ ============ = Mac OS X =