I'm trying to build for windows 10 but it is failing with this error when I run the build script, I find it strange that Visual Studio 2019 can find a reference for this symbol inside a header referenced before but it still fails building.
I've only changed the .bat file in order to build in my machie:
rem Example file on how to build under Windows
rem using DCMAKE_PREFIX_PATH to specify where
rem cmake's find* should look for dependencies.
rmdir /S /Q build
mkdir build
cd build
rem -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
cmake -DCMAKE_PREFIX_PATH=C:\libraries_CPP\include;C:\libraries_CPP\include\openssl;C:\libraries_CPP\include\boost;C:\libraries_CPP\lib\x64;C:\libraries_CPP\bin\x64; -G "Visual Studio 16 2019" ..
cmake --build . --config Debug
cmake --build . --config Release
cd ..
@pause
I'm trying to build for windows 10 but it is failing with this error when I run the build script, I find it strange that Visual Studio 2019 can find a reference for this symbol inside a header referenced before but it still fails building.
I've only changed the .bat file in order to build in my machie:
This is the error message:
However the symbol is defined in
C:\libraries_CPP\include\openssl\tls1.h
My question is why the compiler can't find the symbol?