Ask Your Question

How can I use asio library as standalone? [closed]

asked 2021-01-26 01:51:31 -0500

serhat gravatar image

updated 2021-01-27 07:46:07 -0500

Hi all, I try to use Boost/asio library in my project. To do so, I did some configurations in my system.(You can see what I did via: A)

But then, I realized that I can actually use asio library as standalone instead of using it in Boost framework. I have two computer right now and I already applied this A technic to one of them. And It works fine in fact. I can communicate with a PLC using TCP/IP protocol now. But I got some cautions for using Atechnic. So, I work on applying this technic ( ) to my other computer. (In the video, specially 2:24 ~ 5:16)

I downloaded asio as standalone just like said in the video. But I don't know how I can do the process that being done between 4:33 and 5:16 in the ROS. I think, this issue is about adding an external library to a system. Should I link to asio to my IDE or just my program directly using some codes in CMakeList. And more important how?


Both of my computer use same set-up --> UBUNTU 16.04 - Kinetic - Ros1. I use Visual Studio as IDE.

Thank You!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by serhat
close date 2021-04-27 08:32:34.404729

1 Answer

Sort by ยป oldest newest most voted

answered 2021-02-01 00:21:58 -0500

serhat gravatar image

Hi all, I found the solution of the problem. Please see the following link to see my quick solution.

edit flag offensive delete link more


Please don't create 3 posts for one problem in the future. (+1 for linking to the solution in the other post)

crnewton gravatar image crnewton  ( 2021-02-01 01:54:53 -0500 )edit

Question Tools

1 follower


Asked: 2021-01-26 01:51:31 -0500

Seen: 69 times

Last updated: Feb 01