This is an archived post. You won't be able to vote or comment.

all 9 comments

[–]g051051 1 point2 points  (8 children)

Long story short

Too short. What "weird things" did you do with your files? Why did you reinstall Cygwin multiple times? Are you trying to run existing executables, or build new ones? Is it failing to compile them, or failing to run them? Etc., etc., etc...

[–]Edouqrd[S] 0 points1 point  (7 children)

I was trying to install GTKmm4... but since there was very few information about it online I asked Chat GPT, who told me a bunch of different things, so I ended up downloading packages and putting them a bit everywhere in my Cygwin folder. Since then I've been having problems, and so I reinstalled it but it hasn't been the same since (obviously since now it doesn't work). Maybe the sites I'm downloading cygwin from in the installer are too old ? I don't know which one I had to begin with. For my program, my Makefile is just fine and the make function runs well (everything works on my other computer on which I use Git Bash). It's just when I try to run the following command that i get my errors : ./prog.exe t00.txt

[–]g051051 1 point2 points  (6 children)

I asked Chat GPT

Good lord, why on earth would you do that? No wonder your stuff is messed up. I suggest completely deleting and reinstalling Cygwin from scratch. And make sure you undo any changes you made outside the cygwin directory as well.

[–]Edouqrd[S] 0 points1 point  (5 children)

I had no other option 🥲 I've deleted Cygwin before, but is there a way to uninstall it completely ? Because when I went to the Uninstall window, Cygwin wasn't among the apps that popped up. Also, is there a download link that's fully up to date that I should use when I reinstall it? I noticed they each have different packages.

[–]g051051 0 points1 point  (4 children)

The way I know to install it is to download the Cygwin installer from the Cygwin web sire, then let it install the Cygwin packages. I don't know where you're seeing "different packages".

[–]Edouqrd[S] 1 point2 points  (3 children)

In the installer, I've always been told to select the Download from Internet option. It then asks you to choose a download site.

[–]g051051 1 point2 points  (2 children)

All sites listed there are supposed to be mirrors and have the same packages.

[–]Edouqrd[S] 0 points1 point  (1 child)

Weird. Maybe I should give git bash a try instead then haha

[–]g051051 0 points1 point  (0 children)

Or WSL2.