Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error using Ubuntu #7

Open
MarkusMichaelRau opened this issue Nov 12, 2016 · 0 comments
Open

Compilation error using Ubuntu #7

MarkusMichaelRau opened this issue Nov 12, 2016 · 0 comments

Comments

@MarkusMichaelRau
Copy link

Hi

I'm currently trying to install astro-stomp on Ubuntu 14.04.5 LTS. My gcc version is gcc-4.8. I updated to gcc-6 however in this case I currently have massive issues with the configuration file:

checking for uint8_t... no
checking for ANSI C header files... (cached) yes
checking for floor... no
checking for gettimeofday... no
checking for pow... no
checking for sqrt... no
checking for floor in -lm... no
configure: error: cannot find required math function

Running autogen and configure on gcc-4.8 works perfectly fine, but when I execute the Makefile I get the following error message:

g++: error: unrecognized command line option '-stdlib=libc++'

I can remove this argument but this will trigger multiple other compilation errors due to unrecognized command line options as listed below:
'-Wgnu', '-arch', -Wc++11-narrowing

I can again remove these command line options and sucessfully compile a couple of subdirectories but then end up with another compilation error:

In file included from point.cc:8:0:
pixel.h: At global scope:
pixel.h:213:10: error: 'istream' does not name a type
friend istream& operator>>(istream& input, pixel& pix);
^
In file included from point.cc:9:0:
point.h:198:49: error: 'constexpr' needed for in-class initialization of static data member 'const double s2omp::point::NORMALIZATION_PRECISION' of non-integral type [-fpermissive]
static double const NORMALIZATION_PRECISION = 1.0e-6;

Do you have some tips on how to resolve these issues, or can you give me a hint to a older version of astro-stomp?

Thanks for your help.

Cheers,
Markus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant