Code Monkey home page Code Monkey logo

Comments (4)

vegapit avatar vegapit commented on July 19, 2024 3

A fresh install of VS 2019 gets a filesystem error on compiling the example code. To get rid of it, I just added the following line at the start of my main.cpp file:

#define _SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING

Would it be what you need?

from olcpixelgameengine.

OneLoneCoder avatar OneLoneCoder commented on July 19, 2024

Can you show information which people can use to actually help you please? Such as compiler versions, OS, available packages, and how you actually go about building the code.

from olcpixelgameengine.

AyushKoul00 avatar AyushKoul00 commented on July 19, 2024

IDE: VS Code (using C/C++ extention and Code Runner)

OS: Windows 10 (64 bit)

Compiler: MinGW:
gcc (x86_64-win32-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.

I even installed Visual Studio (with Desktop C++) and tried to run it on that and it is still giving me the same errors. First, it is giving an error in #include <experimental/filesystem> and when I resolve that by commenting it out then the error is the one with #inlcude thread which I mentioned above.

P.S. I checked and nothing is wrong with my compiler or path because the olcConsoleGameEngine.h is working fine. It is just not working for the olcPixelGameEngine.h for some reason.

from olcpixelgameengine.

Billwilliams1952 avatar Billwilliams1952 commented on July 19, 2024

Adding the #define worked for me.

from olcpixelgameengine.

Related Issues (20)

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.