Skip to content

Build Instructions

pfederl edited this page Oct 5, 2014 · 8 revisions

Some notes on building CARTA

Pre-requisites:

  • [CasaCore](CasaCore Installation Notes)
  • I'm an inline-style link
  • [I'm a reference-style link]([Arbitrary case-insensitive reference text])
  • qooxdoo
  • qt
  • g++
  • pureweb
  • python
  • cython
  • numpy
  • ccache (optional)

Checkout the sources from github somewhere. Then make a build directory (somewhere else preferably, so you don't mix sources with build files...). Eg:

mkdir ~/Work
cd ~/Work
git clone [email protected]:Astroua/CARTAvis.git
cd CARTAvis
git checkout master
cd Skeleton3/html5/common/skel
./generate.py
mkdir /scratch/build/Skeleton3-Dev
cd /scratch/build/Skeleton3-Dev
qmake ~/Work/CARTAvis/Skeleton3 -r CARTA_BUILD_TYPE=dev
make or make -j4

Next, create a file ~/.cartavis/config.json with these contents:

{
    "_comment" : "List of plugin directories",
    "pluginDirs": [
	"$(APPDIR)/../plugins"
    ]
}

You should be able to run the desktop client version with something like this:

./cpp/desktop/desktop --html ~/Work/CARTAvis/Skeleton3/VFS/DesktopDevel/desktop/desktopIndex.html --scriptPort 9999 /scratch/some-fits-file.fits
Clone this wiki locally