EASY5 link error: cannot find wsock32.lib file
|Reported In:||Easy5 (2010.1.4 (8.2.4)) - EASY5|
|Easy5 (2010 (8.2.0)) - EASY5|
|Easy5 (2010 SP2 (2010.1.2)) - EASY5|
|Easy5 (2010 SP3 (2010.1.3)) - EASY5|
I am running EASY5 2010.x on 64-bit Windows. I cannot compile a model using Intel Fortran. When I look at the build log, I see the following error:
** LINK : fatal error LNK1104: cannot open file 'wsock32.lib'
** ** [10:27:45]: local - Errors during link phase
What's the problem?
The problem here is that even though the machine and OS are 64 bit, some of EASY5's components are still 32 bit. This requires that some 32 bit run-time libraries still be present on the machine. In this case, some of them (including the wsock32.lib file) are not on the machine (or can not be found).
The solution here is to download the Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC Security Update which can be found here:
You'll need to download the version called "vcredist_x86.EXE" which is the 32-bit version. Even if you are running the 64-bit version of Windows, you'll still need this (the 32-bit version) since the EASY5 GUI is built on 32-bit code.
NOTE: You may need to uninstall the previous version of the VC++ 2005 Redistributable first.
NOTE: If you are running on Windows 7, be sure to save the update to disk, then right click on the installer and select "Run as Administrator"-- otherwise the installation may not be complete.
NOTE: You should not need to reinstall EASY5.
Discuss this Issues