Comments (7)
Currently, trying to build from source on - for example - Ubuntu 18.04 will result in the following:
[ 71%] Building CXX object CMakeFiles/supertux2_lib.dir/src/supertux/main.cpp.o /home/kirbyking/supertux/src/supertux/main.cpp:21:10: fatal error: filesystem: No such file or directory
#include <filesystem>
^~~~~~~~~~~~
compilation terminated.
CMakeFiles/supertux2_lib.dir/build.make:4851: recipe for target 'CMakeFiles/supertux2_lib.dir/src/supertux/main.cpp.o' failed
make[2]: *** [CMakeFiles/supertux2_lib.dir/src/supertux/main.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:332: recipe for target 'CMakeFiles/supertux2_lib.dir/all' failed
make[1]: *** [CMakeFiles/supertux2_lib.dir/all] Error 2
Makefile:155: recipe for target 'all' failed
make: *** [all] Error 2
from supertux.
SuperTux requires compiler supporting C++17.
from supertux.
SuperTux requires compiler supporting C++17.
its a misconception that C++17 support implies the presence of #include <filesystem>
gcc-7 and gcc-8 are available on bionic, support C++17 in every other sense, yet do not have #include <filesystem>
from supertux.
I remember compiling for ubuntu 18. I was using an old i386 asus laptop. I installed g++ 8, used it, and it worked. But I'm not entirely sure if that's how it went. I might've added some ppa.
from supertux.
its a misconception that C++17 support implies the presence of
#include <filesystem>
gcc-7 and gcc-8 are available on bionic, support C++17 in every other sense, yet do not have#include <filesystem>
I believe kubax meant you need a compiler that supports most of the C++17 specification, with a hard requirement of an std::filesystem
implementation.
I believe gcc-7 and gcc-8 do technically have these, if not directly available, then they are probably locked behind both a compiler flag (-lstdc++fs
) and an experimental header (#include <experimental/filesystem>
)
from supertux.
Actually just checked, gcc-8 supports C++17's std::filesystem
out of the box.
from supertux.
its a misconception that C++17 support implies the presence of
#include <filesystem>
Well if compiler doesn't provide complete C++17 implementation then we cannot do anything about that. You can try doing what @tulpenkiste mentioned.
from supertux.
Related Issues (20)
- Revamp the scripting API HOT 4
- Support for IOS HOT 27
- Small "shaky" pause when dying HOT 8
- Node preset patterns for path node objects. HOT 1
- Sound Object plays sounds of all sectors at once HOT 2
- `Text.set_centered(true)` is broken
- Possibility to get out of the normal range in the yeti end level HOT 3
- WASM on IOS not working HOT 1
- Couldn't mount levels from the user directory '/home/web_user/.local/share/supertux2/' to PhysFS searchpath: not found HOT 1
- Door wont open if offscreen HOT 3
- Bug Report: Unreadable/Unintelligible Options in the Game HOT 4
- Dispensers spawn two objects once loaded in HOT 1
- Issues with gradients and camera zoom HOT 5
- [Fullscreen] Serious screen tearing with cave levels
- "Missing Texture" in world map "Industrial Island" HOT 8
- Crash when switching to new world within a world map HOT 2
- [Jump With Up] Impossible to jump out of the rope
- "Missing Texture" and wrong rendering in various world maps
- VSync setting is not saved and resets upon restart
- Revert or greatly improve rotating Tux on slopes HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from supertux.