Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with debugging: the system cannot find the specified file #1363

Open
Sturm0 opened this issue Jul 3, 2024 · 0 comments
Open

Problem with debugging: the system cannot find the specified file #1363

Sturm0 opened this issue Jul 3, 2024 · 0 comments

Comments

@Sturm0
Copy link

Sturm0 commented Jul 3, 2024

I'm on Windows 10 and have Geany on version 2.0 with the plugin "Scoped Debugger: Relatively simple interface to GDB." installed.

To debug a program, what I am trying to do is compile it in the following way:

g++ -Wall -g -DTEST --debug -o "pruebas_varias" "pruebas_varias.cpp"

(in the directory: C:\Users\Username\Documents)

And then in the menus I go to Debug->Configure program and where it says "Executable: " I put "C:\Users\Username\Documents\pruebas_varias.exe" (without the quotes).

But when I go to run it I get the error:

"Error creating process /c/Program Files/Geany/C:\Users\Username\Documents\various_tests.exe, (error 2: The system cannot find the specified file.)"

Does anyone know what I could be doing wrong? On Ubuntu Mate 22.04 I tried it the same way and it seems to work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant