Giter VIP home page Giter VIP logo

vpnes's Introduction

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.

vpnes's People

Contributors

itmo153277 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.