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

Linking error LNK2019 with gridmap_2d.dll when compiling humanoid_navigation on ROS on Windows Melodic #17

Open
Smitty-44 opened this issue Aug 31, 2021 · 0 comments

Comments

@Smitty-44
Copy link

Hi there,
I have an Robotis OP3-like biped and successfully compiled all the required Robotis OP3 related packages on a raspberry Pi4, linux with raspbian, ROS Melodic.
But, I have a Windows 10 desktop with ROS on Windows, Melodic, as the remote computer.
During the catkin_make of the workspace, it receives an error during the linking step of gridmap_2d.dll of the humanoid_navigation package.

GridMap2D.cpp.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class ros::Time __cdecl ros::Time::now(void)" (imp?now@Time@ros@@sa?AV12@XZ) referenced in function "public: struct nav_msgs::OccupancyGrid<class std::allocator > _cdecl gridmap_2d::GridMap2D::toOccupancyGridMsg(void)const " (?toOccupancyGridMsg@GridMap2D@gridmap_2d@@qeba?AU?$OccupancyGrid@v?$allocator@Xstd@@@nav_msgs@@xz)...

All together there are 7 unresolved externals.
Has anyone seen this before or have any ideas how to get past it?
Thank you for any help or guidance,
Cheers, Smitty

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