The C++ Compiler cannot run a simple test program
-
@Orkun-Tokdemir
you mean this one?
-
@Daemonitas yes
-
@Orkun-Tokdemir
well clearly it works
perhaps the problem is actually my laptop itself
but what causes this in the first place -
@Daemonitas Did you run it as below?
"C:Qt/Tools/mingw120_64/bin/c++.exe" hello.cpp -o hello
-
@Orkun-Tokdemir
yes It works fine -
There is something wrong with your Windows installation / laptop.
The compilers themselves seem to work, but not the build programs (ninja, mingw32-make, msbuild, jom).
The antivirus is not the issue. I can think of two issues:
- some sort of a disk failure
- some user rights access issues
You can get yourself a Windows Virtual Machine from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/
That is if the laptop is powerful enough to run a VM.
-
@cristian-adam
so I reinstalled windows and mingw works
msvc said its missing cxx compiler path but hey atleast mingw works so I guess problem solved
my windows is the problem after all. Had to sacrifice my files but as long as it works its a win in my book. -