Differences

This shows you the differences between two versions of the page.

en:installation [2012/11/14 06:29]
deinega [How to compile EMTL on UNIX]
en:installation [2017/04/10 16:18] (current)
valuev [Compilation on Windows (Visual Studio 2010)]
Line 1: Line 1:
 ======Installation ====== ======Installation ======
  
-To use EMTL you need to download [[download|archive with EMTL]] and install FFTW (Fast Foirier Transformation) library [[http://www.fftw.org/download.html|FFTW]].+To use EMTL you need to  
 +  * download [[download|archive with EMTL]]
 +  * download [[ivutils|ivutils]] library and put it at the same directory with EMTL; 
 +  * install FFTW (Fast Foirier Transformation) library [[http://www.fftw.org/download.html|FFTW]].
  
 To use parallel EMTL version, you need MPI.   To use parallel EMTL version, you need MPI.  
 For Windows you can use [[http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads |MPICH2]].  For Windows you can use [[http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads |MPICH2]]. 
- 
 ====== Installation of necessary components ====== ====== Installation of necessary components ======
  
Line 32: Line 34:
 ====== Content of EMTL archive ====== ====== Content of EMTL archive ======
  
-  * photonic - EMTL classes and binaries +  * include - EMTL include files 
-    photonic/vs10/lib.lib – MS Visual Studio 10 library, release version +  * vs10/Release/libemtl.lib – MS Visual Studio 10 library, release version 
-    photonic/vs10/libd.lib – MS Visual Studio 10 library, debug version +  * vs10/Debug/libemtl.lib – MS Visual Studio 10 library, debug version 
-    photonic/unix/_gcc/lib_emtl.a – g++ library +  * unix/_gcc/lib_emtl.a – g++ library 
-    photonic/unix/_gcc_seq_mpi/lib_emtl.a – g++ library, MPI version +  * unix/_gcc_mpi/lib_emtl.a – g++ library, MPI version
-  * ivutils - some useful general classes (geometry bodies, timers etc.)+
   * tests - folders with some examples (scattering on sphere, etc.)   * tests - folders with some examples (scattering on sphere, etc.)
   * test/test_mie - example with scattering on a sphere   * test/test_mie - example with scattering on a sphere
Line 90: Line 91:
   * use macrodefinition USE_MPI if you compile parallel version   * use macrodefinition USE_MPI if you compile parallel version
  
-====== Compilation on Windows (Visual Studio 2005) ======+====== Compilation on Windows (Visual Studio 2010) ======
  
 How to compile С++ code on Windows using Visual Studio is described [[http://msdn.microsoft.com/en-us/library/60k1461a%28v=vs.80%29.aspx|here]].  How to compile С++ code on Windows using Visual Studio is described [[http://msdn.microsoft.com/en-us/library/60k1461a%28v=vs.80%29.aspx|here]]. 
Line 101: Line 102:
  
 Folder that you type in Location will contain VS project files. Folder that you type in Location will contain VS project files.
-To launch the project you should open file with extension *.vcproj+To launch the project you should open the file with extension *.vcxproj
-At the left side of the Visual Studio redactor you can find Solution Explorer window+At the left side of the Visual Studio editor you can find Solution Explorer window
  
 {{:install:install_windows_2.png|}} {{:install:install_windows_2.png|}}
Line 148: Line 149:
 If this path includes more the one folders, they should be separated by commas.\\ If this path includes more the one folders, they should be separated by commas.\\
 If there are some library files *.lib to link with your code, they should be specified (separated by space) in Project > Project Properties > Configuration Properties > Linker > Input > Additional Dependencies.  If there are some library files *.lib to link with your code, they should be specified (separated by space) in Project > Project Properties > Configuration Properties > Linker > Input > Additional Dependencies. 
-Default folders for header or library files should be specified in Tools Options Project and Solutions > VC++ Directories (Include Files or Library Files).+Default folders for header or library files should be specified in Project Project Properties Configuration Properties > VC++ Directories (Include Files or Library Files).
  
-{{:install:install_windows_4.png|}} +<html> <!--{{:install:install_windows_4.png|}} 
-\\+
 \\ \\
 +\\--></html>
  
 ===== How to compile EMTL in Windows ===== ===== How to compile EMTL in Windows =====
  
-You can use ready project file tests/test_mie/vs10/test_mie.vcproj.+You can use ready project (MS VS2010 or later) file tests/test_mie/vs10/test_mie.vcxproj.
  
 ===== Making project by yourselves ===== ===== Making project by yourselves =====
 
/home/kintechlab/fdtd.kintechlab.com/docs/data/attic/en/installation.1352860169.txt.gz · Last modified: 2012/11/14 06:29 by deinega     Back to top