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

[foam-extend.org] cannot compile setSet with OpenFoam-1.6-ext

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2015, 07:23
Question cannot compile setSet with OpenFoam-1.6-ext
  #1
New Member
 
zech
Join Date: Oct 2014
Location: Cambridge,England
Posts: 22
Rep Power: 11
a19910112a is on a distinguished road
Hi Foamers,
I tried to install OpenFoam-1.6-ext following the instructions here. And the setSet utility could not be complied.
The error is mainly
Code:
Found readline/readline.h  --  enabling readline support.
make[2]: `/home/zech/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linuxGcc46DPOpt/surfaceFind' is up to date.
make[2]: `/home/zech/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linuxGcc46DPOpt/surfaceMeshConvert' is up to date.
make[3]: `/home/zech/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linuxGcc46DPOpt/execFlowFunctionObjects' is up to date.
g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-40 -DREADLINE=1     -I/home/zech/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -IlnInclude -I. -I/home/zech/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/zech/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linuxGcc46DPOpt/writePointSet.o Make/linuxGcc46DPOpt/writeFuns.o Make/linuxGcc46DPOpt/writePatch.o Make/linuxGcc46DPOpt/setSet.o -L/home/zech/OpenFOAM/OpenFOAM-1.6-ext/lib/linuxGcc46DPOpt \
         -lmeshTools     -lreadline -lncurses -lOpenFOAM -ldl   -lm -o /home/zech/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linuxGcc46DPOpt/setSet
make[2]: `/home/zech/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linuxGcc46DPOpt/surfaceMeshConvertTesting' is up to date.
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
make[3]: *** [/home/zech/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linuxGcc46DPOpt/setSet] Error 1
make[2]: *** [setSet] Error 2
A similar but different error is explained here. But the library I'm missing is different. Can anyone suggest a way to fix this, please? The full make.log is attached.

Thanks and wishe
Zech
Attached Files
File Type: gz make.log.tar.gz (4.5 KB, 1 views)
a19910112a is offline   Reply With Quote

Old   February 4, 2015, 14:53
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Zech,

When in doubt, take a look at the latest installation instructions for the foam-extend project
For example, here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 - you'll find out that you need to install the package "libncurses5-dev":
Code:
sudo apt-get install libncurses5-dev
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   February 4, 2015, 17:09
Default
  #3
New Member
 
zech
Join Date: Oct 2014
Location: Cambridge,England
Posts: 22
Rep Power: 11
a19910112a is on a distinguished road
That solves the problem. Thanks!
a19910112a is offline   Reply With Quote

Reply

Tags
openfoam-1.6-ext, setset


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
OpenFOAM 1.6 ext fportela OpenFOAM Installation 11 December 26, 2013 18:55
Error executing OpenFOAM 1.6 ext RTom OpenFOAM Installation 3 October 6, 2013 07:52
install OpenFoam 1.6 by building source: how? niudie OpenFOAM Installation 13 April 26, 2011 00:48
kOmegaSST in openfoam 1.6 Gearb0x OpenFOAM 2 March 3, 2010 06:02
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39


All times are GMT -4. The time now is 04:09.