I have had some more success building Gr using MSVC v18 than MSVC v16 previously (nearly impossible). Besides the high noise-level (due to cmake/msvc/config.h), the C++ building seems fine.
But the build stops in 'build\gnuradio-runtime\swig' at some CustomBuild/CustomCommand. Here is from the MSbuild output: if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd setlocal "" << !! because of this if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd setlocal "" if %errorlevel% neq 0 goto :cmEnd :cmEnd endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone :cmErrorLevel exit /b %1 :cmDone if %errorlevel% neq 0 goto :VCEnd Building Custom Rule F:/gv/dx-radio/gnuradio-3.x/gnuradio-runtime/swig/CMakeLists.txt '""' is not recognized as an internal or external command, What command in 'gnuradio-runtime\swig\CMakeLists.txt' could trigger this illegal CMD batch snippet? BTW. I generated the .sln/.vcxproj files by a script: setlocal cd build set OPT=-DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl ^ -DCMAKE_CXX_COMPILER_ENV_VAR=-nologo -O2 -MD ^ -DCMAKE_C_COMPILER_ENV_VAR=-nologo -O2 -MD ^ -Wno-dev -DCMAKE_BUILD_TYPE="Release" -DENABLE_TESTING=1 ^ -DPORTAUDIO_LIBRARIES=%MINGW32%/src/Sound/Portaudio/lib/portaudio_static_x86.lib cmake %OPT% -G "Visual Studio 12 2013" .. ... -- --gv _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio