Skip to content
Snippets Groups Projects
  1. Feb 09, 2021
  2. Nov 25, 2020
  3. Nov 21, 2020
  4. Oct 12, 2020
  5. Oct 01, 2020
  6. Aug 31, 2020
  7. Aug 20, 2020
  8. Aug 12, 2020
  9. Aug 10, 2020
  10. Jul 22, 2020
  11. Jul 15, 2020
    • Bertrand Bellenot's avatar
      v6.22 Fix potential issue with dictionary generation on Windows · 39f1ff34
      Bertrand Bellenot authored
      In some cases, the dictionary generation fails on Windows with character missing in the header file names, or in the path when there is a long list of headers.
      For example, with TMVA, the dictionary generation was failing with the weird missing characters errors, like for example:
      
        Generating G__TMVA.cxx, ../../bin/libTMVA_rdict.pcm, ../../bin/libTMVA.rootmap
        <<< cling interactive line includer >>>:164:10: fatal error: 'TMVA/Volume.' file not found
        #include "TMVA/Volume."
                 ^~~~~~~~~~~~~~
      Or:
      
        Generating G__TMVA.cxx, ../../bin/libTMVA_rdict.pcm, ../../bin/libTMVA.rootmap
        input_line_12:168:10: fatal error: 'TMV/Version.h' file not found
        #include "TMV/Version.h"
                 ^~~~~~~~~~~~~~~
      Or again:
      
        Generating G__TMVA.cxx, ../../bin/libTMVA_rdict.pcm, ../../bin/libTMVA.rootmap
        input_line_12:170:10: fatal error: 'TMVA/TreInference/Objectives.hxx' file not found
        #include "TMVA/TreInference/Objectives.hxx"
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      This is coming from a recent change in include path, when it moved from the unique `root/include` directory to the multiple source `module/inc` directories, making a long list of (for example) `-IC:/Users/bellenot/git/master/core/winnt/inc`, with many duplicates, making a command of more than 8000 characters
      Removing the (many) duplicates is enough to fix the issue.
      
      So on Windows, we now require CMake vesrion 3.16 for the following reasons:
       - 3.15: Added $<REMOVE_DUPLICATES:list> generator expression
       - 3.16: Bug fix with CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS: the auto-generated exports are now updated only when the object files providing the symbols are updated, fixing the incremental build
      
      (it's easy to update CMake on Windows)
      39f1ff34
  12. Jul 08, 2020
  13. Jun 26, 2020
  14. Jun 25, 2020
  15. Jun 23, 2020
  16. Jun 19, 2020
  17. Jun 12, 2020
  18. Jun 05, 2020
Loading