# 開発環境を整える
## 必要なライブラリ
* [SDL](http://www.libsdl.org)
* [SDL_image](http://www.libsdl.org/projects/SDL_image/)
  * [jpeg_v8](http://www.ijg.org/files/)
  * [libpng](http://www.libpng.org/pub/png/libpng.html)
    * [ZLib](http://www.gzip.org/zlib/)
  * [libtiff](ftp://ftp.sgi.com/graphics/tiff/)
* [SDL_sound](http://icculus.org/SDL_sound/)
  * [libogg](http://xiph.org/ogg/)
  * [libvorbis](http://xiph.org.vorbis)
## mingwを使う場合
[mingw](http://sourceforge.net/projects/mingw/files/)からMingwとMSYSをダウンロードしてインストール
[DirectX SDK](http://www.libsdl.org/extras/win32/common/)をダウンロードする(MS公式からのバージョンはダメ）
[nasm](/http://www.nasm.us/pub/nasm/releasebuilds/?C=M;O=D)もダウンロードする
ライブラリを展開する

# mingwでUNIX上でクロスビルド [#jPU8Ox1]
(debian/linuxの例)

必要なパッケージをインストール
@@ # apt-get install autoconf automake autopoint bash bison bzip2 cmake flex gettext git g++ gperf intltool libffi-dev libtool libltdl-dev libssl-dev libxml-parser-perl make openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils libtool-bin@@

64bit環境の場合はこれも

@@ # apt-get install g++-multilib libc6-dev-i386 @@

MXEのインストール

@@ git clone https://github.com/mxe/mxe.git @@

必要なライブラリのビルド
@@ make boost @@
@@ make sdl @@
@@ make sdl_net @@
@@ make sdl_image @@
@@ make sdl_ttf @@
@@ make sdl_sound @@
@@ make zzliblib @@
@@ make smpeg @@
@@ make speex @@
@@ make libsndfile @@

ビルド実行
@@ ./mxe-build.sh @@
@@ ./mxe-make.sh @@

<!-- TODO これで全部？-->

```

```

# gccの場合(UNIX)
SDL,SDL_image,SDL_net,SDL_sound,smpegをVisualStudio2005の項目と同様にして導入。
ソースを展開して./configure;make;make installで結構すんなりいくはず
行かない場合はライブラリが入っていないか、ライブラリが入っていないかです。
BSDの場合はLINUXエミュレーションライブラリのバージョンに注意。

# コメント

---

## Page Navigation

- Canonical URL: https://mjolnir.logue.be/開発環境を整える
- Permalink: https://mjolnir.logue.be/66d98b21fc4c8b004bff186c
- Parent: [/](/66d9947b9f312503f26d8f9c.md)
- Children: 2 total
  - [Linuxでクロスビルド](/66d98b23fc4c8b004bff186e.md)
  - [MinGW](/66d98b25fc4c8b004bff1870.md)
- Total descendants: 2
- Siblings: 50 of 63 total (13 more not shown; see the page list API below for the full listing)
  - [2ch過去ログ](/66d9894dfc4c8b004bff16a8.md)
  - [Atque](/66d9894ffc4c8b004bff16aa.md)
  - [AutoAliasName](/66d98951fc4c8b004bff16ac.md)
  - [Blood of Bin Laden](/66d98953fc4c8b004bff16ae.md)
  - [Blue Fingers](/66d98955fc4c8b004bff16b0.md)
  - [CVS](/66d98957fc4c8b004bff16b2.md)
  - [Chisel](/66d98959fc4c8b004bff16b4.md)
  - [Comments](/66d995079f312503f26d916e.md)
  - [Devil in a Blue Dress](/66d98966fc4c8b004bff16c0.md)
  - [Eternal](/66d98968fc4c8b004bff16c2.md)
  - [Excalibur](/66d9896afc4c8b004bff16c4.md)
  - [FAQ](/66d9897dfc4c8b004bff16d6.md)
  - [Forge](/66d989d1fc4c8b004bff1728.md)
  - [Glossary](/66d989d5fc4c8b004bff172a.md)
  - [Infinity](/66d989d8fc4c8b004bff172c.md)
  - [Los Disneys](/66d989dafc4c8b004bff172e.md)
  - [Lua](/66d989dcfc4c8b004bff1730.md)
  - [M1A1](/66d989e6fc4c8b004bff173a.md)
  - [M2SE](/66d989e8fc4c8b004bff173c.md)
  - [MML](/66d989eafc4c8b004bff173e.md)
  - [MapEditorOne](/66d98a24fc4c8b004bff1776.md)
  - [Mapデータ仕様](/66d98a26fc4c8b004bff1778.md)
  - [Map作成](/66d98a28fc4c8b004bff177a.md)
  - [Map関連](/66d98a2afc4c8b004bff177c.md)
  - [MarathUp](/66d98a2cfc4c8b004bff177e.md)
  - [Marathon Squadron](/66d98a2efc4c8b004bff1780.md)
  - [Marathon2 Durandal](/66d98a30fc4c8b004bff1782.md)
  - [Marathonとは？](/66d98a32fc4c8b004bff1784.md)
  - [Navigation](/66d98a36fc4c8b004bff1788.md)
  - [Pfhorge](/66d98a38fc4c8b004bff178a.md)
  - [PhysicsEditorOne](/66d98a3bfc4c8b004bff178c.md)
  - [RED](/66d98a3dfc4c8b004bff178e.md)
  - [RecentChanges](/66d98a3ffc4c8b004bff1790.md)
  - [Release Note](/66d98a41fc4c8b004bff1792.md)
  - [RtM](/66d98a4dfc4c8b004bff179e.md)
  - [Rubicon](/66d98a4ffc4c8b004bff17a0.md)
  - [Rubicon考察](/69378321fa21eef483a35912.md)
  - [Sandbox](/66d9947b9f312503f26d8fba.md)
  - [ShapesEditorOne](/66d98ac5fc4c8b004bff1812.md)
  - [Sidebar](/66d98a34fc4c8b004bff1786.md)
  - [ThingsWhatKicks](/66d98ac7fc4c8b004bff1814.md)
  - [Trojan](/66d98ac9fc4c8b004bff1816.md)
  - [Where Monsters in a Dreams](/66d98acbfc4c8b004bff1818.md)
  - [user](/66d9947b9f312503f26d8fcb.md)
  - [オンライン対戦](/66d98acdfc4c8b004bff181a.md)
  - [コメント](/66d995079f312503f26d9176.md)
  - [シナリオ紹介](/66d98adbfc4c8b004bff1828.md)
  - [ソースコード解析](/66d98addfc4c8b004bff182a.md)
  - [ダウンロード](/66d98adffc4c8b004bff182c.md)
  - [テンプレ](/66d98ae1fc4c8b004bff182e.md)
- Last updated: 2024-09-05T11:03:32.435Z by 
- Full page listing (all children regardless of count): https://mjolnir.logue.be/_api/v3/page-listing/children?id=66d98b21fc4c8b004bff186c
