[ros-users] [Discourse.ros.org] [Next Generation ROS] ROS2 application development in visual studio 2017 or 2015 (win 10 x64)
Changsong Yu
ros.discourse at gmail.com
Wed Dec 20 13:05:27 UTC 2017
Thanks for your tips. I have tried:
1. go to C:\dev\ros2\examples\c++\HelloWorldExample
2. mkdir build
3. cd build
4. cmake ..\ -G "Visual Studio 14 2015 Win64"
5. open HelloWorldExample(VC++ Project) with open Visual Studio 15
6. I add fies: C:\dev\ros2\Lib\libfastrtps-1.5.lib;
C:\dev\ros2\Lib\libfastcdr-1.0.lib; in the properties --> Linker --> Input --> Additional Dependencies
7. Build
Error Info:
2>------ Rebuild All started: Project: HelloWorldExample, Configuration: Debug x64 ------
2> Building Custom Rule C:/dev/ros2/examples/C++/HelloWorldExample/src/HelloWorldExample/CMakeLists.txt
2> CMake does not need to re-run because C:/dev/ros2/examples/C++/HelloWorldExample/src/HelloWorldExample/build_2/CMakeFiles/generate.stamp is up-to-date.
2> HelloWorld.cxx
2> HelloWorldPubSubTypes.cxx
2> HelloWorldPublisher.cpp
2> HelloWorldSubscriber.cpp
2> HelloWorld_main.cpp
2> Generating Code...
2>LINK : fatal error LNK1104: cannot open file 'libfastcdrd-1.0.lib'
========== Rebuild All: 1 succeeded, 1 failed, 0 skipped ==========
---
[Visit Topic](https://discourse.ros.org/t/ros2-application-development-in-visual-studio-2017-or-2015-win-10-x64/3464/5) or reply to this email to respond.
More information about the ros-users
mailing list