📄 readme_windows
字号:
How to compile FreeFem++ on Microsoft Windows---------------------------------------------1) Download and install Cygwin from http://www.cygwin.com. Make surethat the development tools Automake, Autoconf and GNU C++ , C , g77 areinstalled.2) Download and extract the FreeFem++ source archive fromhttp://www.freefem.org3) Open a Cygwin bash shell and follow the instructions from theFreeFem++ INSTALL and README files.Precompiled BLAS libraries--------------------------Precompiled ATLAS libraries are available athttp://www.netlib.org/atlas/archives/windows/. There are severalprocessor type dependant libraries to choose from. If FreeFem++ isconfigured with the options "--enable-generic" and"--enable-download", it will download the most generic version. Or youcan download a more optimized version and specify it to "./configure"with the option "--with-blas=..." (see README).Creating a Windows package--------------------------To create a Microsoft Windows self-installable package containingFreeFem++ executables, examples and documentation, you need to install"Inno Setup" (http://www.jrsoftware.org/isinfo.php) on your machinefirst. Then run "make WindowsPackage.iss" and load the file"WindowsPackage.iss" into Inno Setup once you have configured andcompiled FreeFem++ (see INSTALL). Inno Setup places the resultingarchive in subdirectory "Output".TROUBLE:--------Infortunatly, all the .exe version without cygwin under mingwdo not run under cygwin shell, they run under under the command window NT shell if the mingwm10.dll is in the right place:.exe directory or in 'C:\WINDOW\system32. In version 2.0BUG in LAPACK with -O optim flagthe file ARPACK/LAPACK/dlamch.f symptome: the code loop.correct the Makefile.m4 toinforce the compilation flagREMARK:All the exe and .dll are in src/bin-win32 To build the install program you must get inno Setup 5 sofwarehttp://www.jrsoftware.org/isinfo.phpand the the cygwin package tex, pdflatex, ImageMagick , ghostscript make win32make documentationto build the setup file, use inno setup on file WindowsPackage.issthe setup file is in output directoryThe configure flag use to build the version-------------------------------------------for the P4 version, we compile on pentium-m vaio VGN-S2XPwith cygwin install http://www.cygwin.com/with the following package gcc,g++, tetex, wget , f77 , imagemagick ./configure '--enable-optim' '--enable-download' '--with-suffix=P4'for the generic i383 we use ./configure '--enable-download' '--enable-generic' '--enable-optim' '--with-blas=/home/UNIVERSITE/blas/generic-no-cygwin-blas.dll' 'CPPFLAGS=-I/home/UNIVERSITE/blas/'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -