I am trying to apply this workaround for compiling c++20 code with the current gcc-11 compiler, in particular std::format(). Its from the associated book 'beginning c++20'.
I followed step 1 (from the link) by downloading the relevent directories for the library resulting in having the path /home/myName/Workarounds/fmt on my system then followed the instructions for step 2 by using the command:
gcc -I /home/myName/Workarounds
Which is meant to add the Workarounds directory to the additional include paths of my compiler
But I just get the error:
gcc: fatal error: no input files
I'm a beginner with c++ so I don't really know what I'm doing, what command do I need to use to add the correct directory to my compiler path?
Many thanks!