Building root 6-14-04 from source on Windows


ROOT Version: 6.14.04
Platform: Windows 10

Is there a recent tutorial for building root from source on windows? I am using this:
https://root.cern.ch/root/htmldoc/guides/users-guide/InstallandBuild.html#license

How do I ‘activate’ roofit while building from source?
Since FFTW will be added to the binaries in future, I was thinking about building root from source on windows.

Hi,

See Building ROOT
And to add Roofit, you can simply add -Droofit=ON in the CMake configure step. And FYI, the next releases will include roofit (but not FFTW, since we cannot distribute the FFTW dlls)

Cheers, Bertrand.

running the convolution tutorial gives me the following error:

root [1] rf208_convolution()
[#1] INFO:Eval -- RooRealVar::setRange(t) new range named 'refrange_fft_lxg' created with bounds [-10,30]
[#1] INFO:NumericIntegration -- RooRealIntegral::init(lx_Int[t]) using numeric integrator RooIntegrator1D to calculate Int(t)
Error in <TWinNTSystem::DynamicPathName>: FFTW does not exist in C:\rootv61404\bin;C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Library\bin;C:\ProgramData\Anaconda3\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\gnuplot\bin;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\Sublime Text 3\bin;C:\MinGW\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\rootv61404\bin;C:\Program Files\Git\bin;C:\Users\Debajyoti Sengupta\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Fortran\bin;C:\Program Files\Microsoft VS Code\bin;C:\MinGW\bin;C:\Users\Debajyoti Sengupta\AppData\Local\Programs\Microsoft VS Code\bin;C:\rootv61404\bin;C:\Program Files\Git\bin;;.;C:\rootv61404\bin;C:\rootv61404\lib;C:\rootv61404\bin,
or has wrong file extension (.dll)
Error in <TVirtualFFT::FFT>: handler not found
Error in <TWinNTSystem::DynamicPathName>: FFTW does not exist in C:\rootv61404\bin;C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Library\bin;C:\ProgramData\Anaconda3\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\gnuplot\bin;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\Sublime Text 3\bin;C:\MinGW\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\rootv61404\bin;C:\Program Files\Git\bin;C:\Users\Debajyoti Sengupta\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Fortran\bin;C:\Program Files\Microsoft VS Code\bin;C:\MinGW\bin;C:\Users\Debajyoti Sengupta\AppData\Local\Programs\Microsoft VS Code\bin;C:\rootv61404\bin;C:\Program Files\Git\bin;;.;C:\rootv61404\bin;C:\rootv61404\lib;C:\rootv61404\bin,
or has wrong file extension (.dll)
Error in <TVirtualFFT::FFT>: handler not found
Error in <TWinNTSystem::DynamicPathName>: FFTW does not exist in C:\rootv61404\bin;C:\ProgramData\Anaconda3;C:\ProgramData\Anaconda3\Library\mingw-w64\bin;C:\ProgramData\Anaconda3\Library\usr\bin;C:\ProgramData\Anaconda3\Library\bin;C:\ProgramData\Anaconda3\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\gnuplot\bin;C:\Program Files (x86)\Wolfram Research\WolframScript\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\MiKTeX 2.9\miktex\bin\x64\;C:\Program Files (x86)\Sublime Text 3\bin;C:\MinGW\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\rootv61404\bin;C:\Program Files\Git\bin;C:\Users\Debajyoti Sengupta\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Fortran\bin;C:\Program Files\Microsoft VS Code\bin;C:\MinGW\bin;C:\Users\Debajyoti Sengupta\AppData\Local\Programs\Microsoft VS Code\bin;C:\rootv61404\bin;C:\Program Files\Git\bin;;.;C:\rootv61404\bin;C:\rootv61404\lib;C:\rootv61404\bin,
or has wrong file extension (.dll)
Error in <TVirtualFFT::FFT>: handler not found

Will building root from source solve this? If not, how do I solve this?

Yes, building from source will solve that, but you need to install FFTW3 on your machine first

There are Precompiled FFTW 3.3.5 Windows DLLs available. Will copying the extracted files to the root binary folder work? Or do I need a fresh installation?

Follow the instructions from the FFTW Windows Installation Notes, then configure ROOT to pick-up the FFTW libraries (you can use cmake-gui), and make sure the FFTW dlls are somewhere in the PATH (and yes, copying them in the ROOT bin directory is good enough)
For example:

cmake -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR=C:/libs/fftw/3.3.5 -DFFTW_LIBRARY=C:/libs/fftw/3.3.5/libfftw3-3.lib C:\your\source\location\root

will the C:/libs/fftw/3.3… be repalced by the path where the fftw files are extracted?

and c:\your\source\location\root is where I want root to be installed?

I followed the steps mentioned in the FFTW page

D:\Software\Software Downloads\fftw-3.3.5-dll32>lib /def:libfftw3-3.def
Microsoft (R) Library Manager Version 14.15.26726.0
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
   Creating library libfftw3-3.lib and object libfftw3-3.exp

D:\Software\Software Downloads\fftw-3.3.5-dll32>lib /def:libfftw3f-3.def
Microsoft (R) Library Manager Version 14.15.26726.0
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
   Creating library libfftw3f-3.lib and object libfftw3f-3.exp

D:\Software\Software Downloads\fftw-3.3.5-dll32>lib /def:libfftw3l-3.def
Microsoft (R) Library Manager Version 14.15.26726.0
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
   Creating library libfftw3l-3.lib and object libfftw3l-3.exp

and then copied all the files in the extracted folder to the bin folder of root. The problem is still there.

You have to give the path where you installed the fftw files.

No, this is the location of the ROOT source directory

Indeed. You have to build ROOT from source…

okay, I will be uninstalling the binary and rebuilding with cmake.
The dlls are extracted in D:\Software\Software Downloads\fftw-3.3.5-dll32

I used git clone to clone the root git.

  1. mkdir buildroot
  2. cd buildroot

3.cmake -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR=D:\Software\Software Downloads\fftw-3.3.5-dll32 -DFFTW_LIBRARY=D:\Software\Software Downloads\fftw-3.3.5-dll32\libfftw3-3.lib C:\Users\Debajyoti Sengupta\root

gives me the following error

CMake Error: The source directory "C:/Users/Debajyoti Sengupta/buildroot/Sengupta/root" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

when there are spaces in the path, you must enclose them between quotes. Try:

cmake -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR="D:\Software\Software Downloads\fftw-3.3.5-dll32" -DFFTW_LIBRARY="D:\Software\Software Downloads\fftw-3.3.5-dll32\libfftw3-3.lib" "C:\Users\Debajyoti Sengupta\root"

the compilation stopped with a warning

-- Building for: Visual Studio 15 2017
-- The C compiler identification is MSVC 19.15.26726.0
-- The CXX compiler identification is MSVC 19.15.26726.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ROOT default compression algorithm is zlib
-- Vc does not support AMD64. Support for Vc disabled.
-- Performing Test HAS_CXX14
-- Performing Test HAS_CXX14 - Success
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: win32
-- ROOT Architecture: win32
-- Build Type: RelWithDebInfo
-- Compiler Flags: -nologo -IC:/Users/Debajyoti Sengupta/root/build/win -FIw32pragma.h -FIsehmap.h -Zc:__cplusplus -MD -GR -EHsc- -W3 -wd4141 -wd4291 -wd4244 -wd4049 -D_WIN32 -D_XKEYCHECK_H -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS  -std=c++14
-- Looking for ZLib
-- Found ZLIB: C:/ProgramData/Anaconda3/Library/lib/z.lib (found version "1.2.11")
-- Looking for Freetype
-- Found Freetype: C:/ProgramData/Anaconda3/Library/lib/freetype.lib (found version "2.9.1")
-- Looking for PCRE
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
-- PCRE not found. Switching on builtin_pcre option
-- Building pcre version 8.37 included in ROOT itself
-- Looking for LZMA
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.1 included in ROOT itself
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for LZ4
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
-- LZ4 not found. Switching on builtin_lz4 option
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Found TIFF: C:/ProgramData/Anaconda3/Library/lib/tiff.lib (found version "4.0.9")
-- Found PNG: C:/ProgramData/Anaconda3/Library/lib/libpng.lib (found version "1.6.34")
-- Found JPEG: C:/ProgramData/Anaconda3/Library/lib/jpeg.lib (found version "90")
-- Looking for GSL
CMake Error at cmake/modules/FindGSL.cmake:55 (string):
  string sub-command FIND requires 3 or 4 parameters.
Call Stack (most recent call first):
  cmake/modules/SearchInstalledSoftware.cmake:9 (_find_package)
  cmake/modules/SearchInstalledSoftware.cmake:422 (find_package)
  CMakeLists.txt:103 (include)


-- Could NOT find GSL (missing: GSL_INCLUDE_DIR GSL_LIBRARY) (Required is at least version "1.10")
-- GSL not found. Set variable GSL_DIR to point to your GSL installation
--                Alternatively, you can also enable the option 'builtin_gsl' to build the GSL libraries internally'
--                For the time being switching OFF 'mathmore' option
-- Found PythonInterp: C:/ProgramData/Anaconda3/python.exe (found version "3.7")
-- Found PythonLibs: C:/ProgramData/Anaconda3/libs/python37.lib (found version "3.7.0")
-- Looking for OpenGL
-- Found OpenGL: opengl32
-- Looking for gl2ps
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Found LibXml2: C:/ProgramData/Anaconda3/Library/lib/libxml2.lib (found version "2.9.8")
-- Found OpenSSL: C:/ProgramData/Anaconda3/Library/lib/libeay32.lib (found version "1.0.2p")
-- Looking for Castor
-- Could NOT find CASTOR (missing: CASTOR_shift_LIBRARY CASTOR_INCLUDE_DIR)
-- Castor not found. Switching off castor option
-- Looking for MySQL
-- Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
--    currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
--    currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: POSTGRESQL_INCLUDE_DIR POSTGRESQL_LIBRARY)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found Sqlite: C:/ProgramData/Anaconda3/Library/include
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing: CFITSIO_INCLUDE_DIR CFITSIO_LIBRARY)
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
--                    For the time being switching off 'fitsio' option
-- Looking for XROOTD
-- XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
--                   Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally
--                   For the time being switching OFF 'xrootd' option
-- Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
                      and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Enabled support for:  asimage astiff builtin_afterimage builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_clang builtin_lzma builtin_lz4 builtin_pcre builtin_xxhash clad cling cxx14 exceptions explicitlink fftw3 gdml http opengl pch python roofit shared sqlite ssl thread xml
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Warning: LLVM will be built thread-unsafe because atomic builtins are missing
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- LLVM host triple: i686-pc-win32
-- LLVM default target triple: i686-pc-win32
-- Using MinSizeRel VC++ CRT: MD
-- Constructing LLVMBuild project information
-- LLVMHello ignored -- Loadable modules not supported on this platform.
-- Targeting X86
-- Clang version: 5.0.0
-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.
-- AnnotateFunctions ignored -- Loadable modules not supported on this platform.
-- BugpointPasses ignored -- Loadable modules not supported on this platform.
-- Cling version (from VERSION file): ROOT_0.6~dev
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Failed
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Failed
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Failed
-- Looking for m
-- Looking for m - not found
-- Performing Test CXX_HAS_fno_strict_aliasing
-- Performing Test CXX_HAS_fno_strict_aliasing - Failed
-- Performing Test CXX_HAS_Wno_parentheses_equality
-- Performing Test CXX_HAS_Wno_parentheses_equality - Failed
-- Performing Test CXX_HAS_Wno_cast_function_type
-- Performing Test CXX_HAS_Wno_cast_function_type - Failed
-- Performing Test CXX_HAS_Wno_deprecated_register
-- Performing Test CXX_HAS_Wno_deprecated_register - Failed
-- Performing Test CXX_HAS_Wno_register
-- Performing Test CXX_HAS_Wno_register - Failed
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Failed
-- Performing Test found_stdexpstringview
-- Performing Test found_stdexpstringview - Failed
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Failed
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSL_LIBRARY (ADVANCED)
    linked by target "hist2workspace" in directory C:/Users/Debajyoti Sengupta/root/roofit/histfactory

