openDNP3 Windows Visual Studio 2017

129 views
Skip to first unread message

Hardik Sanghavi

unread,
Nov 20, 2017, 7:28:31 PM11/20/17
to open-dnp3
I am new to Visual Studio 2017 setup for CMake.

I want to build the DNP3 solution on Visual Studio.
Based on this link https://blogs.msdn.microsoft.com/vcblog/2016/10/05/cmake-support-in-visual-studio/, It seems that Visual Studio knows what to do when finding a CMake file.

However when I build I get an error
"Cannot open include file: 'asio.hpp': No such file or directory C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CMakeLists.txt"

I also tried the steps on Website
> mkdir build
> cd build
> cmake .. <options>

But it says cmake is not recognized as a command

Can someone please help me figure it out ?

Hardik Sanghavi

unread,
Nov 21, 2017, 12:21:17 AM11/21/17
to open-dnp3
It was my mistake. I had just downloaded the zip file from the repo rather than running git clone.

Because of that the ASIO library was missing.

Reply all
Reply to author
Forward
0 new messages