Skip to content

plugin not working #140

@belkis2023

Description

@belkis2023

I tried changing the version but still same problem

log:
Testing started at 02:34 ...
Building "C. Air Conditioner" ...
This was not supposed to happen, please file an issue

Error message:
Cannot run program "g++" (in directory "C:\Users\SYBLEN1\AppData\Local\Temp\AutoCp17538202280212630357"): CreateProcess error=2, The system cannot find the file specified
Stacktrace:
com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "g++" (in directory "C:\Users\SYBLEN
1\AppData\Local\Temp\AutoCp17538202280212630357"): CreateProcess error=2, The system cannot find the file specified
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:413)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory.createProcess(TwoStepProcessFactory.kt:22)
at com.github.pushpavel.autocp.tester.base.ProcessRunner$run$2.invokeSuspend(ProcessRunner.kt:34)
at com.github.pushpavel.autocp.tester.base.ProcessRunner$run$2.invoke(ProcessRunner.kt)
at com.github.pushpavel.autocp.tester.base.ProcessRunner$run$2.invoke(ProcessRunner.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:62)
at kotlinx.coroutines.CoroutineScopeKt.coroutineScope(CoroutineScope.kt:261)
at com.github.pushpavel.autocp.tester.base.ProcessRunner.run(ProcessRunner.kt:33)
at com.github.pushpavel.autocp.tester.base.ProcessRunner.run$default(ProcessRunner.kt:33)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion.fromPathString(TwoStepProcessFactory.kt:65)
at com.github.pushpavel.autocp.tester.base.TwoStepProcessFactory$Companion.fromSolutionFile(TwoStepProcessFactory.kt:33)
at com.github.pushpavel.autocp.tester.AutoCpTestingProcessHandler.compileIntoProcessFactory(AutoCpTestingProcessHandler.kt:71)
at com.github.pushpavel.autocp.tester.AutoCpTestingProcessHandler.createTestingProcess(AutoCpTestingProcessHandler.kt:47)
at com.github.pushpavel.autocp.tester.AutoCpTestingProcessHandler$createTestingProcess$1.invokeSuspend(AutoCpTestingProcessHandler.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)
Caused by: java.io.IOException: Cannot run program "g++" (in directory "C:\Users\SYBLEN~1\AppData\Local\Temp\AutoCp17538202280212630357"): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:555)
at com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:571)
at com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:393)
... 19 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:506)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126)
... 23 more

Screenshots

Image

Environment (please complete the following information):

  • OS: Windows 11
  • IDE: CLion
  • Programming Language: C++

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions