Coder Social home page Coder Social logo

ccglue's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ccglue's Issues

errors on build

Hi,
Thanks for your great work.
BTW, I've met the following errors on building.

I'm totally a newbie to this world.
could you help me to solve this, please?


cysh@cysh-desktop:~/ws/src/ccglue$ make
make  all-recursive
make[1]: Entering directory '/home/cysh/ws/src/ccglue'
Making all in src
make[2]: Entering directory '/home/cysh/ws/src/ccglue/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I../include/   -fno-rtti -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.cpp
In file included from ../include/tclap/SwitchArg.h:30:0,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
../include/tclap/Arg.h:48:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
In file included from ../include/tclap/CmdLine.h:41:0,
                 from options.cpp:1:
../include/tclap/ValuesConstraint.h:41:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
../include/tclap/ValuesConstraint.h:111:2: error: #error "Need a stringstream (sstream or strstream) to compile!"
 #error "Need a stringstream (sstream or strstream) to compile!"
  ^
In file included from ../include/tclap/SwitchArg.h:30:0,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
../include/tclap/Arg.h: In function ‘void TCLAP::ExtractValue(T&, const string&, TCLAP::ValueLike)’:
../include/tclap/Arg.h:421:15: error: invalid use of incomplete type ‘std::istringstream {aka class std::__cxx11::basic_istringstream<char>}’
     while ( is.good() ) {
               ^
In file included from /usr/include/c++/5/bits/localefwd.h:41:0,
                 from /usr/include/c++/5/string:43,
                 from ../include/tclap/SwitchArg.h:27,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
/usr/include/c++/5/iosfwd:100:11: note: declaration of ‘std::istringstream {aka class std::__cxx11::basic_istringstream<char>}’
     class basic_istringstream;
           ^
In file included from ../include/tclap/SwitchArg.h:30:0,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
../include/tclap/Arg.h:422:9: error: invalid use of incomplete type ‘std::istringstream {aka class std::__cxx11::basic_istringstream<char>}’
  if ( is.peek() != EOF )
         ^
In file included from /usr/include/c++/5/bits/localefwd.h:41:0,
                 from /usr/include/c++/5/string:43,
                 from ../include/tclap/SwitchArg.h:27,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
/usr/include/c++/5/iosfwd:100:11: note: declaration of ‘std::istringstream {aka class std::__cxx11::basic_istringstream<char>}’
     class basic_istringstream;
           ^
In file included from ../include/tclap/SwitchArg.h:30:0,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
../include/tclap/Arg.h:434:12: error: invalid use of incomplete type ‘std::istringstream {aka class std::__cxx11::basic_istringstream<char>}’
     if ( is.fail() )
            ^
In file included from /usr/include/c++/5/bits/localefwd.h:41:0,
                 from /usr/include/c++/5/string:43,
                 from ../include/tclap/SwitchArg.h:27,
                 from ../include/tclap/CmdLine.h:27,
                 from options.cpp:1:
/usr/include/c++/5/iosfwd:100:11: note: declaration of ‘std::istringstream {aka class std::__cxx11::basic_istringstream<char>}’
     class basic_istringstream;
           ^
In file included from ../include/tclap/CmdLine.h:41:0,
                 from options.cpp:1:
../include/tclap/ValuesConstraint.h: In constructor ‘TCLAP::ValuesConstraint<T>::ValuesConstraint(std::vector<T>&)’:
../include/tclap/ValuesConstraint.h:114:9: error: ‘os’ was not declared in this scope
         os << _allowed[i];
         ^
Makefile:379: recipe for target 'options.o' failed
make[2]: *** [options.o] Error 1
make[2]: Leaving directory '/home/cysh/ws/src/ccglue/src'
Makefile:360: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/cysh/ws/src/ccglue'
Makefile:301: recipe for target 'all' failed
make: *** [all] Error 2
cysh@cysh-desktop:~/ws/src/ccglue$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Copyright (C) 2015 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.