Firestorm/Compile
をテンプレートにして作成
[
トップ
] [
タイトル一覧
|
ページ一覧
|
新規
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
** Windows 下での再コンパイル [#la3e53b5]
- ソースリポジトリ: http://hg.phoenixviewer.com/
- コンパイル方法: http://wiki.phoenixviewer.com/doku.php?...
- 必要なソフト
-- VC2010, Cmake2.8, Python2.7, Mercurial(hg), Cygwin, Un...
*** Download of Source Code [#q2614015]
- 4.2.2.2.
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-l...
- 4.0.1.27000
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-l...
- 3.2.1.24179: http://hg.phoenixviewer.com/phoenix-firest...
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-l...
- 3.2.2.24336: http://hg.phoenixviewer.com/phoenix-firest...
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-s...
- 3.3.0.24882: http://hg.phoenixviewer.com/firestorm_3.2....
hg clone http://hg.phoenixviewer.com/firestorm_3.2.2_to_...
*** Cygwin [#s8a8ae78]
- unzip, bison, flex, patchutils , curl が必要
- bin に PATHが必要.インストール時にパスを通しておけば不...
*** VC2010 [#x660eb4b]
- VC++ 2010 Express は MFC が使えん.ダメダメである.(Fir...
- VS2010 Professional を入れなおす.
*** autobuild [#ye8c5592]
- hg clone http://hg.secondlife.com/autobuild/
- autobuild\bin\ にパスが必要. C:\python27 にパスが必要.
- autobuild で pathcheck のエラーが出た場合.(autobuild.c...
-- %%boto は python2.5 のライブラリらしいが,実際には必要...
-- %%autobuild/autobuild/common.py の L533-539 をコメン...
-- %%autobuild/autobuild/connection.py の L40 をコメント...
-- AppData\Local\Temp\install.cache.<ユーザ名>\* を消す
- Cドライブでやると,書き込みでパーミッションエラーが出る.
-- Windows でパーミッション? ;(
-- 面倒なので,Cygwin の Shell で該当フォルダまで行って,...
*** Fmod [#yde40e75]
- Make Package
hg clone https://bitbucket.org/lindenlab/3p-fmod/
cd 3p-fmod
autobuild build --all
autobuild package
- Check md5 checksum that "autobuild package" outputed
packing fmod
wrote J:\firestorm\3p-fmod\fmod-3.75-windows-20111229.t...
md5 8fb05751bf7c994ce38cd2d98f3b21c4
** Re-Compile [#s15f6a67]
*** Generate Project File for VC2010 [#s891f9a5]
+ cd [TOP of Source]
+ copy autobuild.xml my_autobuild.xml
-- Rewrite ''md5 checksum'' and ''directory'' of Fmod in ...
+ ''autobuild'' を実行
set AUTOBUILD_CONFIG_FILE=my_autobuild.xml
autobuild configure -c ReleaseFS_open -- -DFMOD=TRUE
+ OpenSim の機能を有効にするには,''HAS_OPENSIM_SUPPORT''...
autobuild configure -c ReleaseFS_open -- -DFMOD=TRUE -...
**** Sample of change for my_autobuild.xml [#c5b29c7d]
- Original
<map>
<key>hash</key>
<string>ecf16c7d1b878a9733f4a85d28347948</string>
<key>url</key>
<string>file:///c:/cygwin/opt/firestorm/fmod-3.75-wind...
</map>
- Modify
<map>
<key>hash</key>
<string>8fb05751bf7c994ce38cd2d98f3b21c4</string>
<key>url</key>
<string>file:///j:/firestorm/3p-fmod/fmod-3.75-windows...
</map>
*** Compile [#lf183c42]
- build-vc100\ALL_BUILD.vcxproj をダブルクリックして VC20...
- ソリューションエクスプローラーの firestorm-bin を クリ...
- build-vc100\newview\Release に Viewer が構築される.
*** Compile Errors [#b54caaa1]
- QuickTime SDK\CIncludes\GNUCompatibility\stdint.h と bu...
-- 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+(v...
#define INT32_C(val) (INT_LEAST32_MAX-INT_LEAST32_MAX+(v...
#define INT64_C(val) (INT_LEAST64_MAX-INT_LEAST64_MAX+(v...
#define UINT8_C(val) (UINT_LEAST8_MAX-UINT_LEAST8_MAX+(v...
#define UINT16_C(val) (UINT_LEAST16_MAX-UINT_LEAST16_MAX...
#define UINT32_C(val) (UINT_LEAST32_MAX-UINT_LEAST32_MAX...
#define UINT64_C(val) (UINT_LEAST64_MAX-UINT_LEAST64_MAX...
#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
- C2220 のエラーが出る場合は,UTF-8(BOM付き)で保存し直...
- その他適当に修正する.
終了行:
** Windows 下での再コンパイル [#la3e53b5]
- ソースリポジトリ: http://hg.phoenixviewer.com/
- コンパイル方法: http://wiki.phoenixviewer.com/doku.php?...
- 必要なソフト
-- VC2010, Cmake2.8, Python2.7, Mercurial(hg), Cygwin, Un...
*** Download of Source Code [#q2614015]
- 4.2.2.2.
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-l...
- 4.0.1.27000
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-l...
- 3.2.1.24179: http://hg.phoenixviewer.com/phoenix-firest...
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-l...
- 3.2.2.24336: http://hg.phoenixviewer.com/phoenix-firest...
hg clone http://hg.phoenixviewer.com/phoenix-firestorm-s...
- 3.3.0.24882: http://hg.phoenixviewer.com/firestorm_3.2....
hg clone http://hg.phoenixviewer.com/firestorm_3.2.2_to_...
*** Cygwin [#s8a8ae78]
- unzip, bison, flex, patchutils , curl が必要
- bin に PATHが必要.インストール時にパスを通しておけば不...
*** VC2010 [#x660eb4b]
- VC++ 2010 Express は MFC が使えん.ダメダメである.(Fir...
- VS2010 Professional を入れなおす.
*** autobuild [#ye8c5592]
- hg clone http://hg.secondlife.com/autobuild/
- autobuild\bin\ にパスが必要. C:\python27 にパスが必要.
- autobuild で pathcheck のエラーが出た場合.(autobuild.c...
-- %%boto は python2.5 のライブラリらしいが,実際には必要...
-- %%autobuild/autobuild/common.py の L533-539 をコメン...
-- %%autobuild/autobuild/connection.py の L40 をコメント...
-- AppData\Local\Temp\install.cache.<ユーザ名>\* を消す
- Cドライブでやると,書き込みでパーミッションエラーが出る.
-- Windows でパーミッション? ;(
-- 面倒なので,Cygwin の Shell で該当フォルダまで行って,...
*** Fmod [#yde40e75]
- Make Package
hg clone https://bitbucket.org/lindenlab/3p-fmod/
cd 3p-fmod
autobuild build --all
autobuild package
- Check md5 checksum that "autobuild package" outputed
packing fmod
wrote J:\firestorm\3p-fmod\fmod-3.75-windows-20111229.t...
md5 8fb05751bf7c994ce38cd2d98f3b21c4
** Re-Compile [#s15f6a67]
*** Generate Project File for VC2010 [#s891f9a5]
+ cd [TOP of Source]
+ copy autobuild.xml my_autobuild.xml
-- Rewrite ''md5 checksum'' and ''directory'' of Fmod in ...
+ ''autobuild'' を実行
set AUTOBUILD_CONFIG_FILE=my_autobuild.xml
autobuild configure -c ReleaseFS_open -- -DFMOD=TRUE
+ OpenSim の機能を有効にするには,''HAS_OPENSIM_SUPPORT''...
autobuild configure -c ReleaseFS_open -- -DFMOD=TRUE -...
**** Sample of change for my_autobuild.xml [#c5b29c7d]
- Original
<map>
<key>hash</key>
<string>ecf16c7d1b878a9733f4a85d28347948</string>
<key>url</key>
<string>file:///c:/cygwin/opt/firestorm/fmod-3.75-wind...
</map>
- Modify
<map>
<key>hash</key>
<string>8fb05751bf7c994ce38cd2d98f3b21c4</string>
<key>url</key>
<string>file:///j:/firestorm/3p-fmod/fmod-3.75-windows...
</map>
*** Compile [#lf183c42]
- build-vc100\ALL_BUILD.vcxproj をダブルクリックして VC20...
- ソリューションエクスプローラーの firestorm-bin を クリ...
- build-vc100\newview\Release に Viewer が構築される.
*** Compile Errors [#b54caaa1]
- QuickTime SDK\CIncludes\GNUCompatibility\stdint.h と bu...
-- 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+(v...
#define INT32_C(val) (INT_LEAST32_MAX-INT_LEAST32_MAX+(v...
#define INT64_C(val) (INT_LEAST64_MAX-INT_LEAST64_MAX+(v...
#define UINT8_C(val) (UINT_LEAST8_MAX-UINT_LEAST8_MAX+(v...
#define UINT16_C(val) (UINT_LEAST16_MAX-UINT_LEAST16_MAX...
#define UINT32_C(val) (UINT_LEAST32_MAX-UINT_LEAST32_MAX...
#define UINT64_C(val) (UINT_LEAST64_MAX-UINT_LEAST64_MAX...
#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
- C2220 のエラーが出る場合は,UTF-8(BOM付き)で保存し直...
- その他適当に修正する.
ページ名: