Skip to content
forked from itmo153277/vpnes

Automatically exported from code.google.com/p/vpnes

License

Notifications You must be signed in to change notification settings

arhont375/vpnes

 
 

Repository files navigation

vpnes 0.5

NES Emulator

Copyright © 2012-2018 Ivanov Viktor

Installation

Cross-platform

Compiling From Git

Before compiling make sure that you have autoconf (>= 2.68), autoconf-archive (>= 2016.12.06), automake, SDL2 (>= 2.0.5) and SDL2_gfx installed.

Clone repository

$ git clone http://github.com/itmo153277/vpnes.git vpnes-0.5 && cd vpnes-0.5

Generate autotools scripts

$ sh ./autogen.sh

Configure

$ ./configure

The maintainer mode is disabled by default. That means that makefiles won't be updated when new files are added to the project.

To enable maintainer mode, run configure with --enable-maintainer-mode. It ensures that your build scripts will always be up-to-date.

Compile

$ make

Run tests (optional)

$ make check

Install as root

# make install

For more detailed information about compiling the sources see INSTALL and ./configure --help.

Compiling From Source Tarball

Before compiling make sure that you have SDL2 (>= 2.0.5) and SDL2_gfx installed.

Extract sources

$ tar xvf vpnes-0.5.tar.gz && cd vpnes-0.5

Configure

$ ./configure

Compile

$ make

Run tests (optional)

$ make check

Install as root

# make install

For more detailed information about compiling the sources see INSTALL and ./configure --help.

Microsoft Visual Studio

Before compiling make sure that you have installed SDL2 and SDL2_gfx. SDL2 directories should be added to your user macros as follows:

  • SDLIncludes — path to SDL includes for SDL2 and SDL2_gfx

  • SDLLib — path to SDL *.lib and *.dll

  • SDLDeps — SDL lib files SDL2.lib, SDL2main.lib and SDL2_gfx.lib

Open vpnes_msvc.sln and build the solution in Release configuration. The output file will be in ./Release.

Note: it is known that MSVC sometimes throws "out of heap" exception. If it does so, consider using another compiler or rewriting cpu.cpp and cpu_compiler.hpp to comfort MSVC.

Documentation

To generate documentation via autotools+doxygen execute $ make doxygen-doc after configuring the project.

About

Automatically exported from code.google.com/p/vpnes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.1%
  • Makefile 1.3%
  • M4 1.2%
  • Other 0.4%