Comments (14)
Thank you very much! Now, it works for me.
Before I did exactly what you told me but with the .zip that I downloaded from the website and then I tried doing a git clone, with both forms I gave an error. Maybe you should change the .zip of the website because it does not compile.
from opmon-archive.
I know, the actual master branch is broken, We are in the middle of refounding the code.
I'm glad it works anyway
from opmon-archive.
Sorry, my fault, I will try to create the deb as soon as possible.
from opmon-archive.
You can try to build the game from the source with cmake, while waiting for the deb.
from opmon-archive.
I'm trying, but 80% gives me this compilation error:
I do not know if I'm doing something wrong or it's a failure.
Thanks.
from opmon-archive.
Hi, please click here : https://github.com/jlppc/OpMon/archive/60c9155858449abb7066629e1e95b4993f707442.zip
Extract the repo
Open a terminal in the new OpMon folder
And write this :
./build-and-run.sh
from opmon-archive.
if it still does not work:
write
sudo apt install gcc libstdc++6 libsmpeg0 libsfml-dev cmake
in a terminal and retry
from opmon-archive.
It's because the code use std::map::try_emplace()
, which is a c++17 feature.
You need to have a more recent c++ compiler.
@jlppc @navet56 maybe we should limit the features we use to c++14 (or c++11) ?
from opmon-archive.
It is @gberthou who passed the code in c ++ 17, basic it was in 8, I believe.
from opmon-archive.
That's why I propose @sonozaki to play with a version dating from last week, it should work
from opmon-archive.
We could downgrade to c++11 by using emplace
instead of try_emplace
, however code would get more verbose (http://en.cppreference.com/w/cpp/container/map/emplace).
This feature of c++17 is supported in GCC 6. @sonozaki I don't know what version of GCC you're running, but regardless of this project it might be a good idea to upgrade GCC to version 6 or more.
@jlppc If required I can modify the code to use c++11 emplace
, but I need the source folders to reach a stable state.
from opmon-archive.
@gberthou I could use macros to define the compiler version and use try_emplace if possible, but if not, just use emplace.
from opmon-archive.
Using only emplace
everywhere without using macros would be better than using both emplace
and try_emplace
with macros.
So the thing is, do you want to support old compilers without c++17 support (e.g., GCC < 6)?
from opmon-archive.
The .deb is now avilable on the website!
from opmon-archive.
Related Issues (20)
- Change how the animations are stored HOT 2
- Add a confirmation before quitting the game HOT 2
- Tools for non-programmers
- Documentation HOT 1
- JSON subdivision HOT 3
- Modern CMake HOT 1
- Remove the data folder from this repo HOT 6
- Build error on Mac OS X HOT 2
- Doors sounds only work one direction HOT 4
- Screen Transition Hitbox Issue HOT 2
- Decouple and Generalize Event System HOT 1
- List the assets to load + tilesets in json HOT 1
- Issue with the "รง" character HOT 2
- Warnings at compilation HOT 1
- Replace handleError calls by exceptions
- Fix "include spaghettis"
- Line size calculation should be done with the actual text width and not the number of characters
- Use two lines of dialogues instead of three
- Dialogue box should automatically fit the screen size and resolution HOT 1
- Centralize design decisions HOT 2
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 opmon-archive.