cannot start project?

Started by
3 comments, last by nano511 12 years, 8 months ago
Im am using msvc 2010 express and when i tried to compile it said something like "cannot start project". I tried it again, and now it says i have a LNK error:


1>LINK : fatal error LNK1168: cannot open C:\Users\david\Documents\Visual Studio 2010\Projects\MyGame\Debug\MyGame.exe for writing


what could be causing this?
Advertisement
MyGame.exe is probably still running in the background, or it is being used by another application (or you made the file read-only somehow); make sure the file can be written to and try again

I gets all your texture budgets!

Okay i fixed that but now im getting


1>TRACKER : error TRK0002: Failed to execute command:
""c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe" @C:\Users\david\AppData\Local\Temp\c7d36f5459f94dc794575b38c8d51a07.rsp". Access is denied.


TRACKER : error TRK0002: Failed to execute command:



Google is your friend. Searching for those words quoted above gives me a very promising list of results.

Based on those results, it looks like you specified your program should run only on Win64 configurations. Either that, or you have corrupted your system to mix 32-bit and 64-bit settings.

If the first is true, you should rebuild your project to target "any cpu", or target Win32, or follow the instructions in several of the linked answers that explain how to mark your program as compatible with the 64-bit OS.


Building for 64-bit only is generally a bad thing, unless you plan on releasing multiple copies of your executable.

Since this is a For Beginners post, I'm guessing that isn't the case. That is something you would do if you were developing applications that require >3GB main memory, or have been hand-optimized with 64-bit assembly code, or otherwise have an absolute performance requirement for the 64-bit extensions. It is not something a beginner is likely to do.


Build your game to run as a 32bit windows app.
I looked at like the first 6 links and i cant find how to fix it. All i did was change ' = 50' to '+= 50' and everything started getting messed up lol

E: found the problem. i accidentally wrote 'xVel = =50;'

This topic is closed to new replies.

Advertisement