View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011831CMakeCMakepublic2011-02-09 22:162011-02-10 08:29
ReporterBrian Adams 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformIntelOSWindowsOS Version7
Product VersionCMake 2.8.3 
Target VersionFixed in VersionCMake 2.8.4 
Summary0011831: Link error with Visual Studio 2008 and Intel Fortran 11.1
DescriptionCMake: 2.8.3
MSVS: 2008 (32-bit)
Ifort: Intel Fortran Compiler 11.1 (32-bit)

When attempting to configure, I get an error very similar to that reported in Issue 0010351:

1>LINK : fatal error LNK1561: entry point must be defined

Is it possible the patch for MSVS 7 hasn't propagated throughout the other generators?

I'm running Windows 7 64-bit, but presume I should still be able to generate a 32-bit project...
Steps To Reproduce* Install MSVS 2008, Intel Visual Fortran 11.1, CMake 2.8.3
* Attempt to configure SNL's LHS package (https://software.sandia.gov/svn/public/LHS/trunk/ [^]) for Visual Studio 9 2008
* Get the error (details in additional information)

Additional InformationCheck for working Fortran compiler using: Visual Studio 9 2008
Check for working Fortran compiler using: Visual Studio 9 2008 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:40 (MESSAGE):
  The Fortran compiler "ifort" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/dakota/LHS/build/CMakeFiles/CMakeTmp

  

  Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec

  

  Microsoft (R) Visual Studio Version 9.0.21022.8.

  Copyright (C) Microsoft Corp. All rights reserved.

  1>------ Build started: Project: cmTryCompileExec, Configuration: Debug
  Win32 ------

  1>Compiling with Intel(R) Visual Fortran 11.1.070 [IA-32]...

  1>testFortranCompiler.f

  1>Compiling manifest to resources...

  1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

  1>Copyright (C) Microsoft Corporation. All rights reserved.

  1>Linking...

  1>Microsoft (R) Incremental Linker Version 9.00.21022.08

  1>Copyright (C) Microsoft Corporation. All rights reserved.

  1>/OUT:C:\dakota\LHS\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe

  1>/VERSION:0.0

  1>/MANIFEST

  
  1>/MANIFESTFILE:C:\dakota\LHS\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe.intermediate.manifest


  1>/DEBUG

  1>/PDB:C:\dakota\LHS\build\CMakeFiles\CMakeTmp\Debug/cmTryCompileExec.pdb

  
  1>/IMPLIB:C:\dakota\LHS\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.lib


  1>user32.lib

  1>/debug

  1>cmTryCompileExec.dir\Debug\testFortranCompiler.obj

  
  1>C:\dakota\LHS\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe.embed.manifest.res


  1>LINK : fatal error LNK1561: entry point must be defined

  1>

  1>Build log written to
  "file://C:\dakota\LHS\build\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm" [^]


  1>cmTryCompileExec - 1 error(s), 0 warning(s)

  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
  ==========

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:2 (project)


Configuring incomplete, errors occurred!
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0010351closedBrad King ifort compiler not working : entry point must be defined 

  Notes
(0025361)
Brian Adams (reporter)
2011-02-09 22:20

I now realize others have no problems with this config (including the Pecos dashboard), so just advise if you prefer this question on the mailing list...
(0025367)
Brad King (manager)
2011-02-10 08:14

This was a regression in CMake 2.8.3 that was fixed and will be available in 2.8.4. Please try the 2.8.4-rc2 candidate:

  http://www.cmake.org/files/v2.8/ [^]
(0025370)
Brad King (manager)
2011-02-10 08:29

Closing as duplicate of 0010351. See comment 0010351:0024389.

 Issue History
Date Modified Username Field Change
2011-02-09 22:16 Brian Adams New Issue
2011-02-09 22:20 Brian Adams Note Added: 0025361
2011-02-10 08:14 Brad King Assigned To => Brad King
2011-02-10 08:14 Brad King Status new => assigned
2011-02-10 08:14 Brad King Note Added: 0025367
2011-02-10 08:26 Brad King Relationship added duplicate of 0010351
2011-02-10 08:29 Brad King Note Added: 0025370
2011-02-10 08:29 Brad King Status assigned => closed
2011-02-10 08:29 Brad King Resolution open => duplicate
2011-02-10 08:29 Brad King Fixed in Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team