谁来编译下 加勒比海盗类的游戏Crown and Cutlass── 我没弄懂。。。
发表于 : 2008-03-01 21:22
官方编译说明::::: 不知道为什么我的不行。。。
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
谁试验下再截个图啊~~~
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
谁试验下再截个图啊~~~