ROOT 6 on Windows 10 and FFTW

Hello,

I installed FFTW, visual studio (created *.lib files as said in FFTW readme) and root (root_v6.14.02.win32.vc15.exe).

ROOT 6.14/02
windows 10 enterprise, version 1607
Microsoft Visual Studio Community 2017
Version 15.8.1
VisualStudio.15.Release/15.8.1+28010.2003

When I run root in cmd I receive a list of warnings (below), however root runs and most tutorials work.
Is there a way to get rid of these warnings?

When I run FFT.C there is another message and root aborts. I added path to FFTW in to PATH variable (“D:\fftw-3.3.5-dll32”)
Is there a way to make it work?

Thank you,
Anton

*************************************************************
D:\root_v6.14.02\tutorials\fft>root
RegQueryValueEx: returned 2: C
RegOpenKeyEx: returned 2: s
RegQueryValueEx: returned 2: ;
RegOpenKeyEx: returned 2: I
RegQueryValueEx: returned 2: X
RegOpenKeyEx: returned 2: C
RegQueryValueEx: returned 2: v
RegOpenKeyEx: returned 2: НЯkh|т
RegQueryValueEx: returned 2: C
RegOpenKeyEx: returned 2: \
RegOpenKeyEx: returned 2: ╨Aщ
RegOpenKeyEx: returned 2: C
RegQueryValueEx: returned 2:
RegOpenKeyEx: returned 2: r
In file included from input_line_3:39:
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\cassert:4:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h:131:12: error: redefinition of '_CrtEnableIf<true, _Ty>'
    struct _CrtEnableIf<true, _Ty>
           ^~~~~~~~~~~~~~~~~~~~~~~
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h:131:12: note: previous definition is here
    struct _CrtEnableIf<true, _Ty>
           ^
In file included from input_line_3:39:
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\cassert:4:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h:488:16: error: redefinition of '__crt_locale_data_public'
typedef struct __crt_locale_data_public
               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\stddef.h:12:10: note: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h' included multiple times, additional include
      site here
#include <corecrt.h>
         ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:10: note: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h' included multiple times, additional include
      site here
#include <corecrt.h>
         ^
In file included from input_line_3:39:
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\cassert:4:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h:495:16: error: redefinition of '__crt_locale_pointers'
typedef struct __crt_locale_pointers
               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\stddef.h:12:10: note: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h' included multiple times, additional include
      site here
#include <corecrt.h>
         ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:10: note: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h' included multiple times, additional include
      site here
#include <corecrt.h>
         ^
In file included from input_line_3:39:
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.15.26726\include\cassert:4:
In file included from C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h:503:16: error: redefinition of '_Mbstatet'
typedef struct _Mbstatet
               ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\stddef.h:12:10: note: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h' included multiple times, additional include
      site here
#include <corecrt.h>
         ^
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\assert.h:12:10: note: 'C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\ucrt\corecrt.h' included multiple times, additional include
      site here
#include <corecrt.h>
         ^
   ------------------------------------------------------------
  | Welcome to ROOT 6.14/02                http://root.cern.ch |
  |                               (c) 1995-2018, The ROOT Team |
  | Built for win32                                            |
  | From tags/v6-14-02@v6-14-02, Jul 27 2018, 10:56:25         |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
   ------------------------------------------------------------

root [0]
root [0] .x FFT.C
Error in <TWinNTSystem::DynamicPathName>: FFTW does not exist in D:\root_v6.14.02\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\iCLS\;C:\Program Files\Intel\Intel(R) Management Engine Components\iCLS\;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;D:\root_v6.14.02\bin;C:\Users\avbog\AppData\Local\Microsoft\WindowsApps;D:\Users\Bogomyagkov\Documents\Work\MADX;D:\fftw-3.3.5-dll32;.;D:\root_v6.14.02\bin;D:\root_v6.14.02\lib;D:\root_v6.14.02\bin,
or has wrong file extension (.dll)
Error in <TVirtualFFT::FFT>: handler not found

==========================================
=============== STACKTRACE ===============
==========================================


================ Thread 0 ================
  0x2041fff ??
  0x2041041 ??
  libCling!cling::runtime::internal::EvaluateDynamicExpression()
  libCling!cling::runtime::internal::EvaluateDynamicExpression()
  libCling!cling::runtime::internal::EvaluateDynamicExpression()
  libCling!cling::runtime::internal::setValueWithAlloc()
  libCling!cling::runtime::internal::setValueWithAlloc()
  libCling!cling::runtime::internal::setValueWithAlloc()
  libCling!cling::runtime::internal::setValueWithAlloc()
  libCling!cling::runtime::internal::setValueWithAlloc()
  libCling!TCling::GetTopLevelMacroName()
  libCling!TCling::ProcessLine()
  libCling!TCling::ProcessLineSynch()
  libCore!TApplication::ExecuteFile()
  libCore!TApplication::ProcessFile()
  libCore!TApplication::ProcessLine()
  libRint!TRint::ProcessLineNr()
  libRint!TRint::HandleTermInput()
  libCore!TWinNTSystem::DispatchOneEvent()
  libCore!TSystem::InnerLoop()
  libCore!TApplication::Run()
  libRint!TRint::Run()
  root!??
  root!??
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 1 ================
  ntdll!ZwDelayExecution()
  KERNELBASE!Sleep()
  libCore!TWinNTSystem::TimerThread()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 2 ================
  win32u!NtUserGetMessage()
  libCore!TWinNTSystem::FreeDirectory()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 3 ================
  ntdll!NtWaitForWorkViaWorkerFactory()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 4 ================
  ntdll!NtWaitForWorkViaWorkerFactory()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 5 ================
  ntdll!NtWaitForWorkViaWorkerFactory()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 6 ================
  ntdll!NtWaitForWorkViaWorkerFactory()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

================ Thread 7 ================
  ntdll!NtWaitForWorkViaWorkerFactory()
  KERNEL32!BaseThreadInitThunk()
  ntdll!RtlSubscribeWnfStateChangeNotification()
  ntdll!RtlSubscribeWnfStateChangeNotification()

==========================================
============= END STACKTRACE =============
==========================================

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.