Filespace relating Error on CodeBlocks

Hello Guys.
I am using 17.12 Codeblocks. I was using the header file from OLC-olcPixelGameEngine. It has <experimental>"filespace". It caused a fatal error, no file or directory. Do you guys know how to fix this?
Edit :
For Picture
https://imgur.com/a/e6S6adc

Thanks
ColBosky
Last edited on
what breaks when you comment out that include?
I suspect strongly that this is what we now call <filesystem>
so first comment it out to see what is busted. Then compare that to <filesystem> to see if its just that library. If it is not, you may have to do some research to find out what it is, what is in it, and where to get it.
Last edited on
Yes Sir, It is just the Library. I think because Check the picture I have posted
https://imgur.com/a/e6S6adc
This Is What I have and I have mentioned what's missing. I know this is missing because I saw tutorial in which the installing this header file said to check the box, except there's nothing to be checked.
I believe what you are showing is the "Compiler Flags" subtab from the "Compiler Settings" tab on the "build options page. Simply click the "Other compiler options" subtab and add "-std=c++17".

That should work, I would think.



There is a newer version of Code::Blocks available, 20.03. Doubtful it will fix your problem, it might, but you should consider updating C::B.
The " std=c++17 " is not there not even on 17.12 neither 20.03. I have downloaded latest version to check if the problems limited to version 17 or not.
I tried to install MSYS2 to fix the problem but still can't.
Did you try adding it manually on the "Other compiler options" subtab like I suggested?
https://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/
The installers/packages with compiler include the GNU compiler suite
and GNU debugger (GDB) from TDM-GCC (version 5.1.0, 32 bit, SJLJ).

I'm not sure 5.1.0 supports C++17, based on this post:
http://www.cplusplus.com/forum/beginner/224269/

I cannot find a well-documented history of TDM-GCC builds.

It looks like later TDM-GCC builds can be downloaded @ https://jmeubank.github.io/tdm-gcc/ though I have not tried it.

Also, as Furry Guy mentioned,
The codeblocks-20.03mingw-setup.exe file includes additionally the GCC/G++/GFortran compiler and GDB debugger from MinGW-W64 project (version 8.1.0, 32/64 bit, SEH).

...though I can't confirm that has <filesystem> support xD
Last edited on
Topic archived. No new replies allowed.