On Mon, 2024-07-01 at 13:51 -0700, Albaro Pereyra wrote:
> Thanks for reaching out.  I have reached out to the maintainers of
> drogon-assist. They said it was out of their scope to diagnose the
> issue with my make.  Basically saying it works on their computer and
> don't know why it doesn't work on mine.  Is there a make discord
> channel where they can offer programming help.  I think I found a bug
> in WSL2 using the default which is Ubuntu. Basically it's not
> recognizing the c++ standard and therefore fails to compile.  I will
> copy and paste next time. I just like how my terminal looks after
> installing oh-my-zsh.

I'm sure it's very lovely to look at, but I can't read that screenshot
in my mail client so I have no idea what error messages you're seeing.

If the problem is that the compiler options you specified with cmake
-DCMAKE_CXX_STANDARD=20 are not taking effect, then that's an issue
with either cmake or the CMakeFiles.txt that are provided with drogon-
assist (cmake generates makefiles, so if there's something wrong with
the makefiles that cmake generates there's nothing make can do about
that).

I recommend you run "make VERBOSE=1" so that you can see the actual
compile line that make is running and find out what arguments are being
passed to the compiler (note, the "VERBOSE=1" option is a feature of
cmake, not make: the makefiles cmake generates will show more details
when you set that variable).

Then ensure that you see the desired -std=c++20 compiler option, for
example, which tells the compiler to use the C++20 standard.

When reporting problems to whomever, you should also include the
version of cmake you're using (run cmake --version) and the version of
the compiler you're using (run g++ --version).

However, none of the issues with the code, with the compiler, or with
cmake are anything that GNU Make can control.  It just runs the
makefiles it was given and invokes the tools it was told to invoke...

Reply via email to