31 | | * if everything is OK a console should be opened and you will be promted whether have a minGW installed and where it is |
32 | | * start msys |
33 | | * unpack coreutils. The unpacked folder contains many UNIX commands and you can copy the one you need. For building ffmpeg you need pr. So copy pr.exe to msys/bin directory |
34 | | * checout the natives from the svn |
35 | | * svn co svn://sophie2.org/sophie2/branches/private/nenko/natives2/sophie2-natives |
36 | | * the folder structure in sophie2-natives is the following: |
37 | | * lib-src - containing the source code for the libraries we depend on |
38 | | * lib-target - contains the built libraries |
39 | | * src - contains the natives code |
40 | | * junk - contains junk. The building happens in this folder |
41 | | * so to build the ffmpeg library: |
42 | | * start msys - usually there's an icon on the Desktop |
43 | | * you will see bash like console. You can access your local drives with the following command: |
44 | | *cd c:/msys/ |
45 | | * cd c: |
46 | | * go to lib-src |
47 | | * For example: cd c:/sophie2-natives |
48 | | * execute make ffmpeg or make all (make all will build all libraries) |
49 | | * For example: make ffmpeg |
| 31 | * if everything is OK a console should be opened and you will be promted whether have a [http://www.mingw.org/ MinGW] installed and where it is |
| 32 | * download and unpack 'coreutils'. The unpacked folder contains many UNIX commands and you can copy the one you need. For building ffmpeg you need 'pr'. So copy pr.exe to msys/bin directory |
| 33 | * checout the natives from the svn |
| 34 | * svn co svn://sophie2.org/sophie2/branches/private/nenko/natives2/sophie2-natives |
| 35 | * the folder structure in sophie2-natives is the following: |
| 36 | * lib-src - containing the source code for the libraries we depend on |
| 37 | * lib-target - contains the built libraries |
| 38 | * src - contains the natives code |
| 39 | * junk - contains junk. The building happens in this folder |
53 | | http://ffmpeg.arrozcru.org/wiki/index.php?title=MSys_MinGW |
| 42 | To build the ffmpeg library: |
| 43 | * start msys - usually there's an icon on the Desktop |
| 44 | * you will see bash (like) console. You can access your local drives with the following command: |
| 45 | * cd c:/msys/ |
| 46 | * cd c: |
| 47 | * go to sophie2-native |
| 48 | * For example: cd c:/sophie2-natives/ |
| 49 | * create a text file custom.mk that contains the line - PLATF=win32 |
| 50 | * go to sophie2-native/lib-src |
| 51 | * For example: cd c:/sophie2-natives/lib-src or cd lib-src |
| 52 | * execute make ffmpeg or make all (make all will build all libraries) |
| 53 | * For example: make ffmpeg |
| 54 | |
| 55 | References: |
| 56 | |
| 57 | http://www.mingw.org/ [[BR]] |
| 58 | http://ffmpeg.arrozcru.org/wiki/index.php?title=MSys_MinGW [[BR]] |
| 59 | http://en.wikipedia.org/wiki/Make_(software) [[BR]] |
| 60 | http://www.gnu.org/software/make/ [[BR]] |
| 61 | http://asteasolutions.net/~nenko [[BR]] |
| 62 | |
| 63 | GROUP_WRAPPERS_R0 [[BR]] |
| 64 | MEDIA_ENGINE_IMPL_MAIN_R2 |