|
[Sponsors] |
January 17, 2014, 00:14 |
Errors when compiling CGNS 3.1.3
|
#1 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
I want to complie the CGNS library for compiling the new SU2 3.0
However when I use cmake command to complie it , I got the error message "song@TommyThinkTwice:~/Desktop/temp/SU2/Eagle/cgnslib_3.1.3/build$ cmake ../src CMake Warning at CMakeLists.txt:37 (if): given arguments: "GREATER" "4" Unknown arguments specified CMake Error at CMakeLists.txt:158 (set_target_properties): set_target_properties called with incorrect number of arguments. CMake Error at CMakeLists.txt:159 (set_target_properties): set_target_properties called with incorrect number of arguments. CMake Error at CMakeLists.txt:162 (set_target_properties): set_target_properties called with incorrect number of arguments. CMake Error at CMakeLists.txt:163 (set_target_properties): set_target_properties called with incorrect number of arguments. -- Configuring incomplete, errors occurred! " Has anybody encountered similar problem ? |
|
January 17, 2014, 00:15 |
|
#2 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Besides , my OS is Ubuntu 12.04
and my cmake version is 2.8.7 |
|
January 18, 2014, 17:32 |
|
#3 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
I tried with CGNS version 3.1.4-2 and I have the same problem, with the same configuration (Ubuntu 12.04 and cmake version 2.8.7)
If someone has a solution, I am also interested! |
|
January 18, 2014, 17:40 |
|
#4 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Quote:
you have to use ccmake to generate configuration file for cmake then use cmake to gnerate the makefile then make |
||
January 18, 2014, 18:09 |
|
#5 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
Thank you for your answer, but I tried ccmake and I have some problems.
Do you remember which options you chose? I put the message of ccmake in attachement. Laurent |
|
January 18, 2014, 18:29 |
|
#6 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
||
January 19, 2014, 03:25 |
|
#7 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
Unfortunately, I have still the same problem...
|
|
January 19, 2014, 09:41 |
|
#8 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
||
January 19, 2014, 15:41 |
|
#9 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 13 |
I have resolved my problem: I think it was because I launched "ccmake /home/laurent/SU2_V3/cgnslib_3.1.4/src" instead of "ccmake /home/laurent/SU2_V3/cgnslib_3.1.4"
(I had added the "src" directory because the source code is inside, but in fact it was probably an error) With the default settings, now it works. Thank you for you help Tommy ! Laurent |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |