4: 2011-12-29 (Thu) 04:01:58 iseki |
5: 2011-12-29 (Thu) 13:18:54 iseki |
| | | |
| ** Windows 下での再コンパイル [#zf53acee] | | ** Windows 下での再コンパイル [#zf53acee] |
- | - コンパイル方法: http://wiki.phoenixviewer.com/doku.php?id=fs_compiling_firestorm_windows | |
| - ソースリポジトリ: http://hg.phoenixviewer.com/ | | - ソースリポジトリ: http://hg.phoenixviewer.com/ |
| + | - コンパイル方法: http://wiki.phoenixviewer.com/doku.php?id=fs_compiling_firestorm_windows |
| + | #br |
| + | - 必要なソフト |
| + | -- VC2010, Cmake2.8, Python2.7, Mercurial(hg), Cygwin, Unicode NSIS, QuickTime SDK |
| + | |
| + | #br |
| + | |
| + | *** Download of Source code [#d12930c6] |
| + | - 3.2.1.24179: hg clone http://hg.phoenixviewer.com/phoenix-firestorm-lgpl/ phoenix-firestorm-3.2.1.24179 -u 24179 |
| + | - 3.2.2.24336: hg clone http://hg.phoenixviewer.com/phoenix-firestorm-sh/ phoenix-firestorm-3.2.2.24336 -u 24336 |
| #br | | #br |
- | *** Download [#d12930c6] | |
- | - 3.2.1.24179 | |
- | hg clone http://hg.phoenixviewer.com/phoenix-firestorm-lgpl/ phoenix-firestorm-3.2.1.24179 -u 24179 | |
- | - 3.2.2.24336 | |
- | hg clone http://hg.phoenixviewer.com/phoenix-firestorm-sh/ phoenix-firestorm-3.2.2.24336 -u 24336 | |
| | | |
| *** Cygwin [#oc6652ec] | | *** Cygwin [#oc6652ec] |
| | | |
| *** autobuild [#t6a65935] | | *** autobuild [#t6a65935] |
| + | - hg clone http://hg.secondlife.com/autobuild/ |
| - autobuild\bin\ にパスが必要. C:\python27 にパスが必要. | | - autobuild\bin\ にパスが必要. C:\python27 にパスが必要. |
| - autobuild で boto のエラーが出る.(autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'boto') | | - autobuild で boto のエラーが出る.(autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'boto') |
| -- 面倒なので,Cygwin の Shell で該当フォルダまで行って, chmod -R a+rwx . | | -- 面倒なので,Cygwin の Shell で該当フォルダまで行って, chmod -R a+rwx . |
| #br | | #br |
- | *** Compile [#l77936d5] | |
| | | |
| + | *** Fmod [#y0db3328] |
| + | - Make Package |
| + | hg clone https://bitbucket.org/lindenlab/3p-fmod/ |
| + | cd 3p-fmod |
| + | autobuild build --all |
| + | autobuild package |
| + | - Check md5 checksum that "autobuild package" is outputed |
| + | packing fmod |
| + | wrote J:\firestorm\3p-fmod\fmod-3.75-windows-20111229.tar.bz2 |
| + | md5 8fb05751bf7c994ce38cd2d98f3b21c4 |
| + | #br |
| | | |
| + | *** Generate Project File of VC2010 [#l77936d5] |
| + | cd [TOP of Source] |
| + | copy autobuild.xml my_autobuild.xml |
| + | Rewrite my_autobuild.xml to ''md5 checksum'' and directory of Fmod |
| + | set AUTOBUILD_CONFIG_FILE=my_autobuild.xml |
| + | autobuild configure -c ReleaseFS_open |
| + | #br |
| + | *** Compile [#n8c69b1e] |
| + | - build-vc100\ALL_BUILD/vcxproj をダブルクリックして VC2010 を起動 |
| + | - ソリューションエクスプローラーの firestorm-bin を 1クリックして,ビルドメニューから firestorm-bin のビルドを行う. |
| + | #br |
| | | |
- | C:\Program Files (x86)\QuickTime SDK\CIncludes\GNUCompatibility\stdint.h | + | *** Compile Errors [#gccae407] |
| + | - QuickTime SDK\CIncludes\GNUCompatibility\stdint.h と build-vc100\packages\include\boost\cstdint.hpp がコンフリクト |
| + | -- stdint.h を適当に書き換える |
| + | #ifndef BOOST_CSTDINT_HPP |
| + | typedef short int_fast16_t; |
| + | typedef unsigned short uint_fast16_t; |
| + | #endif |
| + | ................. |
| + | ................. |
| + | #ifndef INT8_C |
| + | #define INT8_C(val) (INT_LEAST8_MAX-INT_LEAST8_MAX+(val)) |
| + | #define INT16_C(val) (INT_LEAST16_MAX-INT_LEAST16_MAX+(val)) |
| + | #define INT32_C(val) (INT_LEAST32_MAX-INT_LEAST32_MAX+(val)) |
| + | #define INT64_C(val) (INT_LEAST64_MAX-INT_LEAST64_MAX+(val)) |
| | | |
- | /* 7.18.1.3 Fastest minimum-width integer types | + | #define UINT8_C(val) (UINT_LEAST8_MAX-UINT_LEAST8_MAX+(val)) |
- | * Not actually guaranteed to be fastest for all purposes | + | #define UINT16_C(val) (UINT_LEAST16_MAX-UINT_LEAST16_MAX+(val)) |
- | * Here we use the exact-width types for 8 and 16-bit ints. | + | #define UINT32_C(val) (UINT_LEAST32_MAX-UINT_LEAST32_MAX+(val)) |
- | */ | + | #define UINT64_C(val) (UINT_LEAST64_MAX-UINT_LEAST64_MAX+(val)) |
- | typedef char int_fast8_t; | + | #endif |
- | typedef unsigned char uint_fast8_t; | + | |
| | | |
- | #ifndef BOOST_CSTDINT_HPP | + | /* 7.18.4.2 Macros for greatest-width integer constants */ |
- | typedef short int_fast16_t; | + | #ifndef INTMAX_C |
- | typedef unsigned short uint_fast16_t; | + | #define INTMAX_C(val) (INTMAX_MAX-INTMAX_MAX+(val)) |
- | #endif | + | #define UINTMAX_C(val) (UINTMAX_MAX-UINTMAX_MAX+(val)) |
| + | #endif |
| | | |
- | | + | - C2220 のエラーが出る場合は,UTF-8(BOM付き)で保存し直す. |
- | | + | - その他適当に修正する. |
- | #ifndef INT8_C | + | #br |
- | #define INT8_C(val) (INT_LEAST8_MAX-INT_LEAST8_MAX+(val)) | + | |
- | #define INT16_C(val) (INT_LEAST16_MAX-INT_LEAST16_MAX+(val)) | + | |
- | #define INT32_C(val) (INT_LEAST32_MAX-INT_LEAST32_MAX+(val)) | + | |
- | #define INT64_C(val) (INT_LEAST64_MAX-INT_LEAST64_MAX+(val)) | + | |
- | | + | |
- | #define UINT8_C(val) (UINT_LEAST8_MAX-UINT_LEAST8_MAX+(val)) | + | |
- | #define UINT16_C(val) (UINT_LEAST16_MAX-UINT_LEAST16_MAX+(val)) | + | |
- | #define UINT32_C(val) (UINT_LEAST32_MAX-UINT_LEAST32_MAX+(val)) | + | |
- | #define UINT64_C(val) (UINT_LEAST64_MAX-UINT_LEAST64_MAX+(val)) | + | |
- | #endif | + | |
- | | + | |
- | | + | |
- | /* 7.18.4.2 Macros for greatest-width integer constants */ | + | |
- | #ifndef INTMAX_C | + | |
- | #define INTMAX_C(val) (INTMAX_MAX-INTMAX_MAX+(val)) | + | |
- | #define UINTMAX_C(val) (UINTMAX_MAX-UINTMAX_MAX+(val)) | + | |
- | #endif | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | typedef int int_fast32_t; | + | |
- | | + | |
- | | + | |
- | C:\firestorm\phoenix-firestorm-lgpl\build-vc100\packages\include\boost\cstdint.hpp | + | |