You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yatisht we need to get usher compiling on Mac again, not only the old x86_64 macs but also the new arm64 macs. To that end I'm trying to get the macOS-13 github workflow job to run successfully on my fork, AngieHinrichs/usher. The macos-13 runner is x86_64, and I expect that to be easier (closer to the linux builds that are working) than arm64 but it's not quite working yet.
mutation_detailed.proto has a message named target, but code generated by newer versions of protobuf/protoc (such as the versions available in homebrew) uses the symbol target for its own purposes (!) and that makes a conflict, so the generated code failed to compile. I renamed the message to place_target (to match the name of the array of such messages, place_targets). Fortunately the usher-sampled code is written in such a way that I didn't have to change any other code, just the .proto.
/Users/runner/work/usher/usher/src/matOptimize/main.cpp:249:23: error: no type named 'filesystem_error' in namespace 'boost::filesystem'; did you mean 'std::filesystem::filesystem_error'?
} catch(const boost::filesystem::filesystem_error& ex) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
std::filesystem::filesystem_error
Any idea why the compiler can find boost::filesystem but not boost::filesystem::filesystem_error? Or suggestions for things I can add to installMacOS.sh to debug? Thanks.
The text was updated successfully, but these errors were encountered:
@yatisht we need to get usher compiling on Mac again, not only the old x86_64 macs but also the new arm64 macs. To that end I'm trying to get the macOS-13 github workflow job to run successfully on my fork, AngieHinrichs/usher. The macos-13 runner is x86_64, and I expect that to be easier (closer to the linux builds that are working) than arm64 but it's not quite working yet.
I've worked around two errors so far in my fork:
target
, but code generated by newer versions of protobuf/protoc (such as the versions available in homebrew) uses the symboltarget
for its own purposes (!) and that makes a conflict, so the generated code failed to compile. I renamed the message toplace_target
(to match the name of the array of such messages,place_targets
). Fortunately the usher-sampled code is written in such a way that I didn't have to change any other code, just the .proto.Now I'm running into an error that is more confusing and I hope you can help. When compiling matOptimize/main.cpp, it stops at this error:
https://github.com/AngieHinrichs/usher/actions/runs/12150323931/job/33882851978#step:3:2289
-- it's complaining that
boost::filesystem::filesystem_error
does not exist. As far as I can tell, brew is installing Boost version 1.86.0.2, and the boost::filesystem documentation for 1.86.0 still listsClass filesystem_error
just like the documentation for older versions.Any idea why the compiler can find boost::filesystem but not boost::filesystem::filesystem_error? Or suggestions for things I can add to installMacOS.sh to debug? Thanks.
The text was updated successfully, but these errors were encountered: