The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.24 (Linux)
File Line Function
/showthread.php 895 errorHandler->error

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with compiling in Debian
06-27-2019, 04:19 PM,
problem with compiling in Debian
Good morning, I try to compile VDrift in debian stretch, but i get this error:

In file included from /usr/include/c++/6/string:52:0,
                 from /usr/include/c++/6/stdexcept:39,
                 from /usr/include/c++/6/array:39,
                 from /usr/include/c++/6/tuple:39,
                 from /usr/include/c++/6/bits/stl_map.h:63,
                 from /usr/include/c++/6/map:61,
                 from src/joeserialize.h:25,
                 from src/graphics/vertexarray.h:24,
                 from src/graphics/model.h:23,
                 from src/graphics/model_obj.h:23,
                 from src/graphics/model_obj.cpp:20:
/usr/include/c++/6/bits/basic_string.h:5340:5: note: candidate: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&)
     operator<<(basic_ostream<_CharT, _Traits>& __os,
/usr/include/c++/6/bits/basic_string.h:5340:5: note:   template argument deduction/substitution failed:
src/graphics/model_obj.cpp:224:57: note:   ‘std::ostream {aka std::basic_ostream<char>}’ is not derived from ‘const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>’
   error_output << "Error opening file for writing: " << error_output << endl;
scons: *** [build/graphics/model_obj.o] Error 1
scons: building terminated because of errors.

These are only the last lines, but there is a lot of similar error.
Whats the problem?


Messages In This Thread
problem with compiling in Debian - by pironman - 06-27-2019, 04:19 PM
RE: problem with compiling in Debian - by NaN - 06-28-2019, 12:39 PM
RE: problem with compiling in Debian - by NaN - 06-29-2019, 07:31 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)