visual studio/cmake funny path can't be read in strings file

Hi -

Do you see the quote after the 0 and before the directory / below - on the error msg about the strings file?

I am not sure what is causing that. I am trying to piece this together.
I am definitely going to be buying a book. thanks - robo-loki

set(Boost_DEBUG “ON”)
set(Boost_VERBOSE “ON”)
set(BOOST_ROOT “C:/local/boost_1_73_0” )
set(Boost_INCLUDE_DIR =“C:/local/boost_1_73_0” )
set(Boost_LIBRARY_DIR = “C:/local/boost_1_73_0/lib64-msvc-14.1”)

Boost

FIND_PACKAGE(Boost 1.73.0 COMPONENTS date_time file_system)

INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
LINK_DIRECTORIES(${Boost_LIBRARY_DIRS})

CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.20/Modules/FindBoost.cmake:1793 (file):
file STRINGS file
“C:/LucenePlusPlus-master/=“C:/local/boost_1_73_0”/boost/version.hpp”
cannot be read.

Most probably the “=” is the cause. It just shouldn’t be there.

Here you have it correct.

Hi fenrir-

Very cool. that solved it and my code went on to the next error msg. Luceneplusplus wants another library maybe outside of boost. I will go track it down. THANKS!