Closed jimwang118 closed 4 months ago
I haven't been able to reproduce this error on an up-to-date installation of Ubuntu 22.04.4 LTS (running in WSL). Both building from source and building with a freshly pulled vcpkg
worked for me. Here's the output from my compiler config, can you share what toolchain/version you're using?
> c++ --version
Ubuntu clang version 14.0.0-1ubuntu1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
I also tried explicitly using clang++-15
using the CXX
environment variable, and vcpkg
still succeeded in building it. This is cppgraphqlgen
v4.5.5 BTW, in case your vcpkg port is behind mine.
I used cppgraphqlgen version 4.5.5 and compiled it on Ubuntu 24.04. The clang version is as follows:
Ubuntu clang version 18.1.3 (1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/14
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/14
Candidate multilib: .;@m64
Selected multilib: .;@m64
What other information do you need?
I cloned vcpkg directly and then installed it. I used gcc-13.2.0.
Thanks for the fix, I tested it locally and it works.
When I use vcpkg to compile the cppgraphqlgen library, a compilation error occurs using the following command.
./vcpkg install cppgraphqlgen[core,rapidjson]:x64-linux
error: