Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAKE: error: no matching function for call to ‘System::System(int, int)’ #908

Open
morg0th opened this issue Apr 6, 2021 · 0 comments

Comments

@morg0th
Copy link

morg0th commented Apr 6, 2021

Hi!

I'm Linux user 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Building by manual https://github.com/microsoft/malmo/blob/master/doc/install_linux.md

#cmake -> ok

#make

/home/user/ALE/src/emucore/Console.cxx:151:30: error: no matching function for call to ‘System::System(int, int)’
  151 |   mySystem = new System(13, 6);

full

[  6%] Building CXX object CMakeFiles/ale-lib.dir/src/emucore/Console.cxx.o
/home/user/ALE/src/emucore/Console.cxx: In constructor ‘Console::Console(OSystem*, Cartridge*, const Properties&)’:
/home/user/ALE/src/emucore/Console.cxx:151:30: error: no matching function for call to ‘System::System(int, int)’
  151 |   mySystem = new System(13, 6);
      |                              ^
In file included from /home/user/ALE/src/emucore/M6502.hxx:26,
                 from /home/user/ALE/src/emucore/M6502Hi.hxx:26,
                 from /home/user/ALE/src/emucore/Console.cxx:35:
/home/user/ALE/src/emucore/System.hxx:397:5: note: candidate: ‘System::System(const System&)’
  397 |     System(const System&);
      |     ^~~~~~
/home/user/ALE/src/emucore/System.hxx:397:5: note:   candidate expects 1 argument, 2 provided
/home/user/ALE/src/emucore/System.hxx:60:5: note: candidate: ‘System::System()’
   60 |     System();
      |     ^~~~~~
/home/user/ALE/src/emucore/System.hxx:60:5: note:   candidate expects 0 arguments, 2 provided
make[2]: *** [CMakeFiles/ale-lib.dir/build.make:557: CMakeFiles/ale-lib.dir/src/emucore/Console.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:249: CMakeFiles/ale-lib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant