cschreib / picam2fits Goto Github PK
View Code? Open in Web Editor NEWCommand line tool to create FITS images from shots taken with the Raspberry Pi Camera v2.
License: MIT License
Command line tool to create FITS images from shots taken with the Raspberry Pi Camera v2.
License: MIT License
I get through the cmake step:
~/picam2fits/build $ cmake ../
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No build type selected, default to Release (-DCMAKE_BUILD_TYPE=...)
-- Found components for CFITSIO
-- CFITSIO_INCLUDES = /usr/include
-- CFITSIO_LIBRARIES = /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found Exif: /usr/lib/arm-linux-gnueabihf/libexif.so (found version "0.6.21")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/picam2fits/build
But when I try to make the file I get:
~/picam2fits/build $ make
Scanning dependencies of target picam2fits
[ 50%] Building CXX object CMakeFiles/picam2fits.dir/picam2fits.cpp.o
/home/pi/picam2fits/picam2fits.cpp: In instantiation of ‘bool read_entry(ExifEntry*, ExifByteOrder, T&) [with T = double; ExifEntry = _ExifEntry]’:
/home/pi/picam2fits/picam2fits.cpp:125:33: required from here
/home/pi/picam2fits/picam2fits.cpp:109:23: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return
return iss >> f;
^
/home/pi/picam2fits/picam2fits.cpp: In instantiation of ‘bool read_entry(ExifEntry*, ExifByteOrder, T&) [with T = float; ExifEntry = _ExifEntry]’:
/home/pi/picam2fits/picam2fits.cpp:147:60: required from here
/home/pi/picam2fits/picam2fits.cpp:109:23: error: cannot convert ‘std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}’ to ‘bool’ in return
CMakeFiles/picam2fits.dir/build.make:62: recipe for target 'CMakeFiles/picam2fits.dir/picam2fits.cpp.o' failed
make[2]: *** [CMakeFiles/picam2fits.dir/picam2fits.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/picam2fits.dir/all' failed
make[1]: *** [CMakeFiles/picam2fits.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Any ideas what I'm missing?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.