Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

consai2r2_teleop/include/visibility_control.hは公式のものに置き換えるべき #38

Closed
HansRobo opened this issue Dec 11, 2019 · 8 comments

Comments

@HansRobo
Copy link
Contributor

HansRobo commented Dec 11, 2019

https://github.com/ros/class_loader/blob/ros2/include/class_loader/visibility_control.hpp

公式のものが提供されているのでconsai2r2で保持するのではなくそちらを使うべき.

/opt/ros/dishing/include/class_loader/visibility_control.hppの存在は確認済み

@HansRobo HansRobo changed the title consai2r2_teleop/include/visibility_control.hha consai2r2_teleop/include/visibility_control.hは公式のものに置き換えるべき Dec 11, 2019
@zohar0729
Copy link

今から作業します

@zohar0729
Copy link

作業完了しました

@ShotaAk
Copy link
Contributor

ShotaAk commented Dec 18, 2019

visibility_control.hはパッケージごとに用意するようです。
そのため、visibility_control.hはconsai2_teleop内のものを使いたいです。

ros2/ros2#37

(1つにまとめる仕組みが欲しい!っていう意見もあるみたいですが、
大元のgccもprefixを変えて使えって書いてますからね。。。)
ament/ament_cmake#164

@ShotaAk
Copy link
Contributor

ShotaAk commented Dec 23, 2019

@HansRobo @zohar0729 上記理由より、本件と#39 をクローズしても良いですか?

@HansRobo
Copy link
Contributor Author

問題ないです

@MiraiHattori
Copy link
Contributor

@MiraiHattori
Copy link
Contributor

MiraiHattori commented Dec 24, 2019

メモです.
windowsでは各プロジェクトごとにないと本当に困るようです.

The trouble comes when you want library A to depend on library B. In that case, you need to mark the symbols of library B as dllimport (so library A can call them), but you need to mark the public symbols of library A as dllexport. So you can’t just have one set of macros to accomplish this. This is why there are per-project macros.

@zohar0729
Copy link

はい、閉じてもらって大丈夫です、すみません

@ShotaAk ShotaAk closed this as completed Dec 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants