Re: [eigen] BLAS/Fortran is causing CMake troubles

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I attached the error message. I don't have the Intel compiler installed on my system, so I am wondering why he is complaining about ifort.

If I find some time, I will check the CMake script and look for a CMake related error.

- Hauke

On Thu, Dec 16, 2010 at 7:10 PM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
Hi,

could you be more specific about your errors, because here if I
uninstall my fortran compiler the configure process works just fine.

gael

On Thu, Dec 16, 2010 at 5:02 PM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> Hi,
> it has been quite a while since I created the unit tests and when I just
> tried it now, CMake fails to create the projects.
> The project generations bails out while processing "enable_language". Could
> we make the BLAS compilation optional as we do it for BTL?
> - Hauke
>



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: <path>/Documents/work/external/eigen/eigen_bin/msvc_x64/CMakeFiles/CMakeTmp

  

  Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
  cmTryCompileExec.vcxproj /p:Configuration=Debug

  Microsoft (R) Build Engine Version 4.0.30319.1

  [Microsoft .NET Framework, Version 4.0.30319.1]

  Copyright (C) Microsoft Corporation 2007.  All rights reserved.

  

  Build started 12/16/2010 7:46:05 PM.

  Project
  "<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
  on node 1 (default targets).

  InitializeBuildStatus:

    Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" because "AlwaysCreate" was specified.

  ManifestResourceCompile:

    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res" cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc 

  Link:

    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe" /VERSION:"0.0" /INCREMENTAL /NOLOGO user32.lib /MANIFEST /ManifestFile:"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"<path>/Documents/work/external/eigen/eigen_bin/msvc_x64/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib" /MACHINE:X64 cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res  /debug 

  LINK : error LNK2001: unresolved external symbol mainCRTStartup
  [<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]


  
  <path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe
  : fatal error LNK1120: 1 unresolved externals
  [<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]


  Done Building Project
  "<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
  (default targets) -- FAILED.

  

  Build FAILED.

  

  
  "<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
  (default target) (1) ->

  (Link target) -> 

    LINK : error LNK2001: unresolved external symbol mainCRTStartup [<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
    <path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe : fatal error LNK1120: 1 unresolved externals [<path>\Documents\work\external\eigen\eigen_bin\msvc_x64\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

  

      0 Warning(s)
      2 Error(s)

  

  Time Elapsed 00:00:01.09

  

  

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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/