Forum

Windows 10 Compilation Error

Will Parker, modified 7 Years ago.

Windows 10 Compilation Error

Youngling Posts: 3 Join Date: 3/7/17 Recent Posts
Hello,

I am using Windows 10, Visual studio 2010, Intel Parallel Studio XE 2015, and revision 7426.

When compiling I get the error: "LINK: Fatal error LNK: cannot open input file '...\io\lib\Release\io.lib', and after investigation there is no such file in the directory.

I have tried following the instructions in the FAQ with a similar error, but this did not help (although I am not 100% sure that I am using the correct name of the environment parameter), as well as re-downloading the files.

Any help would be appreciated,

Thanks.
thumbnail
Adri Mourits, modified 7 Years ago.

RE: Windows 10 Compilation Error

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts
Hi Will,

Can you copy/paste the full contents of the output window inside VisualStudio into a file and attach that to a post on this forum?

Thanks.

Regards,

Adri
Will Parker, modified 7 Years ago.

RE: Windows 10 Compilation Error

Youngling Posts: 3 Join Date: 3/7/17 Recent Posts
Hi, thanks for the reply.

I tried compiling again a few times, however i have not got the same error since. I reach a point where nothing happens for 30+minutes so I cancel the build.

I have attached the output log from these attempts to this post.

Thanks again,

Will
thumbnail
Adri Mourits, modified 7 Years ago.

RE: Windows 10 Compilation Error

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts
Hi Will,

Can you try using a directory without (white)spaces in the path, so rename folder "C:\New folder" to, for example, "C:\New_folder".

Regards,

Adri
Will Parker, modified 7 Years ago.

RE: Windows 10 Compilation Error

Youngling Posts: 3 Join Date: 3/7/17 Recent Posts
Hi Adri,

That worked and I received the original error. The updated log is attached to this post.

Thanks again,

Will
thumbnail
Adri Mourits, modified 7 Years ago.

RE: Windows 10 Compilation Error (Answer)

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts
Hi Will,

Line 3490 worries me: 55>Fatal compilation error: Out of memory asking for 12296.

Can you watch the Windows task manager during compilation; is it hitting a memory restriction? How much RAM is there in your machine.

(I don't expect this will help, but it is easy to tryemoticon On one of the forums there is a note saying that the problem might occur when you didn't start with a proper SVN checkout/update but for example with an SVN export or copy from one directory to another. What happens when you start with a proper SVN checkout?

Regards,

Adri
Cristian Santander, modified 6 Years ago.

RE: Windows 10 Compilation Error

Youngling Post: 1 Join Date: 5/16/17 Recent Posts

Hi, I have the same problem compiling Delft3D in Windows 10 with Visual Studio 2015 and Intel Parallel Studio XE 2016. While compiling, the fatal error message appears: out of memory. I have uninstalled and re-installed the compilers and it happens anyway. I will greatly appreciate your help.
Thank you

thumbnail
Adri Mourits, modified 6 Years ago.

RE: Windows 10 Compilation Error

Padawan Posts: 97 Join Date: 1/3/11 Recent Posts

Hi Christian,

Check that you compile only project at the time: In VisualStudio, menu -> Tools -> Options -> Projects and Solutions -> Build and Run, set the "maximum number of parallel project builds" to 1.

Also check that all the memory in your machine is being used by the compilation by looking to the Microsoft task manager while compiling. If that is the case, you have to extend the memory. The easiest/fastest solution is to physically plug additonal RAM memory into your machine. A cheaper/slower solution might be to increase the size of the Windows Paging file, see for example this site.

Regards,

Adri

TARIK BELRHABA, modified 6 Years ago.

RE: Windows 10 Compilation Error

Youngling Post: 1 Join Date: 10/2/18 Recent Posts

Hi, I have this problem with compiling Delft3D in Windows 10 with Visual Studio 2015 and Intel Parallel Studio XE 2019. While compiling, the errors message appears:

Erreur    MSB8020    The build tools for v141 (Platform Toolset = 'v141') cannot be found. To build using the v141 build tools, please install v141 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".    flow2d3d (engines_gpl\flow2d3d\flow2d3d)    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Platform.targets    57    
I will greatly appreciate your help.
Thank you

thumbnail
Qinghua Ye, modified 6 Years ago.

RE: Windows 10 Compilation Error

Youngling Posts: 11 Join Date: 3/2/11 Recent Posts
Hi TARIK,

This combination of VS2015 with Intel 2019 has not been tested yet.  We will update this as soon as possible after we tested it.

Regards,

Qinghua