Go to 'codeforces.com/problemset/problem/126/B'
Click on 'competitive companion'
Press 'Ctrl + Shift + F10'
See an error
Expected behavior
run the program
Screenshots
Error message:
Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified
Stacktrace:
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:359)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion.from(TwoStepProcessFactory.kt:45)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion$from$1.invokeSuspend(TwoStepProcessFactory.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: java.io.IOException: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:435)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:349)
... 8 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:499)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 11 more
Environment (please complete the following information):
OS: Windows 11
IDE: Clion 2023.2.1
Programming Language: C++
Additional context
I have installed g++, but I am unable to use the plugin.
Describe the bug AutoCp doesn't work
To Reproduce Steps to reproduce the behavior:
Go to 'codeforces.com/problemset/problem/126/B' Click on 'competitive companion' Press 'Ctrl + Shift + F10' See an error Expected behavior run the program
Screenshots Error message: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified Stacktrace: com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:359) at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion.from(TwoStepProcessFactory.kt:45) at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion$from$1.invokeSuspend(TwoStepProcessFactory.kt) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664) Caused by: java.io.IOException: Cannot run program "g++" (in directory "C:\Users\SUMBAR\AppData\Local\Temp\AutoCp1035667180991975189"): CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:435) at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:349) ... 8 more Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.(ProcessImpl.java:499) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:158) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) ... 11 more
Environment (please complete the following information):
OS: Windows 11 IDE: Clion 2023.2.1 Programming Language: C++ Additional context I have installed g++, but I am unable to use the plugin.