flagflag  If you want to see English page, please click "English" Button at Left.

Windows 下での再コンパイル anchor.png

 
Page Top

Download of Source Code anchor.png

Page Top

Cygwin anchor.png

  • unzip, bison, flex, patchutils , curl が必要
  • bin に PATHが必要.インストール時にパスを通しておけば不用.
     
Page Top

VC2010 anchor.png

  • VC++ 2010 Express は MFC が使えん.ダメダメである.(Firestorm をコンパイルするだけなら問題ない)
  • VS2010 Professional を入れなおす.
     
Page Top

autobuild anchor.png

  • hg clone http://hg.secondlife.com/autobuild/
  • autobuild\bin\ にパスが必要. C:\python27 にパスが必要.
  • autobuild で pathcheck のエラーが出た場合.(autobuild.common.AutobuildError: invalid 'pathcheck' setting for '.....)
    • boto は python2.5 のライブラリらしいが,実際には必要ないみたい.
    • autobuild/autobuild/common.py の L533-539 をコメントアウト
    • autobuild/autobuild/connection.py の L40 をコメントアウト
    • AppData\Local\Temp\install.cache.<ユーザ名>\* を消す
  • Cドライブでやると,書き込みでパーミッションエラーが出る.
    • Windows でパーミッション? ;(
    • 面倒なので,Cygwin の Shell で該当フォルダまで行って, chmod -R a+rwx .
       
Page Top

Fmod anchor.png

  • 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.tar.bz2
    md5    8fb05751bf7c994ce38cd2d98f3b21c4
     
Page Top

Re-Compile anchor.png

Page Top

Generate Project File for VC2010 anchor.png

  1. cd [TOP of Source]
  2. copy autobuild.xml my_autobuild.xml
    • Rewrite md5 checksum and directory of Fmod in my_autobuild.xml
  3. autobuild を実行
    set AUTOBUILD_CONFIG_FILE=my_autobuild.xml
    autobuild configure -c ReleaseFS_open  -- -DFMOD=TRUE
  4. OpenSim の機能を有効にするには,HAS_OPENSIM_SUPPORT を有効にする
    autobuild configure -c ReleaseFS_open  -- -DFMOD=TRUE -DHAS_OPENSIM_SUPPORT=TRUE
Page Top
Sample of change for my_autobuild.xml anchor.png
  • Original
    <map>
      <key>hash</key>
      <string>ecf16c7d1b878a9733f4a85d28347948</string>
      <key>url</key>
      <string>file:///c:/cygwin/opt/firestorm/fmod-3.75-windows-20110706.tar.bz2</string>
    </map>
  • Modify
    <map>
      <key>hash</key>
      <string>8fb05751bf7c994ce38cd2d98f3b21c4</string>
      <key>url</key>
      <string>file:///j:/firestorm/3p-fmod/fmod-3.75-windows-20111229.tar.bz2</string>
    </map>
Page Top

Compile anchor.png

  • build-vc100\ALL_BUILD.vcxproj をダブルクリックして VC2010 を起動
  • ソリューションエクスプローラーの firestorm-bin を クリックして,ビルドメニューから firestorm-bin のビルドを行う (ターゲットは Release).
  • build-vc100\newview\Release に Viewer が構築される.
     
Page Top

Compile Errors anchor.png

  • QuickTime SDK\CIncludes\GNUCompatibility\stdint.h と build-vc100\packages\include\boost\cstdi​nt.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))
      
      #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
  • C2220 のエラーが出る場合は,UTF-8(BOM付き)で保存し直す.
  • その他適当に修正する.
     

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 2111, today: 1, yesterday: 1
最終更新: 2013-06-13 (木) 16:18:00 (JST) (3970d) by iseki

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

105 人のユーザが現在オンラインです。 (11 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 105

もっと...

アクセスカウンタ

今日 : 1651216512165121651216512
昨日 : 1406514065140651406514065
総計 : 2335753423357534233575342335753423357534233575342335753423357534
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com