Skip to content

matwey/fips3

Repository files navigation

LOGO

Build Status Build Status

FIPS — OpenGL based FITS image viewer

FIPS is a cross-platform FITS viewer with responsive user interface. Unlike other FITS viewers FIPS uses GPU hardware via OpenGL to provide usual functionality such as zooming, panning and level adjustments. OpenGL 2.1 and later is supported.

FIPS supports all 2D image formats (except for floating point formats on OpenGL 2.1). FITS image extension has basic limited support.

Screenshot

Build requirements

  • Cmake

  • Qt 5.6+

  • C++11 compatible C++ compiler, e.g. gcc 4.8+ or clang 3.4+

  • (Windows only) NSIS

Installation

Installing from package manager

openSUSE

zypper ar -f obs://science fips
zypper in fips

macOS

Download release package or install using Homebrew Caskroom:

brew cask install fips

Windows

Download release package.

If you haven't found your distro above than you can build from sources or contribute building packages for your favourite distro. Let us know to insert missing instructions.

Building from sources

git clone https://github.com/matwey/fips3
mkdir -p fips3/build
cd fips3/build
cmake ..
make

For Windows (make sure you have cmake in your PATH, then run in PowerShell):

$Platform = 'x64' # or 'x86'
$QtDir = 'E:\Libs\Qt\5.9.1\msvc2017_64' # make sure the path and platform is right
$Generator = 'Visual Studio 15 2017 Win64' # drop ' Win64' to build x86 version
$Configuration = 'Release' # or Debug

$env:PLATFORM = $Platform
$env:QTDIR = $QtDir

$env:PATH = "$QtDir\bin;$env:PATH"
cmake -G"$Generator" . -DFIPS_CONFIGURATION="$Configuration"
cmake --build . --config $Configuration --target PACKAGE