官方编译说明::::: 不知道为什么我的不行。。。
http://crownandcutlass.wiki.sourceforge ... structions
Ubuntu
1. apt安装(以下 ":" 后是包名)
编译环境+SVN:
build-essential
subversion
SDL:
libsdl1.2debian
libsdl1.2-dev
SDL_Image:
libsdl-image1.2
libsdl-image1.2-dev
OpenAL:
libopenal0a
libopenal-dev
ALUT:
libalut0
libalut-dev
Ogg Vorbis:
libogg0
libogg-dev
libvorbis0a
libvorbis-dev
libvorbisfile3
Guichan:
libguichan0
libguichan0-dev
GLU:
libglu1-mesa
libglu1-mesa-dev
Boost:
libboost-* (except perhaps "libboost-dbg" and "libboost-doc", although they could be useful)
Note: The "*-dev" packages are important! They include the headers that are necessary to compile a project using those libraries. You will get numerous build errors if you fail to install the dev packages.
2. Everything from here on should be in a terminal. Go to the directory you want to be the parent directory of the Crown and Cutlass code. This example will assume you use "~/Source/DownloadedProject/":
$ cd ~/Source/DownloadedProjects/
1. Fetch the code from Subversion:
$ svn co https://crownandcutlass.svn.sourceforge ... lass/trunk CrownAndCutlass
1. Download our latest data file from http://sourceforge.net/project/showfile ... _id=445209
Extract the contents to the "CrownAndCutlass" directory where you checked out the code from svn. When you are finished, the "CrownAndCutlass/CrownCutlass/data/" directory should contain "heightmap.png " and several sub-directories ("Fonts", "Models", "Music", etc.).
2. Go to the "CrownCutlass" directory:
$ cd ./CrownAndCutlass/CrownCutlass
1. Build Crown and Cutlass:
$ make
谁试验下再截个图啊~~~
谁来编译下 加勒比海盗类的游戏Crown and Cutlass── 我没弄懂。。。
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
谁来编译下 加勒比海盗类的游戏Crown and Cutlass── 我没弄懂。。。
上次由 luojie-dune 在 2008-03-10 16:47,总共编辑 2 次。
- yysq009
- 帖子: 2682
- 注册时间: 2007-01-28 23:00
- 来自: @江西|南昌@
- 联系:
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
- solcomo
- 帖子: 2838
- 注册时间: 2007-04-25 13:12
- Strange
- 帖子: 1824
- 注册时间: 2006-05-19 9:54
- 来自: Shanghai
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
- luojie-dune
- 帖子: 22033
- 注册时间: 2007-07-30 18:28
- 系统: Linux
- 来自: 空气中
ProtectedSVN Build Instructions
This is a set of instructions for building the pre-Protocce version of Crown and Cutlass. If you find a mistake or missing dependency, please post on our forums.
Ubuntu
1. Install the following packages. I would recommend using Synaptic.
Generic dev tools:
build-essential
subversion
SDL:
libsdl1.2debian
libsdl1.2-dev
SDL_Image:
libsdl-image1.2
libsdl-image1.2-dev
OpenAL:
libopenal0a
libopenal-dev
ALUT:
libalut0
libalut-dev
Ogg Vorbis:
libogg0
libogg-dev
libvorbis0a
libvorbis-dev
libvorbisfile3
Guichan:
libguichan0
libguichan0-dev
GLU:
libglu1-mesa
libglu1-mesa-dev
Boost:
libboost-* (except perhaps "libboost-dbg" and "libboost-doc", although they could be useful)
Note: The "*-dev" packages are important! They include the headers that are necessary to compile a project using those libraries. You will get numerous build errors if you fail to install the dev packages.
2. Everything from here on should be in a terminal. Go to the directory you want to be the parent directory of the Crown and Cutlass code. This example will assume you use "~/Source/DownloadedProject/":
$ cd ~/Source/DownloadedProjects/
1. Fetch the code from Subversion:
$ svn co https://crownandcutlass.svn.sourceforge ... lass/trunk CrownAndCutlass
1. Download our latest data file from http://sourceforge.net/project/showfile ... _id=445209
Extract the contents to the "CrownAndCutlass" directory where you checked out the code from svn. When you are finished, the "CrownAndCutlass/CrownCutlass/data/" directory should contain "heightmap.png " and several sub-directories ("Fonts", "Models", "Music", etc.).
2. Go to the "CrownCutlass" directory:
$ cd ./CrownAndCutlass/CrownCutlass
1. Build Crown and Cutlass:
$ make
This is a set of instructions for building the pre-Protocce version of Crown and Cutlass. If you find a mistake or missing dependency, please post on our forums.
Ubuntu
1. Install the following packages. I would recommend using Synaptic.
Generic dev tools:
build-essential
subversion
SDL:
libsdl1.2debian
libsdl1.2-dev
SDL_Image:
libsdl-image1.2
libsdl-image1.2-dev
OpenAL:
libopenal0a
libopenal-dev
ALUT:
libalut0
libalut-dev
Ogg Vorbis:
libogg0
libogg-dev
libvorbis0a
libvorbis-dev
libvorbisfile3
Guichan:
libguichan0
libguichan0-dev
GLU:
libglu1-mesa
libglu1-mesa-dev
Boost:
libboost-* (except perhaps "libboost-dbg" and "libboost-doc", although they could be useful)
Note: The "*-dev" packages are important! They include the headers that are necessary to compile a project using those libraries. You will get numerous build errors if you fail to install the dev packages.
2. Everything from here on should be in a terminal. Go to the directory you want to be the parent directory of the Crown and Cutlass code. This example will assume you use "~/Source/DownloadedProject/":
$ cd ~/Source/DownloadedProjects/
1. Fetch the code from Subversion:
$ svn co https://crownandcutlass.svn.sourceforge ... lass/trunk CrownAndCutlass
1. Download our latest data file from http://sourceforge.net/project/showfile ... _id=445209
Extract the contents to the "CrownAndCutlass" directory where you checked out the code from svn. When you are finished, the "CrownAndCutlass/CrownCutlass/data/" directory should contain "heightmap.png " and several sub-directories ("Fonts", "Models", "Music", etc.).
2. Go to the "CrownCutlass" directory:
$ cd ./CrownAndCutlass/CrownCutlass
1. Build Crown and Cutlass:
$ make