Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: LINK : fatal error LNK1104: cannot open file 'C:\Users\Adrian\Desktop\SFML envir  (Read 2767 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 14
    • View Profile
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.


  • Sr. Member
  • ****
  • Posts: 290
  • C++/C# game dev teacher.
    • View Profile
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.