This version of xmccd is known to support the Alta and Aspen cameras.  

Run the script 

./install_apogee_usb 

to copy the files needed to  the appropriate target directories:

/usr/local/lib64 
/usr/local/include
/usr/local/etc
/etc/udev/rules.d


The versions of libapogeedrv included here were built with 64-bit 
OpenSuse Tumbleweed on December 22, 2020, and should work with other similar 
Linux distributions.

You may have to install development packages for some standard libraries. 
Compile errors will tell you which ones are missing.  If the following generates
an error, look for the first error message because it will cause all the
others.  That one will typically tell you it cannot find a required library. 
Check your distributions package list and find the appropriate development
package for that libary, install it, and re-run the build script.

This version of the Apogee source code dates from April 2016, about the time of 
the sale of the company to Andor, and is primarily to support legacy cameras at
this time.  Consequently, it may require older versions of library packages. 

Two instances of this issue come in with Leap 15:

There were references in the source to boost-*-mt libraries.  This was to force
use of the thread-safe version of boost, but all versions of boost are now
thread safe by default.  We have edited out those references my dropping the -mt
in the link request. If you are compiling this on an older Linux distribution,
the missing -mt will create a problem.  The best solution is to update your
system software, but if that is not possible, instead of using makefile.xmccd
use makefile.xmccd_04 which is the previous version with the -mt links.
   
The USB library linking by default looked for libusb.so which is a legacy
version of the USB system.  It has been modified to link against libusb-1.0.

OpenSuse Tumbleweed will also need libboost and the regex development libraries.

Build a new version for other distributions by running build_apogee or 
issue these commands:
 

cd libapogee-3.0.3179/apogee
make -f makefile.xmccd clean
make -f makefile.xmccd libapogeedrv.so
make -f makefile.xmccd libapogeedrv_alta.so
make -f makefile.xmccd libapogeedrv_altaf.so
make -f makefile.xmccd libapogeedrv_aspen.so
cp libapogeedrv.so ../../
cp libapogeedrv_alta.so ../../
cp libapogeedrv_altaf.so ../../
cp libapogeedrv_aspen.so ../../
cd ../../
./install_apogee

This library is derived from the work of 

Dave Mills
The Random Factory
P.O. Box 44070
Tucson AZ 85733-4070

Tel: +1 (520) 822 5221
Fax: +1 (520) 822 5223
email rfactory@theriver.com
http://www.randomfactory.com/

 
  
John Kielkopf
Physics and Astronomy
University of Louisville
eml: kielkopf@louisville.edu
http://www.astro.louisville.edu/software






