agrawal-d / cph

Makes judging, compiling, and downloading problems for competitive programming easy.
https://agrawal-d.github.io/cph
GNU General Public License v3.0
816 stars 137 forks source link

Where is the log of cph? #437

Open pointertobios opened 5 months ago

pointertobios commented 5 months ago

I'm using cph with correct g++ in PATH.But it reportedCoudn't launch testcase process. Is 'g++' in your PATH? I'd like to get log to find out what cph do before this error reported.

vscode version 1.89.1 windows 11 cph version 6.1.0

imeanup commented 5 months ago

You need to test two things, first check if your VSCode Complier can recoginze your code and doesn't show the error? Second, check if the error only occurs in CPH Extension.

If first, then install g++ or your supported version of complier. As it seems from your error reported you haven't installed one. But I may be presuming, hence move to the second option to locate the complier to the path in extension setting of CPH. Type: @ext:DivyanshuAgrawal.competitive-programming-helper Or Go to Extension > Select CPH > 3-Dots > Extension setting. Select Cpp: submission complier, Cpp: Args (if any), Cpp:Command.

Screenshot 2024-06-16 at 11 03 03 PM
imeanup commented 4 months ago

@agrawal-d Kindly close this issue, answered in #449.

Thank you.