vroom: error: no type named 'OptionException' in namespace 'cxxopts' issue
๐ while trying to build the bottle for sonoma, we found there is build issue with error: no type named 'OptionException' in namespace 'cxxopts'
, details as below:
clang++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -c algorithms/local_search/operator.cpp -o algorithms/local_search/operator.o
main.cpp:105:22: error: no member named 'OptionException' in namespace 'cxxopts'
throw cxxopts::OptionException("Argument '" + limit_arg +
~~~~~~~~~^
main.cpp:[118](https://github.com/Homebrew/homebrew-core/actions/runs/6255124360/job/16983922323#step:4:119):27: error: no type named 'OptionException' in namespace 'cxxopts'
} catch (const cxxopts::OptionException& e) {
~~~~~~~~~^
2 errors generated.
clang++ -MMD -MP -I. -std=c++17 -Wextra -Wpedantic -Wall -O3 -DASIO_STANDALONE -DUSE_ROUTING=true -DNDEBUG -c routing/http_wrapper.cpp -o routing/http_wrapper.o
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
brew config
Clang: 15.0.0 build 1500
Git: 2.39.3 => /usr/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.0-arm64
CLT: 15.0.0.0.1.1694021235
Xcode: 15.0
Rosetta 2: false
full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6255124360/job/16983922323
relates to https://github.com/Homebrew/homebrew-core/issues/142161
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 18 (6 by maintainers)
@jamesjjk You can use this one for now and it should do the trick.
https://github.com/VROOM-Project/vroom-docker/pull/69
There is issue with checkout in Dockerfile, submodules are using master branch which have new cxxopts.
OK, the changelog over there states โThe project adheres to semantic versioningโ but nevermind. Thanks for the PR!