fixed README

This commit is contained in:
eddyem 2015-05-13 08:44:03 +03:00
parent 891e304df0
commit 7b98fe9a85
2 changed files with 21 additions and 15 deletions

23
README
View File

@ -1,11 +1,24 @@
1. cmake .
2. make
3. [make install] or just copy file takepic wherever you want
This utilite depends on library libapogee & C-wrapper over it
First, you should install a fresest version of libapogee from directory "libapogee"
or from original site: http://www.randomfactory.com/downloads/
If you will meet a bug in link stage ("can't find -lboost_regex-mt") cd to directory
libapogee-[version]/apogee and run
$ sed -i 's/boost_regex-mt/boost_regex/g' Makefile
after this small fix cd .. and run make again.
Second, you should install apogee_C_wrapper (cd to this directory and do as README sais).
Third, install apogee_control itself:
1. mkdir mk && cd mk
2. cmake ..
3. make
4. [su -c "make install"] or just copy file takepic wherever you want
File bta_print.c needed to fill specific FITS keys for BTA telescope
If your want use this outside SAO RAS localnet, write:
1. cmake -DNOBTA=1 .
2. make ...
2. cmake -DNOBTA=1 ..
If you wish to save not only FITS, define:

View File

@ -1,8 +1,8 @@
To compile and install wrapper make:
0. Install libapogee ver. >= 3.0
1. cd cmake
2. cmake -DCAMERA_TYPE={camtype} ..
1. mkdir mk && cd mk
2. cmake ..
3. make
4. su -c "make install"
[5] You can run test applications: ./test will make testing connection to your camera and
@ -11,15 +11,8 @@ To compile and install wrapper make:
Define -DEBUG=1 to see debug info
After installing cd to apogee_control working directory and compile&install apogee_control.
{camtype} is type of your camera, one of:
APOGEE_ASCENT
APOGEE_ALTA
APOGEE_ALTAF
APOGEE_ASPEN
APOGEE_QUAD
Wrapper will try to find any of supported by libapogee cameras & use it