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

getCatkinLibraryPaths() is hardcoded to $CATKIN_PREFIX_PATH/lib #167

Open
vmatare opened this issue Oct 27, 2019 · 0 comments
Open

getCatkinLibraryPaths() is hardcoded to $CATKIN_PREFIX_PATH/lib #167

vmatare opened this issue Oct 27, 2019 · 0 comments

Comments

@vmatare
Copy link

vmatare commented Oct 27, 2019

boost::filesystem::path lib("lib");

That's not a portable way of determining the catkin library path. You cannot rely on lib being a correct default on all systems. At least on 64-bit systems, lib64 should be tried first. You could simply check whether the compiler is building in 64 or 32 bit mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant