Jump to content

1>LINK : fatal error LNK1104 in Visual C++


Recommended Posts

Posted

Since I installed Windows 7 (and therefore obviously reinstalled Visual C++) I always get this annoying message when I compile:

 

1>LINK : fatal error LNK1104: cannot open file 'C:\Program Files\LucasArts\Star Wars Jedi Knight Jedi Academy\GameData\modbase\jampgamex86.ilk'

 

I still can make it work when I do the following stuff:

"Start without debugging". Then I say "Restart under different credentials". After that I compile (Build solution) and it works :blink:

 

So this whole thing is kinda weird

 

Help please :ph34r:

Posted

VS 2008 or 2010?

 

Edit: Well, might not matter much. The first thing I'd like you to try is just start your Visual C++ with right click -> run as administrator. And see if you now get the error at all.

 

If that solves your issue then the output directory for your project is in a folder that requires admin rights to write to. And you can solve it by altering the rights on the lucasart/gamedata folder.

Posted

The first thing I'd like you to try is just start your Visual C++ with right click -> run as administrator. And see if you now get the error at all.

 

I think this solved it. Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...