CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

Errors when compiling CGNS 3.1.3

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Combas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2014, 00:14
Default Errors when compiling CGNS 3.1.3
  #1
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
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 ?
Tommy Chen is offline   Reply With Quote

Old   January 17, 2014, 00:15
Default
  #2
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Besides , my OS is Ubuntu 12.04
and my cmake version is 2.8.7
Tommy Chen is offline   Reply With Quote

Old   January 18, 2014, 17:32
Default
  #3
Member
 
Join Date: Sep 2013
Posts: 43
Rep Power: 13
Combas is on a distinguished road
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!
Combas is offline   Reply With Quote

Old   January 18, 2014, 17:40
Default
  #4
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by Combas View Post
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!
Hey Combas , I have already solved that

you have to use ccmake to generate configuration file for cmake

then use cmake to gnerate the makefile

then make
Tommy Chen is offline   Reply With Quote

Old   January 18, 2014, 18:09
Default
  #5
Member
 
Join Date: Sep 2013
Posts: 43
Rep Power: 13
Combas is on a distinguished road
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
Attached Images
File Type: jpg Capture du 2014-01-18 23:05:33.jpg (35.0 KB, 26 views)
Combas is offline   Reply With Quote

Old   January 18, 2014, 18:29
Default
  #6
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by Combas View Post
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
Try not to build CGNS tools and shared libs.
Tommy Chen is offline   Reply With Quote

Old   January 19, 2014, 03:25
Default
  #7
Member
 
Join Date: Sep 2013
Posts: 43
Rep Power: 13
Combas is on a distinguished road
Unfortunately, I have still the same problem...
Combas is offline   Reply With Quote

Old   January 19, 2014, 09:41
Default
  #8
Member
 
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15
Tommy Chen is on a distinguished road
Quote:
Originally Posted by Combas View Post
Unfortunately, I have still the same problem...
Are you using the default settings ?
Tommy Chen is offline   Reply With Quote

Old   January 19, 2014, 15:41
Default
  #9
Member
 
Join Date: Sep 2013
Posts: 43
Rep Power: 13
Combas is on a distinguished road
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
DLuo likes this.
Combas is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:47.