Trying to load C++ Boost 1.47.0 in VS

CG Stroh 21 Reputation points
2022-07-27T13:13:47.707+00:00

Trying to add the C++ Archive Boost library 1.47.0 in VS using "Properties", "VC++ directory, Library Directories. Attached is the header file and attached are pictures of both the file and directory insert which is listed as C:\boost. Result is VS says it cannot open the file.225315-directory-2.png225266-file-2.png

serial.h

include <boost/asio.hpp>

include <string>

using namespace boost::asio;
class Serial
{
private:
io_service _io;
serial_port _serial;
unsigned int _BaudRate
std::string _COM;

public:
Serial(std::string port, unsigned int BaudRate);
size_t transmit(uint8_t* s,size_t len);
};

Developer technologies | Visual Studio | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.