[ https://issues.apache.org/jira/browse/THRIFT-4347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180943#comment-16180943 ]
Gideon Korir commented on THRIFT-4347: -------------------------------------- This occurs because Ctest doesn't have correct boost libraries to link against. Fixed by adding path to boost libraries to my PATH system variable. > running build-thrift error when running tests > --------------------------------------------- > > Key: THRIFT-4347 > URL: https://issues.apache.org/jira/browse/THRIFT-4347 > Project: Thrift > Issue Type: Bug > Components: Build Process, Test Suite > Affects Versions: 0.10.0 > Environment: - Following the instructions at > [github|https://github.com/apache/thrift/tree/master/build/wincpp] to build > Thrift on Windows 7. I'm a bit out of my league there but I followed all the > instructions using: > # Branch: master > # Visual Studio 2017 Community > # CMake 3.9.3 > # WinFlexBison - latest > # OpenSsl 1.1.0-rc > # Zlib 1.2.9 > # libevent 2.1.7-rc > # ActivePerl 5.24.2.2403 x64 > # Boost boost_1_62_0-msvc-14.0-32 > Environment Variables: > # ARCH = x86 > # COMPILER = vc150 > # GENERATOR = Visual Studio 15 2017 > Reporter: Gideon Korir > > build-thrift.bat /NOTEST => SUCCESSFUL BUILD > build-thrift.bat => ERROR > SO FAR I've Isolated the error to the post-build event for RUN_TESTS project. > There error message is: > Error MSB3073 The command "setlocal > "C:\Program Files\CMake\bin\ctest.exe" --force-new-ctest-process -C Debug > if %errorlevel% neq 0 goto :cmEnd > :cmEnd > endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone > :cmErrorLevel > exit /b %1 > :cmDone > if %errorlevel% neq 0 goto :VCEnd > :VCEnd" exited with code 8. -- This message was sent by Atlassian JIRA (v6.4.14#64029)