Menu

Install with pre-g++ 4.7

2015-11-06
2015-11-06
  • JohnForadKelley

    JohnForadKelley - 2015-11-06

    Error using make in g++ versions 4.3 - 4.7

    Error: g++ -c -Wall -g -std=c++11 AbundanceLoader.cpp -o AbundanceLoader.o -I ./
    cc1plus: error: unrecognized command line option "-std=c++11"
    make: *** [AbundanceLoader.o] Error 1

    $ g++ --version

    g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
    Copyright (C) 2010 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    If between 4.3 and 4.7, will need to edit the /src/makefile

    change:
    $ nano makefile

    -std=c++11 --> -std=c++0x

    Fixed issue for installation.

     
  • shahrok

    shahrok - 2017-04-12
     

    Last edit: shahrok 2017-04-12

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.