-- Configuring incomplete, errors occurred!
See also "C:/Users/Debajyoti Sengupta/buildroot/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Debajyoti Sengupta/buildroot/CMakeFiles/CMakeError.log".

CMakeError - Copy.txt (319.2 KB)
CMakeOutput - Copy.txt (30.8 KB)

This is not the compilation. but anyway, try addin -Dall=OFF:

cmake -Dall=OFF -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR="D:\Software\Software Downloads\fftw-3.3.5-dll32" -DFFTW_LIBRARY="D:\Software\Software Downloads\fftw-3.3.5-dll32\libfftw3-3.lib" "C:\Users\Debajyoti Sengupta\root"

Then you will need to build ROOT with (select Debug OR Release):

cmake --build . --config Debug/Release

it still gives an error:

-- Building for: Visual Studio 15 2017
-- The C compiler identification is MSVC 19.15.26726.0
-- The CXX compiler identification is MSVC 19.15.26726.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ROOT default compression algorithm is zlib
-- Vc does not support AMD64. Support for Vc disabled.
-- Performing Test HAS_CXX14
-- Performing Test HAS_CXX14 - Success
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: win32
-- ROOT Architecture: win32
-- Build Type: RelWithDebInfo
-- Compiler Flags: -nologo -IC:/Users/Debajyoti Sengupta/root/build/win -FIw32pragma.h -FIsehmap.h -Zc:__cplusplus -MD -GR -EHsc- -W3 -wd4141 -wd4291 -wd4244 -wd4049 -D_WIN32 -D_XKEYCHECK_H -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS  -std=c++14
-- Looking for ZLib
-- Found ZLIB: C:/ProgramData/Anaconda3/Library/lib/z.lib (found version "1.2.11")
-- Looking for Freetype
-- Found Freetype: C:/ProgramData/Anaconda3/Library/lib/freetype.lib (found version "2.9.1")
-- Looking for PCRE
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
-- PCRE not found. Switching on builtin_pcre option
-- Building pcre version 8.37 included in ROOT itself
-- Looking for LZMA
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.1 included in ROOT itself
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for LZ4
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
-- LZ4 not found. Switching on builtin_lz4 option
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Found TIFF: C:/ProgramData/Anaconda3/Library/lib/tiff.lib (found version "4.0.9")
-- Found PNG: C:/ProgramData/Anaconda3/Library/lib/libpng.lib (found version "1.6.34")
-- Found JPEG: C:/ProgramData/Anaconda3/Library/lib/jpeg.lib (found version "90")
-- Looking for GSL
CMake Error at cmake/modules/FindGSL.cmake:55 (string):
  string sub-command FIND requires 3 or 4 parameters.
Call Stack (most recent call first):
  cmake/modules/SearchInstalledSoftware.cmake:9 (_find_package)
  cmake/modules/SearchInstalledSoftware.cmake:422 (find_package)
  CMakeLists.txt:103 (include)


-- Could NOT find GSL (missing: GSL_INCLUDE_DIR GSL_LIBRARY) (Required is at least version "1.10")
-- GSL not found. Set variable GSL_DIR to point to your GSL installation
--                Alternatively, you can also enable the option 'builtin_gsl' to build the GSL libraries internally'
--                For the time being switching OFF 'mathmore' option
-- Found PythonInterp: C:/ProgramData/Anaconda3/python.exe (found version "3.7")
-- Found PythonLibs: C:/ProgramData/Anaconda3/libs/python37.lib (found version "3.7.0")
-- Looking for OpenGL
-- Found OpenGL: opengl32
-- Looking for gl2ps
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Found LibXml2: C:/ProgramData/Anaconda3/Library/lib/libxml2.lib (found version "2.9.8")
-- Found OpenSSL: C:/ProgramData/Anaconda3/Library/lib/libeay32.lib (found version "1.0.2p")
-- Looking for Castor
-- Could NOT find CASTOR (missing: CASTOR_shift_LIBRARY CASTOR_INCLUDE_DIR)
-- Castor not found. Switching off castor option
-- Looking for MySQL
-- Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
--    currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
--    currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: POSTGRESQL_INCLUDE_DIR POSTGRESQL_LIBRARY)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found Sqlite: C:/ProgramData/Anaconda3/Library/include
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing: CFITSIO_INCLUDE_DIR CFITSIO_LIBRARY)
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
--                    For the time being switching off 'fitsio' option
-- Looking for XROOTD
-- XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
--                   Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally
--                   For the time being switching OFF 'xrootd' option
-- Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
                      and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Enabled support for:  asimage astiff builtin_afterimage builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_clang builtin_lzma builtin_lz4 builtin_pcre builtin_xxhash clad cling cxx14 exceptions explicitlink fftw3 gdml http opengl pch python roofit shared sqlite ssl thread xml
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Warning: LLVM will be built thread-unsafe because atomic builtins are missing
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- LLVM host triple: i686-pc-win32
-- LLVM default target triple: i686-pc-win32
-- Using MinSizeRel VC++ CRT: MD
-- Constructing LLVMBuild project information
-- LLVMHello ignored -- Loadable modules not supported on this platform.
-- Targeting X86
-- Clang version: 5.0.0
-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.
-- AnnotateFunctions ignored -- Loadable modules not supported on this platform.
-- BugpointPasses ignored -- Loadable modules not supported on this platform.
-- Cling version (from VERSION file): ROOT_0.6~dev
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Failed
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Failed
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Failed
-- Looking for m
-- Looking for m - not found
-- Performing Test CXX_HAS_fno_strict_aliasing
-- Performing Test CXX_HAS_fno_strict_aliasing - Failed
-- Performing Test CXX_HAS_Wno_parentheses_equality
-- Performing Test CXX_HAS_Wno_parentheses_equality - Failed
-- Performing Test CXX_HAS_Wno_cast_function_type
-- Performing Test CXX_HAS_Wno_cast_function_type - Failed
-- Performing Test CXX_HAS_Wno_deprecated_register
-- Performing Test CXX_HAS_Wno_deprecated_register - Failed
-- Performing Test CXX_HAS_Wno_register
-- Performing Test CXX_HAS_Wno_register - Failed
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Failed
-- Performing Test found_stdexpstringview
-- Performing Test found_stdexpstringview - Failed
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Failed
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSL_LIBRARY (ADVANCED)
    linked by target "hist2workspace" in directory C:/Users/Debajyoti Sengupta/root/roofit/histfactory

