Cannot compile new 4.7 project from code
I just downloaded 4.7. I create a new blank project from code. The files generate but there is a LINK error during the compiling.
Error 1 error LNK1181: cannot open input file 'ws2_32.lib' D:\TestGame\Intermediate\ProjectFiles\LINK TestGame
I am on Windows 8.1 x64 - VS2013 Professional. This is an modified blank project.
asked Feb 26 '15 at 03:37 AM in Installation & Setup
Now that 4.7.3 has been released I encourage everyone to update their engine version and attempt to create a C++ project again. If anyone is still having problems creating projects please let us know what operating system you are using, if you are using the binary version or source code version of the engine, and any other information that may be useful such as error messages.
answered Mar 17 '15 at 07:31 PM
I found a workaround that solved the problem for my case:
The needed lib is located at: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib (at least in my case) I copied it to: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib and afterwards I could create a C++ Project without any further errors.
I could imagine that either my Visual Studio directory is lacking some libs, although I used the "Repair" functionality several times so it should be complete, or the compiler is just searching the lib in the wrong directory and somehow expects it in VS instead of at the Windows SDK folder.
answered Mar 06 '15 at 04:07 PM
I had this problem today. Windows 8.1, 64-bit
I got it fixed by going to programs and features in Windows. (where you uninstall stuff) Click on MS Visual Studio 2013 Click REPAIR and when the options show up as to where to REPAIR from, choose the internet.. even if you have a disc or an image. It doesn't ask for a key or anything.
Let it go. took about 20 mins for me. Then it all worked fine.
Hope it helps you.
answered Mar 14 '15 at 11:07 PM
The problem may be that your %Temp% folder his too many files in it as pointed out here: https://answers.unrealengine.com/questions/179723/47-unrealbuildtool-failed-to-generate-project-file.html#comment-180050
I would try searching for the folder on your computer and clear out any older temporary files that are no longer needed. Let me know if you still have any problems after that.
answered Mar 03 '15 at 02:20 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here