|
[Sponsors] |
![]() |
![]() |
#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 ? |
|
![]() |
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 12 ![]() |
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! |
|
![]() |
![]() |
![]() |
![]() |
#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 |
||
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 12 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 12 ![]() |
Unfortunately, I have still the same problem...
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#9 |
Member
Join Date: Sep 2013
Posts: 43
Rep Power: 12 ![]() |
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 |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 18:07 |