Git Product home page Git Product logo

emu68k's People

Contributors

probablynotartyom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emu68k's Issues

does not compile under Debian 11

When I try to build it I get

tingo@kg-vm4:~/work/68k-projects/emu68k$ make
[CPP] -c src/system.cpp -o obj/src/system.o
[CPP] -c src/vinput.cpp -o obj/src/vinput.o
[CPP] -c src/memspace.cpp -o obj/src/memspace.o
[CPP] -c src/emu68k.cpp -o obj/src/emu68k.o
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:47:6: error: ‘filesystem’ in namespace ‘std’ does not name a type
   47 | std::filesystem::path bindir;
      |      ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:48:6: error: ‘filesystem’ in namespace ‘std’ does not name a type
   48 | std::filesystem::path resdir;
      |      ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:49:6: error: ‘filesystem’ in namespace ‘std’ does not name a type
   49 | std::filesystem::path glade_ui;
      |      ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:50:6: error: ‘filesystem’ in namespace ‘std’ does not name a type
   50 | std::filesystem::path glade_css;
      |      ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:51:6: error: ‘filesystem’ in namespace ‘std’ does not name a type
   51 | std::filesystem::path vte_font;
      |      ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp: In function ‘int main(int, char**)’:
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:125:2: error: ‘bindir’ was not declared in this scope
  125 |  bindir = std::filesystem::read_symlink("/proc/self/exe").parent_path();
      |  ^~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:125:16: error: ‘std::filesystem’ has not been declared
  125 |  bindir = std::filesystem::read_symlink("/proc/self/exe").parent_path();
      |                ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:129:2: error: ‘resdir’ was not declared in this scope; did you mean ‘rmdir’?
  129 |  resdir = std::filesystem::path(bindir).concat("/res");
      |  ^~~~~~
      |  rmdir
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:129:16: error: ‘std::filesystem’ has not been declared
  129 |  resdir = std::filesystem::path(bindir).concat("/res");
      |                ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:133:2: error: ‘glade_ui’ was not declared in this scope
  133 |  glade_ui = std::filesystem::path(resdir).concat("/GTK.glade");
      |  ^~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:133:18: error: ‘std::filesystem’ has not been declared
  133 |  glade_ui = std::filesystem::path(resdir).concat("/GTK.glade");
      |                  ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:138:2: error: ‘vte_font’ was not declared in this scope
  138 |  vte_font = std::filesystem::path(resdir).concat("/font.otb");
      |  ^~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:138:18: error: ‘std::filesystem’ has not been declared
  138 |  vte_font = std::filesystem::path(resdir).concat("/font.otb");
      |                  ^~~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:142:2: error: ‘glade_css’ was not declared in this scope
  142 |  glade_css = std::filesystem::path(resdir).concat("/style.css");
      |  ^~~~~~~~~
/zs/work/68k-projects/emu68k/./src/emu68k.cpp:142:19: error: ‘std::filesystem’ has not been declared
  142 |  glade_css = std::filesystem::path(resdir).concat("/style.css");
      |                   ^~~~~~~~~~
make: *** [Makefile:57: /zs/work/68k-projects/emu68k/obj/./src/emu68k.o] Error 1

this is on Debian 11

tingo@kg-vm4:~/work/68k-projects/emu68k$ cat /etc/debian_version 
11.3
tingo@kg-vm4:~/work/68k-projects/emu68k$ uname -a
Linux kg-vm4 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux

which has gcc 10

tingo@kg-vm4:~/work/68k-projects/emu68k$ which gcc
/usr/bin/gcc
tingo@kg-vm4:~/work/68k-projects/emu68k$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Is there something else missing?

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.