MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012421 | CMake | CMake | public | 2011-08-25 17:18 | 2016-06-10 14:31 |
Reporter | Budo Zindovic | ||||
Assigned To | Brad King | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | OS | Windows | OS Version | XP | |
Product Version | CMake 2.8.5 | ||||
Target Version | Fixed in Version | ||||
Summary | 0012421: Fortran-C/C++ interoperability test fail | ||||
Description | During the configuration for mixed language build, CMake tests whether C/C++ and FORTRAN compilers can interact with each other. After the initial configuration, one test (FortranCInterface.sln) is build successfully but the other (VerifyFortranC.sln) fails to compile. After a careful look into the project that wasn't build properly, I saw that the project VerifyFortranC.sln has been messed up so that it contains C/C++ and Fortran sources. Main problem is that compilation of this project would work if Microsoft Visual Studio had a built-in FORTRAN compiler (that would work on Linux). Since this is not the case, the solution would be to built these two separately (one would be FORTRAN and the other would be C/C++ project) and then link them together. | ||||
Steps To Reproduce | To reproduce this bug, the user is required to build any mixed lanugage programming library. This example uses Trilinos library: 1. Extract library to a desired location 2. Open the Cmake-GUI and point to the source and desired build directory 3. set TPL_ENABLE_BLAS, TPL_ENABLE_LAPACK, Trilinos_ENABLE_Amesos, Trilinos_ENABLE_AztecOO, Trilinos_ENABLE_Belos and Trilinos_ENABLE_CTrilinos to ON 4. Set-up the paths to BLAS/LAPACK and CLapack libraries 5. Click Configure | ||||
Additional Information | Attachment contains two zipped versions of the VerifyFortranC.sln project: one is the original output from CMake 2.8.6 (its name is VerifyCXX-Original.zip) and the proposition of the layout for this test (two projects separated for FORTRAN and for C/C++ test and is named VerifyCXX-Suggestion.zip). This proposed version is the one I have successfully built on my machine but the options are tuned for Debug and Release Configuration only (MinSizeRel and RelWithDebInfo were not set-up at all). | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | VerifyCXX.zip (1,812,150) 2011-08-25 17:19 https://public.kitware.com/Bug/file/4021/VerifyCXX.zip | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-08-25 17:18 | Budo Zindovic | New Issue | |||
2011-08-25 17:19 | Budo Zindovic | File Added: VerifyCXX.zip | |||
2011-08-29 10:22 | Brad King | Assigned To | => Bill Hoffman | ||
2011-08-29 10:22 | Brad King | Status | new => assigned | ||
2011-08-29 10:23 | Brad King | Assigned To | Bill Hoffman => Brad King | ||
2011-08-29 10:27 | Brad King | Note Added: 0027282 | |||
2012-08-13 10:44 | Brad King | Status | assigned => backlog | ||
2012-08-13 10:44 | Brad King | Note Added: 0030551 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041890 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|