Open theo-dep opened 1 year ago
The fix is to include cmath
and to replace isfinite
by std::isfinite
View #3
@theo-dep I'm having the same issue. Followed the tutorial found here https://learn.microsoft.com/en-us/vcpkg/consume/git-registries. Here is my relevant system information.
$ uname -a
Linux ubuntu-linux-22-04-02-desktop 6.5.0-35-generic #35~22.04.1-Ubuntu x86_64 x86_64 x86_64 GNU/Linux
and the relevant command used with cmake
,
cmake -B build -S . \
-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake \
-DCMAKE_C_COMPILER=$(which gcc) \
-DCMAKE_CXX_COMPILER=$(which g++)
along with the compiler versions,
$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If this repo has gone stale, the associated tutorial should be removed or modified to show it working. I will open up a proxy issue in https://github.com/microsoft/vcpkg-docs/issues, and hopefully we'll get a PR accepted, or doc change.
Hi,
I am trying to understand the vcpkg repository example but I am facing this issue when I run
vcpkg install
in the beson-ptr example: