Post by grezzo16 on Jan 26, 2009 0:05:08 GMT
RESOLVED: AT THIS TIME THE INSTRUCTIONS ON THE WIKI ARE NOT CORRECT SO DOWNLOAD THE PRECOMPILED PACKAGES FROM THE "DOWNLOAD" SECTION
Hi to everyone
I'm attemping to build/compile this good game under Windows XP.
It's the first time I attemp to build/compile under win, so apologise me if i forget something "basilar".
I'm following the guide in the homepage (http://code.google.com/p/opentyrian/wiki/CompilingMinGW) and maybe some thing could be changed:
1: Say to find .exe files for MiniGW and MSYS, because sometimes on sourceforge the latest version hasn't the .exe files. I had the problem finding what i really need in these horde of zip, brz, tar files.
2: SDL: with the runtime i couldn't install anything: i've used the -dev package (SDL-devel-1.2.13-mingw32.tar.gz ) and i followed a guide to install it (http://www.netadelica.com/coding/sdl/install.html).
3: the suggestion to download SDL installer if you want the revision number in OpenTyrian: the link hasn't anything about SDL. We actually need only TortoiseSVN.
4: improve the sdl installation as said above.
5: the url for svn checkout is wrong: i suggest to write the correct url for either classic and enhanced versions.
6: i could not find the PLATFORM in Makefile in OpenTyrian folder: what i am supposed to do?
7: the part about subversion: we really need? maybe TortoiseSVN doesn't need this step.
8: the "Close MSYS" command isn't recognised.
9: the last part about copyng files in Tyrian 2.1 installation folder. Ok for who have the original game, but it isn't for those are building/compiling from scratch (like me).
maybe you can say to download the Data files as in the homepage and say something about renaming the downloaded folder (now called tyrian2.1) in "data" and copy it in OpenTyrian directory.
ok i've finished with suggestions, now my problem.
1: MSYS ---> make: i have an error finding "boost":
what i have to do? installing boost (http://www.boost.org/users/download/) ? and how to install?
thanks
Hi to everyone
I'm attemping to build/compile this good game under Windows XP.
It's the first time I attemp to build/compile under win, so apologise me if i forget something "basilar".
I'm following the guide in the homepage (http://code.google.com/p/opentyrian/wiki/CompilingMinGW) and maybe some thing could be changed:
1: Say to find .exe files for MiniGW and MSYS, because sometimes on sourceforge the latest version hasn't the .exe files. I had the problem finding what i really need in these horde of zip, brz, tar files.
2: SDL: with the runtime i couldn't install anything: i've used the -dev package (SDL-devel-1.2.13-mingw32.tar.gz ) and i followed a guide to install it (http://www.netadelica.com/coding/sdl/install.html).
3: the suggestion to download SDL installer if you want the revision number in OpenTyrian: the link hasn't anything about SDL. We actually need only TortoiseSVN.
4: improve the sdl installation as said above.
5: the url for svn checkout is wrong: i suggest to write the correct url for either classic and enhanced versions.
6: i could not find the PLATFORM in Makefile in OpenTyrian folder: what i am supposed to do?
7: the part about subversion: we really need? maybe TortoiseSVN doesn't need this step.
8: the "Close MSYS" command isn't recognised.
9: the last part about copyng files in Tyrian 2.1 installation folder. Ok for who have the original game, but it isn't for those are building/compiling from scratch (like me).
maybe you can say to download the Data files as in the homepage and say something about renaming the downloaded folder (now called tyrian2.1) in "data" and copy it in OpenTyrian directory.
ok i've finished with suggestions, now my problem.
1: MSYS ---> make: i have an error finding "boost":
Fabio@FABIO-PORTATILE /OpenTyrian
$ make
g++ -o src/precompiled.h.gch -c --std=c++98 -pedantic -Wall -Wno-unused -I/OpenT yrian/src/ -DPASCAL_TYPES -g3 -O0 -Werror -I/Users/hercules/tmp/SDL-1.2.13/inclu de/SDL -D_GNU_SOURCE=1 -Dmain=SDL_main -I/usr/include -DSVN_REV=\"854\" src/pre compiled.h
In file included from c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../.. /include/c++/3.4.5/bits/postypes.h:46,
from c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../.. /include/c++/3.4.5/iosfwd:50,
from c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../.. /include/c++/3.4.5/bits/stl_algobase.h:70,
from c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../.. /include/c++/3.4.5/algorithm:66,
from src/precompiled.h:27:
c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwc har:161: error: `::swprintf' has not been declared
c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cwc har:168: error: `::vswprintf' has not been declared
src/precompiled.h:71:43: boost/algorithm/string/join.hpp: No such file or direct ory
src/precompiled.h:72:43: boost/algorithm/string/trim.hpp: No such file or direct ory
src/precompiled.h:73:27: boost/array.hpp: No such file or directory
src/precompiled.h:74:53: boost/date_time/posix_time/posix_time.hpp: No such file or directory
src/precompiled.h:75:32: boost/filesystem.hpp: No such file or directory
src/precompiled.h:76:40: boost/filesystem/fstream.hpp: No such file or directory
src/precompiled.h:77:29: boost/foreach.hpp: No such file or directory
src/precompiled.h:78:28: boost/format.hpp: No such file or directory
src/precompiled.h:79:30: boost/function.hpp: No such file or directory
src/precompiled.h:80:30: boost/iterator.hpp: No such file or directory
src/precompiled.h:81:34: boost/lexical_cast.hpp: No such file or directory
src/precompiled.h:82:35: boost/static_assert.hpp: No such file or directory
src/precompiled.h:85:17: SDL.h: No such file or directory
src/precompiled.h:86:24: SDL_endian.h: No such file or directory
src/precompiled.h:87:23: SDL_types.h: No such file or directory
src/precompiled.h:88:21: SDL_net.h: No such file or directory
make: *** [src/precompiled.h.gch] Error 1
what i have to do? installing boost (http://www.boost.org/users/download/) ? and how to install?
thanks