slycelote / caide

Automates certain common tasks that you do during programming competitions
86 stars 19 forks source link

Code analysis errors #33

Closed Spidy104 closed 4 years ago

Spidy104 commented 4 years ago

1>LINK : fatal error LNK1104: cannot open file 'D:\cp\cpp\CAIDESLN\cpplib\Debug\cpplib.lib' 1>Done building project "AWatermelon.vcxproj" -- FAILED. THIS IS AN error I am continuously getting, how to fix this.

slycelote commented 4 years ago

There is a problem when the solution has just been created in Visual Studio. As a workaround, close VS and reopen the solution.

Spidy104 commented 4 years ago

Okay, thanks I reopened but it did not work instead, I ran code analysis on the solution.

slycelote commented 4 years ago

Can you clarify what exactly you're doing? If you build the project normally in VS, are there any errors?

Spidy104 commented 4 years ago

Just the normal things ctl-f7 for compiling and f5 for debugging, while running the tests I got that.

slycelote commented 4 years ago

Please describe exactly what the problem is. Paste all error messages here, attach screenshots etc etc.

Spidy104 commented 4 years ago

I said it already man, look above 1>LINK : fatal error LNK1104: cannot open file 'D:\cp\cpp\CAIDESLN\cpplib\Debug\cpplib.lib' 1>Done building project "AWatermelon.vcxproj" -- FAILED. Here is the error again, but currently it is fixed.

slycelote commented 4 years ago

I see, from this message I wrongly assumed that when you press the "run tests" button the code analysis is running instead.

but it did not work instead, I ran code analysis on the solution.