SFML community forums

Help => General => Topic started by: AdrianHEY on April 06, 2021, 09:00:19 am

Title: LINK : fatal error LNK1104: cannot open file 'C:\Users\Adrian\Desktop\SFML envir
Post by: AdrianHEY on April 06, 2021, 09:00:19 am
I am new to SFML so I made a small code yesterday that worked perfectly. Today I changed a few things and it started showing this error:

1>------ Build started: Project: GAME, Configuration: Debug Win32 ------
1>LINK : fatal error LNK1104: cannot open file 'C:\Users\Adrian\Desktop\SFML environment\GAME\Debug\GAME.exe'
1>Done building project "GAME.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Going to the old code doesn't work either.
Title: Re: LINK : fatal error LNK1104: cannot open file 'C:\Users\Adrian\Desktop\SFML envir
Post by: kojack on April 06, 2021, 09:16:39 am
One cause of this is building when the game is still running (can't overwrite an executable while it's running).
If it seems like the game isn't running, have a look in task manager (details tab) for game.exe. It's possible for a game to appear to close (the window closes) while the actual process is still active in the background.