-- Configuring incomplete, errors occurred!
See also "C:/Users/Debajyoti Sengupta/buildroot/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Debajyoti Sengupta/buildroot/CMakeFiles/CMakeError.log".

This looks weird… Can you try with this:

cmake -Dall=OFF -Dmathmore=OFF -Dgfal=OFF -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR="D:\Software\Software Downloads\fftw-3.3.5-dll32" -DFFTW_LIBRARY="D:\Software\Software Downloads\fftw-3.3.5-dll32\libfftw3-3.lib" "C:\Users\Debajyoti Sengupta\root"

This works, but there are lots of failed tests:

-- Building for: Visual Studio 15 2017
-- The C compiler identification is MSVC 19.15.26726.0
-- The CXX compiler identification is MSVC 19.15.26726.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ROOT default compression algorithm is zlib
-- Vc does not support AMD64. Support for Vc disabled.
-- Performing Test HAS_CXX14
-- Performing Test HAS_CXX14 - Success
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: win32
-- ROOT Architecture: win32
-- Build Type: RelWithDebInfo
-- Compiler Flags: -nologo -IC:/Users/Debajyoti Sengupta/root/build/win -FIw32pragma.h -FIsehmap.h -Zc:__cplusplus -MD -GR -EHsc- -W3 -wd4141 -wd4291 -wd4244 -wd4049 -D_WIN32 -D_XKEYCHECK_H -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS  -std=c++14
-- Looking for ZLib
-- Found ZLIB: C:/ProgramData/Anaconda3/Library/lib/z.lib (found version "1.2.11")
-- Looking for Freetype
-- Found Freetype: C:/ProgramData/Anaconda3/Library/lib/freetype.lib (found version "2.9.1")
-- Looking for PCRE
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
-- PCRE not found. Switching on builtin_pcre option
-- Building pcre version 8.37 included in ROOT itself
-- Looking for LZMA
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.1 included in ROOT itself
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for LZ4
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
-- LZ4 not found. Switching on builtin_lz4 option
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Found TIFF: C:/ProgramData/Anaconda3/Library/lib/tiff.lib (found version "4.0.9")
-- Found PNG: C:/ProgramData/Anaconda3/Library/lib/libpng.lib (found version "1.6.34")
-- Found JPEG: C:/ProgramData/Anaconda3/Library/lib/jpeg.lib (found version "90")
-- Found PythonInterp: C:/ProgramData/Anaconda3/python.exe (found version "3.7")
-- Found PythonLibs: C:/ProgramData/Anaconda3/libs/python37.lib (found version "3.7.0")
-- Looking for OpenGL
-- Found OpenGL: opengl32
-- Looking for gl2ps
-- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR)
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Found LibXml2: C:/ProgramData/Anaconda3/Library/lib/libxml2.lib (found version "2.9.8")
-- Found OpenSSL: C:/ProgramData/Anaconda3/Library/lib/libeay32.lib (found version "1.0.2p")
-- Looking for Castor
-- Could NOT find CASTOR (missing: CASTOR_shift_LIBRARY CASTOR_INCLUDE_DIR)
-- Castor not found. Switching off castor option
-- Looking for MySQL
-- Could NOT find MYSQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
--    currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
--    currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: POSTGRESQL_INCLUDE_DIR POSTGRESQL_LIBRARY)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Found Sqlite: C:/ProgramData/Anaconda3/Library/include
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing: CFITSIO_INCLUDE_DIR CFITSIO_LIBRARY)
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
--                    For the time being switching off 'fitsio' option
-- Looking for XROOTD
-- XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
--                   Alternatively, you can also enable the option 'builtin_xrootd' to build XROOTD internally
--                   For the time being switching OFF 'xrootd' option
-- Enabled support for:  asimage astiff builtin_afterimage builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_clang builtin_lzma builtin_lz4 builtin_pcre builtin_xxhash clad cling cxx14 exceptions explicitlink fftw3 gdml http opengl pch python roofit shared sqlite ssl thread xml
-- The ASM compiler identification is MSVC
-- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.15.26726/bin/Hostx86/x86/cl.exe
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find Backtrace (missing: Backtrace_LIBRARY Backtrace_INCLUDE_DIR)
-- Warning: LLVM will be built thread-unsafe because atomic builtins are missing
-- Native target architecture is X86
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- LLVM host triple: i686-pc-win32
-- LLVM default target triple: i686-pc-win32
-- Using MinSizeRel VC++ CRT: MD
-- Constructing LLVMBuild project information
-- LLVMHello ignored -- Loadable modules not supported on this platform.
-- Targeting X86
-- Clang version: 5.0.0
-- PrintFunctionNames ignored -- Loadable modules not supported on this platform.
-- AnnotateFunctions ignored -- Loadable modules not supported on this platform.
-- BugpointPasses ignored -- Loadable modules not supported on this platform.
-- Cling version (from VERSION file): ROOT_0.6~dev
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Failed
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Failed
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Failed
-- Looking for m
-- Looking for m - not found
-- Performing Test CXX_HAS_fno_strict_aliasing
-- Performing Test CXX_HAS_fno_strict_aliasing - Failed
-- Performing Test CXX_HAS_Wno_parentheses_equality
-- Performing Test CXX_HAS_Wno_parentheses_equality - Failed
-- Performing Test CXX_HAS_Wno_cast_function_type
-- Performing Test CXX_HAS_Wno_cast_function_type - Failed
-- Performing Test CXX_HAS_Wno_deprecated_register
-- Performing Test CXX_HAS_Wno_deprecated_register - Failed
-- Performing Test CXX_HAS_Wno_register
-- Performing Test CXX_HAS_Wno_register - Failed
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Failed
-- Performing Test found_stdexpstringview
-- Performing Test found_stdexpstringview - Failed
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Failed
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Debajyoti Sengupta/buildroot

should I proceed with

cmake --build . --config Release

That’s normal

Yes, just go ahead

There are lots of errors. Copying the last few bits

"C:\Users\Debajyoti Sengupta\buildroot\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\Win32gdk.vcxproj" (default target) (369) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\GDKLIB.vcxproj" (default target) (370) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\glib.vcxproj" (default target) (371) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\iconv.vcxproj" (default target) (372) ->
(CustomBuild target) ->
  relocatable.c : fatal error C1083: Cannot open include file: 'w32pragma.h': No such file or directory [C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\iconv.vc
xproj]
  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.15.26726\bin\HostX86\x86\cl.EXE"' : return code '0x2' [C
:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\iconv.vcxproj]

    3 Warning(s)
    290 Error(s)

Time Elapsed 00:09:00.70
Build FAILED.

"C:\Users\Debajyoti Sengupta\buildroot\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\asimage\ASImage.vcxproj" (default target) (4) ->
"C:\Users\Debajyoti Sengupta\buildroot\core\Core.vcxproj" (default target) (5) ->
"C:\Users\Debajyoti Sengupta\buildroot\core\base\Base.vcxproj" (default target) (6) ->
"C:\Users\Debajyoti Sengupta\buildroot\core\base\G__Core.vcxproj" (default target) (7) ->
"C:\Users\Debajyoti Sengupta\buildroot\core\rootcling_stage1\rootcling_stage1.vcxproj" (default target) (8) ->
"C:\Users\Debajyoti Sengupta\buildroot\core\clib\Clib.vcxproj" (default target) (65) ->
"C:\Users\Debajyoti Sengupta\buildroot\move_headers.vcxproj" (default target) (66) ->
"C:\Users\Debajyoti Sengupta\buildroot\builtins\lz4\lz4.vcxproj" (default target) (67) ->
"C:\Users\Debajyoti Sengupta\buildroot\builtins\xxhash\xxhash.vcxproj" (default target) (68) ->
(ClCompile target) ->
  cl : Command line warning D9002: ignoring unknown option '-fvisibility=hidden' [C:\Users\Debajyoti Sengupta\buildroot\builtins\xxhash\xxhash.vcxproj]


"C:\Users\Debajyoti Sengupta\buildroot\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\Win32gdk.vcxproj" (default target) (369) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\GDKLIB.vcxproj" (default target) (370) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\glib.vcxproj" (default target) (371) ->
"C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\iconv.vcxproj" (default target) (372) ->
(CustomBuild target) ->
  cl : Command line warning D9024: unrecognized source file type 'Sengupta/root/build/win', object file assumed [C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\
iconv.vcxproj]
  cl : Command line warning D9027: source file 'Sengupta/root/build/win' ignored [C:\Users\Debajyoti Sengupta\buildroot\graf2d\win32gdk\iconv.vcxproj]

:frowning:

Weird… Could you try to build in a directory not containing any white spaces?

Extracted FFTW at D:\Software\fftw-3.3.5-dll32
cloning root git to D:\root

  1. mkdir buildroot
  2. cd buildroot
cmake -Droofit=ON -Dfftw3=ON -DFFTW_INCLUDE_DIR=D:\Software\fftw-3.3.5-dll32 -DFFTW_LIBRARY=D:\Software\fftw-3.3.5 dll32\libfftw3-3.lib D:\root
cmake --build . --config Release