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

cannot open file 'libboost_filesystem-vc140-mt-gd-1_63.lib' #32

Closed
placeforyiming opened this issue Feb 20, 2017 · 5 comments
Closed

cannot open file 'libboost_filesystem-vc140-mt-gd-1_63.lib' #32

placeforyiming opened this issue Feb 20, 2017 · 5 comments

Comments

@placeforyiming
Copy link

Here is the main error:

LINK : fatal error LNK1104: cannot open file 'libboost_filesystem-vc140-mt-gd-1_63.lib' [D:\AirSim\Air\AirSim\MavLink
Com\MavLinkTest\MavLinkTest.vcxproj]

What should I do?

@placeforyiming
Copy link
Author

"D:\AirSim\Air\AirSim\AirSim.sln" (default target) (1) ->
"D:\AirSim\Air\AirSim\DroneShell\DroneShell.vcxproj" (default target) (2) ->
"D:\AirSim\Air\AirSim\AirLib\AirLib.vcxproj" (default target) (3) ->
"D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj" (default target) (4) ->
(ClCompile target) ->

d:\airsim\air\airsim\mavlinkcom\src\serial_com\tcpserver.hpp(8): fatal error C1083: Cannot open include file: 'boost/
array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\udpserver.hpp(8): fatal error C1083: Cannot open include file: 'boost/
array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\udpclientport.hpp(8): fatal error C1083: Cannot open include file: 'bo
ost/array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\tcpclientport.hpp(8): fatal error C1083: Cannot open include file: 'bo
ost/array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\serialport.hpp(7): fatal error C1083: Cannot open include file: 'boost/asio.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\tcpserver.hpp(8): fatal error C1083: Cannot open include file: 'boost/array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\tcpserver.hpp(8): fatal error C1083: Cannot open include file: 'boost/array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\serialport.hpp(7): fatal error C1083: Cannot open include file: 'boost/asio.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\mavlinksemaphore.cpp(6): fatal error C1083: Cannot open include file: 'boost/date_time/posix_time/posix_time.hpp': No such file or directory[D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\tcpserver.hpp(8): fatal error C1083: Cannot open include file: 'boost/array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\serial_com\tcpserver.hpp(8): fatal error C1083: Cannot open include file: 'boost/array.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

d:\airsim\air\airsim\mavlinkcom\src\impl\mavlinkftpclientimpl.cpp(5): fatal error C1083: Cannot open include file: 'b
oost/algorithm/string.hpp': No such file or directory [D:\AirSim\Air\AirSim\MavLinkCom\MavLinkCom.vcxproj]

Also some other faults, it looks like the problem of boost.

@lovettchris
Copy link
Member

Did you follow the instructions to Install Boost ? And set the BOOST_ROOT environment variable?

@placeforyiming
Copy link
Author

Yes, I think I should do this:

The following directory should be added to compiler include paths:

D:\AirSim\boost\boost_1_63_0\boost_1_63_0

The following directory should be added to linker library paths:

D:\AirSim\boost\boost_1_63_0\boost_1_63_0\stage\lib

But how?

@placeforyiming
Copy link
Author

Amazing! I repair VS 2015 and restart my computer, now it works. Thanks!

@lovettchris
Copy link
Member

Oh, yes, when you modify your system environment variables, you need to start whatever process you want to pick up those new variables. So restarting VS picked up BOOST_ROOT.

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

2 participants