Errors when compiling CGNS 3.1.3
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 ? |
Besides , my OS is Ubuntu 12.04
and my cmake version is 2.8.7 |
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! |
Quote:
you have to use ccmake to generate configuration file for cmake then use cmake to gnerate the makefile then make |
1 Attachment(s)
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 |
Quote:
|
Unfortunately, I have still the same problem...
|
Quote:
|
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 |
All times are GMT -4. The time now is 16:36. |