# TMVA installation error i have tried a lot of times with root version 6.18-04

**URL:** <https://root-forum.cern.ch/t/tmva-installation-error-i-have-tried-a-lot-of-times-with-root-version-6-18-04/37419>\
**Category:** TMVA\
**Created:** [January 3, 2020, 9:21pm UTC](https://root-forum.cern.ch/t/tmva-installation-error-i-have-tried-a-lot-of-times-with-root-version-6-18-04/37419 "2020-01-03T21:21:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MFarooq786](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/mfarooq786/32/20581_2.png) [@MFarooq786](https://root-forum.cern.ch/u/MFarooq786)\
**Post date:** [January 3, 2020, 9:21pm UTC](https://root-forum.cern.ch/t/tmva-installation-error-i-have-tried-a-lot-of-times-with-root-version-6-18-04/37419/1 "2020-01-03T21:21:08Z")

</div>

Compiling src/GeneticAlgorithm.cxx … Compiling src/TSpline2.cxx … Compiling src/ResultsMulticlass.cxx … Compiling src/PDF.cxx … In file included from ./TMVA/GeneticAlgorithm.h:44,  
from src/GeneticAlgorithm.cxx:38:  
./TMVA/GeneticPopulation.h:40:10: fatal error: Riosfwd.h: No such file or directory  
40 | #include “Riosfwd.h”  
| ^ ~~~~~~~~~~  
compilation terminated.  
make: \*\*\* [Makefile:97: obj/GeneticAlgorithm.o] Error 1  
make: \*\*\* Waiting for unfinished jobs…  
In file included from ./TMVA/GeneticAlgorithm.h:44,  
from src/ResultsMulticlass.cxx:37:  
./TMVA/GeneticPopulation.h:40:10: fatal error: Riosfwd.h: No such file or directory  
40 | #include “Riosfwd.h”  
| ^ ~~~~~~~~~~  
compilation terminated.  
make: \*\*\* [Makefile:97: obj/ResultsMulticlass.o] Error 1

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [January 4, 2020, 9:48am UTC](https://root-forum.cern.ch/t/tmva-installation-error-i-have-tried-a-lot-of-times-with-root-version-6-18-04/37419/2 "2020-01-04T09:48:51Z")

</div>

It seems to me that you mixed source code coming from different ROOT versions (i.e. your “TMVA” is not the one included in your ROOT 6.18/04).
