-
Notifications
You must be signed in to change notification settings - Fork 0
Download and install basic tools
Kelly (KT) Thompson edited this page Jan 30, 2023
·
48 revisions
- Linux shell and gfortran. These tools are needed to build the Fortran portions of Draco.
- Install msys2 and some GNU build tools.
winget install msys2- Fix entry for Windows Terminal:
- Command line:
C:\msys64\msys2_shell.cmd -mingw64 -defterm -no-start - Icon:
C:\msys64\msys2.ico
- Command line:
- After installing, run the msys2 shell
- Update the installation:
pacman -Syuu(repeat as needed) - Update the package database:
pacman -Sy pacman- Then run
pacman -Syuuagain.
- Then run
- For MinGW64 (64-bit/x86_64)
- Install gcc:
pacman -Sy mingw-w64-x86_64-gcc - Install gfortran:
pacman -Sy mingw64/mingw-w64-x86_64-gcc-fortran - Install make:
pacman -Sy mingw64/mingw-w64-x86_64-make-->mingw64-make.exe - Install gendef:
pacman -Sy mingw-w64-x86_64-tools
- Install gcc:
- Example of searching for other packages:
pacman -Ss fortran==> mingw-w64-i686-gcc-fortran- List all packages:
pacman -S -l
- List all packages:
- If you require a proxy server to access the internet, you may need the following additional settings in MSYS2. You might need to do this before the above
pacmancommands will work properly.- Edit
~/.bash_profileand add appropriate values forHTTPS_PROXY="https://myproxy.domain.com:8080/"HTTP_PROXY="http://myproxy.domain.com:8080/"http_proxy="http://myproxy.domain.com:8080/"https_proxy="https://myproxy.domain.com:8080/"
- Edit
~/.wgetrcand add these two linesuse_proxy=yeshttp_proxy=http://myproxy.domain.com:8080/
- Edit
c:/msys2/etc/pacman.confand uncomment line 19 (wget) - Close and restart the MSYS2 shell.
- Edit
- Add
c:\msys64\mingw64\bintoPATHso that CMake and Visual Studio can findgfortran.exe.
- See Notes on VS 2022
- Download and install Microsoft MPI
- There are two installers required: (1) the end-user runtime and (2) the SDK.
- See Setup-Win32-development-environment for specialized installation instructions.
- Use the following additional tools. These are not required by Draco, but might be useful.
- A list of tools that can be installed by
wingetare shown at Setup Windows 10
- UI/Windowing framework.
- There are a couple of Draco applications that require Qt, but these applications are not known to be required by Projects that use Draco.
- https://www.qt.io/download-qt-installer
- Install via
winget, but may also want these extensions:- Doxygen
winget install doxygen -
Graphviz
winget install graphviz - MSCGEN
-
Dia
winget install dia -s winget -
Ghostscript
winget install ghostscript- ensure
gswin32c.exeis found in%PATH%
- ensure
- Might need LaTeX to create inline HTML equations (see below)
- Doxygen
- Needed for building some Draco documentation. Might be needed for creating equations via Doxygen.
- MiKTeX - https://miktex.org/download
- ensure
latex.exeis found in%PATH%
- ensure