Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeList.txt in ch3/ that using Pangolin #284

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 20, 2023

  1. Update ch3/visualizeGeometry/CMakeLists.txt

    在Ubuntu 22.04 环境下,build操作会出现 /usr/local/include/sigslot/signal.hpp 报错,修改支持版本后错误消除:
    /usr/local/include/sigslot/signal.hpp:109:79: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’?
      109 | constexpr bool is_weak_ptr_compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value;
          |                                                                               ^~~~~~~
          |                                                                               decay
    /usr/local/include/sigslot/signal.hpp:109:79: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’?
      109 | constexpr bool is_weak_ptr_compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value;
          |                                                                               ^~~~~~~
          |                                                                               decay
    /usr/local/include/sigslot/signal.hpp:109:87: error: template argument 1 is invalid
      109 | constexpr bool is_weak_ptr_compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value;
          |                                                                                       ^
    ......
    lavandejoey authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    ed21c6d View commit details
    Browse the repository at this point in the history
  2. Update ch3/examples/CMakeLists.txt

    在Ubuntu 22.04 环境下,build操作会出现 `/usr/local/include/sigslot/signal.hpp` 报错,修改支持版本为 C++14 后错误消除:
    ```cpp
    /usr/local/include/sigslot/signal.hpp:109:79: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’?
    109 | constexpr bool is_weak_ptr_compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value;
    |                                                                               ^~~~~~~
    |                                                                               decay
    /usr/local/include/sigslot/signal.hpp:109:79: error: ‘decay_t’ is not a member of ‘std’; did you mean ‘decay’?
    109 | constexpr bool is_weak_ptr_compatible_v = detail::is_weak_ptr_compatible<std::decay_t<P>>::value;
    |                                                                               ^~~~~~~
    |                                                                               decay
    ......
    ```
    lavandejoey authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    a09a079 View commit details
    Browse the repository at this point in the history