Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

fatal error LNK1104 and LNK1561

$
0
0

I installed Visual Studio Community 2015 and Parallel Studio XE 2015 Update 4. After initial problems with the integration of the Fortran specific parts in the Visual Studio interface (https://software.intel.com/en-us/forums/topic/562514#comment-1832665) , I opened a new project -> Fortran -> Console Application -> Main Program Code, which is the 'hello world' example. I tried to build this standard file with x86 and x64. If I choose x86, I get the error message "fatal error LNK1104: cannot open file 'ucrtd.lib'." If I run it with x64, I get instead the error message "fatal error LNK1561: entry point must be defined.". I used the repair option in the installation for both programs one more time, but the problem remains. 

Does anyone know what my problem is?

-----------------------------

Compiling with Intel(R) Visual Fortran Compiler XE 15.0.4.221 [IA-32]...
ifort /nologo /debug:full /Od /warn:interfaces /module:"Debug\\" /object:"Debug\\" /Fd"Debug\vc140.pdb" /traceback /check:bounds /check:stack /libs:dll /threads /dbglibs /c /Qvc14 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin""c:\users\user\documents\visual studio 2015\Projects\Console1\Console1\Console1.f90"
error code 23 (returned by OpenValidateX) opening pdb Debug\vc140.pdb

Linking...
Link /OUT:"Debug\Console1.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"Debug\Console1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\Users\user\documents\visual studio 2015\Projects\Console1\Console1\Debug\Console1.pdb" /SUBSYSTEM:CONSOLE /IMPLIB:"c:\Users\user\documents\visual studio 2015\Projects\Console1\Console1\Debug\Console1.lib""Debug\Console1.obj"
Link: executing 'link'
LINK : fatal error LNK1104: Datei "ucrtd.lib" kann nicht geöffnet werden.

Console1 - 2 error(s), 0 warning(s)

-----------------------------

Compiling with Intel(R) Visual Fortran Compiler XE 15.0.4.221 [Intel(R) 64]...
ifort /nologo /O2 /module:"x64\Debug\\" /object:"x64\Debug\\" /Fd"x64\Debug\vc140.pdb" /libs:static /threads /c /Qvc14 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin\amd64""c:\users\user\documents\visual studio 2015\Projects\Console1\Console1\Console1.f90"
Compiling manifest to resources...
rc.exe /fo "x64\Debug\Console1.exe.embed.manifest.res""x64\Debug\Console1.exe.embed.manifest.rc"
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.17336
Copyright (C) Microsoft Corporation.  All rights reserved.

Linking...
Link /OUT:"x64\Debug\Console1.exe" /NOLOGO /MANIFEST /MANIFESTFILE:"x64\Debug\Console1.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /IMPLIB:"c:\Users\user\documents\visual studio 2015\Projects\Console1\Console1\x64\Debug\Console1.lib""x64\Debug\Console1.obj""x64\Debug\Console1.exe.embed.manifest.res"
Link: executing 'link'
LINK : fatal error LNK1561: Einstiegspunkt muss definiert werden.

Console1 - 1 error(s), 0 warning(s)


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>