Tsystem - no such file or directory

Hi,
I installed a c++ compiler on windows 8 and I’d like to run an application using g++. The installation seems succesfully, but when I create the executable with " g++ -o output /path/to/file.cc ‘root-config --cflags --glibs -03’ " command I get:

fatal error: TSystem.h: No such file or directory
7 | #include <TSystem.h>

It could be due to the ROOT version I’m usingon Windows, that is the 5.34.26?

Cheers


Please read tips for efficient and successful posting and posting code

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Which version of ROOT did you install exactly? And which compiler?

Hi,

I installed root 5.34.26 (on Windows 8 I cannot install higher versions) and the compiler is minGW

Sorry, but AFAIK, there is no version of ROOT supporting MinGW, at least no binaries

Ok, thanks… and do you know a compiler I could install on Windows 8 supporting it?

Well, I would suggest to try the latest ROOT 6 and Visual Studio 2022, but I’m not sure if Windows 8 is supported…

yes, unfortunately ROOT 6 is not supported by Windows 8… anyway, I’ll find another solution.

Thanks

You can also use a Virual Machine with any OS you want…

1 Like

And BTW, Support for Windows 8 ended on January 12, 2016, and support for Windows 8.1 has ended on January 10, 2023

1 Like

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