Hello Cliff Yapp( starseek1r )
I have installed ubuntu, and after that start following
http://brlcad.org/wiki/Compiling
for BRL-CAD
When I run make at 73% I got error as

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[ 73%] Building CXX object src/util/CMakeFiles/dsp_add4.dir/bu_arg_parse.cpp.o
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:30:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:30:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:691:2:
error: #endif without #if
 #endif
  ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/ValueArg.h:29:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/UnlabeledValueArg.h:30,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:29,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/ValueArg.h:29:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/UnlabeledValueArg.h:30,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:29,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:691:2:
error: #endif without #if
 #endif
  ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/MultiArg.h:29:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/UnlabeledMultiArg.h:29,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:30,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/MultiArg.h:29:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/UnlabeledMultiArg.h:29,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:30,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:691:2:
error: #endif without #if
 #endif
  ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/XorHandler.h:26:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:32,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/XorHandler.h:26:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:32,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:691:2:
error: #endif without #if
 #endif
  ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/IgnoreRestVisitor.h:27:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:35,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/IgnoreRestVisitor.h:27:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:35,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:691:2:
error: #endif without #if
 #endif
  ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/StdOutput.h:35:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:38,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/StdOutput.h:35:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:38,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:691:2:
error: #endif without #if
 #endif
  ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:41:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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!"
  ^
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/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
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:30:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:
In function ‘void TCLAP::ExtractValue(T&, const string&,
TCLAP::ValueLike)’:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:421:15:
error: invalid use of incomplete type ‘std::istringstream {aka class
std::basic_istringstream<char>}’
     while ( is.good() ) {
               ^
In file included from /usr/include/c++/4.8/bits/localefwd.h:41:0,
                 from /usr/include/c++/4.8/string:43,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/usr/include/c++/4.8/iosfwd:97:11: error: declaration of
‘std::istringstream {aka class std::basic_istringstream<char>}’
     class basic_istringstream;
           ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:30:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:422:9:
error: invalid use of incomplete type ‘std::istringstream {aka class
std::basic_istringstream<char>}’
  if ( is.peek() != EOF )
         ^
In file included from /usr/include/c++/4.8/bits/localefwd.h:41:0,
                 from /usr/include/c++/4.8/string:43,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/usr/include/c++/4.8/iosfwd:97:11: error: declaration of
‘std::istringstream {aka class std::basic_istringstream<char>}’
     class basic_istringstream;
           ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:30:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:434:12:
error: invalid use of incomplete type ‘std::istringstream {aka class
std::basic_istringstream<char>}’
     if ( is.fail() )
            ^
In file included from /usr/include/c++/4.8/bits/localefwd.h:41:0,
                 from /usr/include/c++/4.8/string:43,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/SwitchArg.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:27,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/usr/include/c++/4.8/iosfwd:97:11: error: declaration of
‘std::istringstream {aka class std::basic_istringstream<char>}’
     class basic_istringstream;
           ^
In file included from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/Arg.h:54:0,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/ValueArg.h:29,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/UnlabeledValueArg.h:30,
                 from
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/CmdLine.h:29,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse_private.h:24,
                 from
/home/gurwinder/brlcad-svn-trunk/src/util/bu_arg_parse.cpp:34:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/ArgTraits.h:
At global scope:
/home/gurwinder/brlcad-svn-trunk/src/other/tclap/include/tclap/ArgTraits.h:87:1:
error: expected declaration before ‘}’ token
 } // namespace
 ^
make[2]: *** [src/util/CMakeFiles/dsp_add4.dir/bu_arg_parse.cpp.o] Error 1
make[1]: *** [src/util/CMakeFiles/dsp_add4.dir/all] Error 2
make: *** [all] Error 2

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==

How to get out of it, I want to debug as soon as possible so that I
get back on my GSoC work.


-- 

Gurwinder Singh Bains
http://gurwindersinghbains93.wordpress.com

------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to