CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   SU2 (http://www.cfd-online.com/Forums/su2/)
-   -   su2.0.8 compile using cygwin (http://www.cfd-online.com/Forums/su2/126586-su2-0-8-compile-using-cygwin.html)

jwang1_09 November 21, 2013 03:32

su2.0.8 compile using cygwin
 
Hello,everyone.
I compile the su2.0.8 using cygwin,but when I entered "./configure",it appears the following:
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for ranlib... ranlib
configure: creating ./config.status
/usr/bin/grep.exe: error while loading shared libraries: cygpcre-1.dll: cannot o pen shared object file: No such file or directory
/usr/bin/grep.exe: error while loading shared libraries: cygpcre-1.dll: cannot o pen shared object file: No such file or directory
config.status: creating Makefile
config.status: creating Common/lib/Makefile
config.status: creating SU2_CFD/obj/Makefile
config.status: creating SU2_DDC/obj/Makefile
config.status: creating SU2_GPC/obj/Makefile
config.status: creating SU2_MAC/obj/Makefile
config.status: creating SU2_MDC/obj/Makefile
config.status: creating SU2_PBC/obj/Makefile
config.status: creating SU2_SMC/obj/Makefile
config.status: creating SU2_SOL/obj/Makefile
config.status: creating SU2_GDC/obj/Makefile
config.status: creating SU2_PY/Makefile
config.status: executing depfiles commands

Build Configuration Summary:
Source code location: /cygdrive/d/su/SU2.0.8/trunk
Install location: /usr/local
Version: 2.0.8
Compiler: g++
Preprocessor flags:
Compiler flags: -DNO_MPI
Linker flags:
CGNS support: no
MPI support: no
Metis support: no
TecIO support: no
Mutation++ support: no
Build SU2_CFD: yes
Build SU2_DDC: yes
Build SU2_GPC: yes
Build SU2_MAC: yes
Build SU2_MDC: yes
Build SU2_PBC: yes
Build SU2_SMC: yes
Build SU2_SOL: yes
Build SU2_GDC: yes
Please be sure to add the $SU2_HOME and $SU2_RUN environment variables, and upda te your $PATH with $SU2_RUN
Based on the input to this configuration, add these lines to your .bashrc file -
export SU2_RUN="/usr/local/bin"
export SU2_HOME="/cygdrive/d/su/SU2.0.8/trunk"
export PATH=$PATH:$SU2_RUN

Then,when I entered "make",it appears the following:
cd . && /bin/sh /cygdrive/d/su/SU2.0.8/trunk/missing --run automake-1.11 --gnu
/usr/bin/grep.exe: error while loading shared libraries: cygpcre-1.dll: cannot open shared object file: No such file or directory
autom4te-2.69: need GNU m4 1.4 or later: /usr/bin/m4
automake-1.11: autoconf failed with exit status: 1
Makefile:228: recipe for target `Makefile.in' failed
make: *** [Makefile.in] Error 1

I don't know what was wrong. I need your help ,please!

liujmljm November 21, 2013 11:19

Why not install SU2 on Linux directly. It is very simple to install SU2 on Linux platform. In your computer, u can partition a new disk district to install Linux or u can use virtural machine like virtual box to install a linux release distribution.

jwang1_09 November 24, 2013 01:40

I have rarely used Linux before.But I will try it.
Thank you.


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