Needed Boost for a Windows project. After struggling with the build and install for a bit I wimped out and used the BoostPro Binary Installer for Visual C++. I wanted to use this with a Qt project so I added the lines below to the qtvars.bat file:
@if not "%BOOST_ROOT%" == "" (
echo -- Adding boost from %BOOST_ROOT%
set "PATH=%BOOST_ROOT%\lib;%PATH%"
set "INCLUDE=%BOOST_ROOT%;%INCLUDE%"
set "LIB=%BOOST_ROOT%\lib;%LIB%"
)
and defined BOOST_ROOT to be the directory where I installed boost.
No comments:
Post a Comment