Updated 'install.txt' for DOS and Windows ports.
This commit is contained in:
@@ -6,6 +6,8 @@ is a quick guide (based on my own experience and on a doc written by zsKnight)
|
||||
explaining how to compile zsnes. With these tools, I can build both dos and
|
||||
win version, I hope it will also work for you
|
||||
|
||||
(slighty updated by stainless)
|
||||
|
||||
|
||||
First, you need the following software:
|
||||
|
||||
@@ -21,7 +23,13 @@ Dos port :
|
||||
to get zlib which is available with the full distribution
|
||||
of djgpp. You can get it at :
|
||||
ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2tk/zlib112b.zip
|
||||
|
||||
- zlib : http://www.info-zip.org/pub/infozip/zlib/
|
||||
- libpng : http://www.libpng.org/
|
||||
Build the static versions of both of these libraries using
|
||||
DJGPP and do a 'make install' to put them where DJGPP
|
||||
can find them. Afterwards you can go ahead and delete
|
||||
the source for them from your hard drive.
|
||||
|
||||
Then to build the executable, go to the src directory and type:
|
||||
make -f makefile.dos
|
||||
|
||||
@@ -37,6 +45,12 @@ Windows port :
|
||||
out of environment space error, type 'command /e:32768'
|
||||
(to create a new command.com entity with more
|
||||
environment space)
|
||||
I have been able to sucessfully build ZSNES using the
|
||||
Intel C++ drop-in replacement for Microsoft's C++ compiler
|
||||
that comes with MSVC++ 5 and above. Since ZSNES contains
|
||||
relatively small amounts of C, I don't see how Intel's
|
||||
compiler could provide any useful optimizations (maybe
|
||||
for winlink.cpp?).
|
||||
- DX8.0 SDK or higher : you can get it at microsoft.com. It is quite big.
|
||||
Also, edit makefile.win to set the correct path to your
|
||||
SDK. I also had some problems with vc++ using its own
|
||||
@@ -48,6 +62,12 @@ Windows port :
|
||||
doesn't seem to work with zsnes). Rename the static version
|
||||
to zlib.lib and put it somewhere where vc++ will find it
|
||||
(for example, the lib directory in vc++ dir).
|
||||
- libpng : http://www.libpng.org/
|
||||
I'm not sure if the dynamically linked version of libpng
|
||||
will work with ZSNES. To be safe I would recommend to just
|
||||
go ahead and build the static version. Rename it to libpng.lib
|
||||
and put it somewhere where MSVC++ will find it (usually the
|
||||
lib subdirectory of your main MSVC++ directory).
|
||||
|
||||
Don't forget to set the correct path to the directx sdk in makefile.win!
|
||||
Then to build the executable, go to the src directory and type:
|
||||
|
||||
Reference in New Issue
Block a user