Reputation: 31
i'm upgrading a C++ solution with some dll projects and one exe console shell, actually the project build in the Visual Studio 2005, this project is very old and very sensible. This work with all of my dispositives to communicate with his APIs, and send his events to my app in C#. Today i received the flag to start upgrading the project to Visual Studio 2012, but after the upgrade all of my projects receive the LNK 1181 error, don't find the nameproject.res file, but i don't have in any of the projects a .res file, happen's a .rc and no one of 25 projects build.
Error 6 error LNK1181: cannot open input file 'D:\Projects\DeviceManager\Branches\DSR865-BRB_DeviceManager\C-Fontes\tmp\DeviceManagerClassLibrary\Release\DeviceManagerClassLibrary.res'
I don't know what i can do to make these projects build!
Upvotes: 1
Views: 107
Reputation: 31
To correct the Issue I have to exclude the RC file from project and create a new RC file with version and importing all other things to the new RC. I don't know, but i think the VS 2005 RC file is not compatible with VS 2012. After i make this the project build and create the .res file.
Upvotes: 0
Reputation: 1294
Compile the .rc file first, before linking.
http://www.winasm.net/forum/index.php?showtopic=154
Upvotes: 1