Secretchronicles / TSC

An open source two-dimensional platform game.
https://secretchronicles.org/
GNU General Public License v3.0
205 stars 49 forks source link

TSC Windows build errors #660

Closed xet7 closed 5 years ago

xet7 commented 5 years ago

Hi, I tried building TSC with MSYS2 on Windows 10.

@Quintus Do you have any ideas about these errors?

vagrant@vagrant MINGW64 ~/TSC/tsc/build
# make -j$(nproc)
Scanning dependencies of target mruby
Scanning dependencies of target pofiles_1
Scanning dependencies of target scrdg
Scanning dependencies of target tinyclipboard
[  0%] Generating de.gmo
[  0%] Creating directories for 'mruby'
[  1%] Building C object CMakeFiles/tinyclipboard.dir/C_/msys64/home/vagrant/TSC/tinyclipboard/src/tinyclipboard.c.obj
[  1%] Building CXX object CMakeFiles/scrdg.dir/scrdg/scrdg.cpp.obj
[  2%] Generating el.gmo
[  2%] Generating es.gmo
[  3%] Generating fi_FI.gmo
[  3%] Generating fr.gmo
[  4%] Performing download step for 'mruby'
[  5%] Generating hu.gmo
[  5%] Generating it.gmo
[  5%] Linking C static library libtinyclipboard.a
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp: In member function 'virtual void CppParser::parse_file(const boost::filesystem::path&)':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:33: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'})
  165 |     std::cout << "\rExamining " << file_path.native();
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~
      |               |                                    |
      |               std::basic_ostream<char>             const string_type {aka const std::__cxx11::basic_string<wchar_t>}
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:108:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  108 |       operator<<(__ostream_type& (*__pf)(__ostream_type&))
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:108:36: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)' {aka 'std::basic_ostream<char>& (*)(std::basic_ostream<char>&)'}
  108 |       operator<<(__ostream_type& (*__pf)(__ostream_type&))
      |                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:117:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]'
  117 |       operator<<(__ios_type& (*__pf)(__ios_type&))
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:117:32: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)' {aka 'std::basic_ios<char>& (*)(std::basic_ios<char>&)'}
  117 |       operator<<(__ios_type& (*__pf)(__ios_type&))
      |                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:127:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  127 |       operator<<(ios_base& (*__pf) (ios_base&))
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:127:30: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::ios_base& (*)(std::ios_base&)'
  127 |       operator<<(ios_base& (*__pf) (ios_base&))
      |                  ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:166:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  166 |       operator<<(long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:166:23: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long int'
  166 |       operator<<(long __n)
      |                  ~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:170:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  170 |       operator<<(unsigned long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:170:32: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long unsigned int'
  170 |       operator<<(unsigned long __n)
      |                  ~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:174:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  174 |       operator<<(bool __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:174:23: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'bool'
  174 |       operator<<(bool __n)
      |                  ~~~~~^~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:91:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]'
   91 |     basic_ostream<_CharT, _Traits>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:92:22: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'short int'
   92 |     operator<<(short __n)
      |                ~~~~~~^~~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:181:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  181 |       operator<<(unsigned short __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:181:33: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'short unsigned int'
  181 |       operator<<(unsigned short __n)
      |                  ~~~~~~~~~~~~~~~^~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:105:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]'
  105 |     basic_ostream<_CharT, _Traits>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:106:20: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'int'
  106 |     operator<<(int __n)
      |                ~~~~^~~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:192:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  192 |       operator<<(unsigned int __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:192:31: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'unsigned int'
  192 |       operator<<(unsigned int __n)
      |                  ~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:201:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  201 |       operator<<(long long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:201:28: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long long int'
  201 |       operator<<(long long __n)
      |                  ~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:205:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  205 |       operator<<(unsigned long long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:205:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long long unsigned int'
  205 |       operator<<(unsigned long long __n)
      |                  ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:220:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  220 |       operator<<(double __f)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:220:25: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'double'
  220 |       operator<<(double __f)
      |                  ~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:224:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  224 |       operator<<(float __f)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:224:24: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'float'
  224 |       operator<<(float __f)
      |                  ~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:232:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  232 |       operator<<(long double __f)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:232:30: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long double'
  232 |       operator<<(long double __f)
      |                  ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:245:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  245 |       operator<<(const void* __p)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:245:30: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const void*'
  245 |       operator<<(const void* __p)
      |                  ~~~~~~~~~~~~^~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:119:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]'
  119 |     basic_ostream<_CharT, _Traits>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:120:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ostream<char>::__streambuf_type*' {aka 'std::basic_streambuf<char>*'}
  120 |     operator<<(__streambuf_type* __sbin)
      |                ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/string:55,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/basic_string.h:6416: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>&)'
 6416 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/basic_string.h:6416:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:53: note:   deduced conflicting types for parameter '_CharT' ('char' and 'wchar_t')
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
In file included from C:/msys64/mingw64/include/c++/9.1.0/bits/ios_base.h:46,
                 from C:/msys64/mingw64/include/c++/9.1.0/ios:42,
                 from C:/msys64/mingw64/include/c++/9.1.0/ostream:38,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/system_error:217:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)'
  217 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/system_error:217:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const std::error_code&'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:506:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)'
  506 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, _CharT __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:506:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:53: note:   deduced conflicting types for parameter '_CharT' ('char' and 'std::__cxx11::basic_string<wchar_t>')
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:511:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)'
  511 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:511:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'char'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:517:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)'
  517 |     operator<<(basic_ostream<char, _Traits>& ___out, char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:517:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'char'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:523:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)'
  523 |     operator<<(basic_ostream<char, _Traits>& ___out, signed char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:523:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'signed char'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:528:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)'
  528 |     operator<<(basic_ostream<char, _Traits>& ___out, unsigned char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:528:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'unsigned char'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:548:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)'
  548 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, const _CharT* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:548:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:53: note:   mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<wchar_t>'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:321:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)'
  321 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, const char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:321:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const char*'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:565:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)'
  565 |     operator<<(basic_ostream<char, _Traits>& ___out, const char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:565:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const char*'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:578:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)'
  578 |     operator<<(basic_ostream<char, _Traits>& ___out, const signed char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:578:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const signed char*'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:583:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)'
  583 |     operator<<(basic_ostream<char, _Traits>& ___out, const unsigned char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:583:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const unsigned char*'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:691:5: note: candidate: 'template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&)'
  691 |     operator<<(_Ostream&& __os, const _Tp& __x)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:691:5: note:   template argument deduction/substitution failed:
C:/msys64/mingw64/include/c++/9.1.0/ostream: In substitution of 'template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp = std::__cxx11::basic_string<wchar_t>]':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:53:   required from here
C:/msys64/mingw64/include/c++/9.1.0/ostream:691:5: error: no type named 'type' in 'struct std::enable_if<false, std::basic_ostream<char>&>'
In file included from C:/msys64/mingw64/include/c++/9.1.0/memory:81,
                 from C:/msys64/mingw64/include/boost/system/detail/std_interoperability.hpp:12,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:955,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/shared_ptr.h:66:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)'
   66 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/shared_ptr.h:66:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:165:53: note:   'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
  165 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:168:42: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const string_type&)'
  168 |     std::ifstream file(file_path.native());
      |                                          ^
In file included from C:/msys64/mingw64/include/boost/filesystem/operations.hpp:44,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(std::basic_ifstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:39: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ifstream<char>&&'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |                      ~~~~~~~~~~~~~~~~~^~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  562 |       basic_ifstream(const std::string& __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:41: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
  562 |       basic_ifstream(const std::string& __s,
      |                      ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const wchar_t*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  544 |       basic_ifstream(const wchar_t* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const wchar_t*'
  544 |       basic_ifstream(const wchar_t* __s,
      |                      ~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const char*'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |                      ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]'
  518 |       basic_ifstream() : __istream_type(), _M_filebuf()
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note:   candidate expects 0 arguments, 1 provided
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp: In member function 'virtual void RubyParser::parse_file(const boost::filesystem::path&)':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:33: error: no match for 'operator<<' (operand types are 'std::basic_ostream<char>' and 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'})
  209 |     std::cout << "\rExamining " << file_path.native();
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~
      |               |                                    |
      |               std::basic_ostream<char>             const string_type {aka const std::__cxx11::basic_string<wchar_t>}
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:108:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  108 |       operator<<(__ostream_type& (*__pf)(__ostream_type&))
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:108:36: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)' {aka 'std::basic_ostream<char>& (*)(std::basic_ostream<char>&)'}
  108 |       operator<<(__ostream_type& (*__pf)(__ostream_type&))
      |                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:117:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]'
  117 |       operator<<(__ios_type& (*__pf)(__ios_type&))
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:117:32: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)' {aka 'std::basic_ios<char>& (*)(std::basic_ios<char>&)'}
  117 |       operator<<(__ios_type& (*__pf)(__ios_type&))
      |                  ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:127:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  127 |       operator<<(ios_base& (*__pf) (ios_base&))
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:127:30: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::ios_base& (*)(std::ios_base&)'
  127 |       operator<<(ios_base& (*__pf) (ios_base&))
      |                  ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:166:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  166 |       operator<<(long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:166:23: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long int'
  166 |       operator<<(long __n)
      |                  ~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:170:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  170 |       operator<<(unsigned long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:170:32: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long unsigned int'
  170 |       operator<<(unsigned long __n)
      |                  ~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:174:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  174 |       operator<<(bool __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:174:23: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'bool'
  174 |       operator<<(bool __n)
      |                  ~~~~~^~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:91:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits<char>]'
   91 |     basic_ostream<_CharT, _Traits>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:92:22: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'short int'
   92 |     operator<<(short __n)
      |                ~~~~~~^~~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:181:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  181 |       operator<<(unsigned short __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:181:33: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'short unsigned int'
  181 |       operator<<(unsigned short __n)
      |                  ~~~~~~~~~~~~~~~^~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:105:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits<char>]'
  105 |     basic_ostream<_CharT, _Traits>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:106:20: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'int'
  106 |     operator<<(int __n)
      |                ~~~~^~~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:192:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  192 |       operator<<(unsigned int __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:192:31: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'unsigned int'
  192 |       operator<<(unsigned int __n)
      |                  ~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:201:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  201 |       operator<<(long long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:201:28: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long long int'
  201 |       operator<<(long long __n)
      |                  ~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:205:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  205 |       operator<<(unsigned long long __n)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:205:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long long unsigned int'
  205 |       operator<<(unsigned long long __n)
      |                  ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:220:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  220 |       operator<<(double __f)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:220:25: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'double'
  220 |       operator<<(double __f)
      |                  ~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:224:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  224 |       operator<<(float __f)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:224:24: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'float'
  224 |       operator<<(float __f)
      |                  ~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:232:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  232 |       operator<<(long double __f)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:232:30: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'long double'
  232 |       operator<<(long double __f)
      |                  ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:245:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]'
  245 |       operator<<(const void* __p)
      |       ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:245:30: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const void*'
  245 |       operator<<(const void* __p)
      |                  ~~~~~~~~~~~~^~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:119:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]'
  119 |     basic_ostream<_CharT, _Traits>::
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:120:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ostream<char>::__streambuf_type*' {aka 'std::basic_streambuf<char>*'}
  120 |     operator<<(__streambuf_type* __sbin)
      |                ~~~~~~~~~~~~~~~~~~^~~~~~
In file included from C:/msys64/mingw64/include/c++/9.1.0/string:55,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/basic_string.h:6416: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>&)'
 6416 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/basic_string.h:6416:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:53: note:   deduced conflicting types for parameter '_CharT' ('char' and 'wchar_t')
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
In file included from C:/msys64/mingw64/include/c++/9.1.0/bits/ios_base.h:46,
                 from C:/msys64/mingw64/include/c++/9.1.0/ios:42,
                 from C:/msys64/mingw64/include/c++/9.1.0/ostream:38,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/system_error:217:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)'
  217 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/system_error:217:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const std::error_code&'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:506:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)'
  506 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, _CharT __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:506:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:53: note:   deduced conflicting types for parameter '_CharT' ('char' and 'std::__cxx11::basic_string<wchar_t>')
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:511:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)'
  511 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:511:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'char'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:517:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)'
  517 |     operator<<(basic_ostream<char, _Traits>& ___out, char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:517:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'char'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:523:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)'
  523 |     operator<<(basic_ostream<char, _Traits>& ___out, signed char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:523:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'signed char'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:528:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)'
  528 |     operator<<(basic_ostream<char, _Traits>& ___out, unsigned char __c)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:528:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'unsigned char'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:548:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)'
  548 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, const _CharT* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:548:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:53: note:   mismatched types 'const _CharT*' and 'std::__cxx11::basic_string<wchar_t>'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
In file included from C:/msys64/mingw64/include/c++/9.1.0/ostream:702,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:321:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)'
  321 |     operator<<(basic_ostream<_CharT, _Traits>& ___out, const char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/ostream.tcc:321:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const char*'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:565:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)'
  565 |     operator<<(basic_ostream<char, _Traits>& ___out, const char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:565:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const char*'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:578:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)'
  578 |     operator<<(basic_ostream<char, _Traits>& ___out, const signed char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:578:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const signed char*'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:583:5: note: candidate: 'template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)'
  583 |     operator<<(basic_ostream<char, _Traits>& ___out, const unsigned char* __s)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:583:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:52: note:   cannot convert '(& file_path)->boost::filesystem::path::native()' (type 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'}) to type 'const unsigned char*'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                    ~~~~~~~~~~~~~~~~^~
In file included from C:/msys64/mingw64/include/boost/system/error_code.hpp:17,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/ostream:691:5: note: candidate: 'template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&)'
  691 |     operator<<(_Ostream&& __os, const _Tp& __x)
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/ostream:691:5: note:   template argument deduction/substitution failed:
C:/msys64/mingw64/include/c++/9.1.0/ostream: In substitution of 'template<class _Ostream, class _Tp> typename std::enable_if<std::__and_<std::__not_<std::is_lvalue_reference<_Tp> >, std::__is_convertible_to_basic_ostream<_Ostream>, std::__is_insertable<typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type, const _Tp&, void> >::value, typename std::__is_convertible_to_basic_ostream<_Tp>::__ostream_type>::type std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_ostream<char>&; _Tp = std::__cxx11::basic_string<wchar_t>]':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:53:   required from here
C:/msys64/mingw64/include/c++/9.1.0/ostream:691:5: error: no type named 'type' in 'struct std::enable_if<false, std::basic_ostream<char>&>'
In file included from C:/msys64/mingw64/include/c++/9.1.0/memory:81,
                 from C:/msys64/mingw64/include/boost/system/detail/std_interoperability.hpp:12,
                 from C:/msys64/mingw64/include/boost/system/error_code.hpp:955,
                 from C:/msys64/mingw64/include/boost/filesystem/path_traits.hpp:22,
                 from C:/msys64/mingw64/include/boost/filesystem/path.hpp:26,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:16,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/bits/shared_ptr.h:66:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)'
   66 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
      |     ^~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/bits/shared_ptr.h:66:5: note:   template argument deduction/substitution failed:
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:209:53: note:   'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} is not derived from 'const std::__shared_ptr<_Tp, _Lp>'
  209 |     std::cout << "\rExamining " << file_path.native();
      |                                                     ^
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:212:42: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const string_type&)'
  212 |     std::ifstream file(file_path.native());
      |                                          ^
In file included from C:/msys64/mingw64/include/boost/filesystem/operations.hpp:44,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(std::basic_ifstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:39: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ifstream<char>&&'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |                      ~~~~~~~~~~~~~~~~~^~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  562 |       basic_ifstream(const std::string& __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:41: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
  562 |       basic_ifstream(const std::string& __s,
      |                      ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const wchar_t*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  544 |       basic_ifstream(const wchar_t* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const wchar_t*'
  544 |       basic_ifstream(const wchar_t* __s,
      |                      ~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const char*'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |                      ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]'
  518 |       basic_ifstream() : __istream_type(), _M_filebuf()
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note:   candidate expects 0 arguments, 1 provided
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp: In constructor 'Generator::Generator(boost::filesystem::path, boost::filesystem::path, boost::filesystem::path, const string&, const string&, const std::vector<ClassDoc>&, const std::vector<ModuleDoc>&, const std::vector<MethodDoc>&)':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:262:46: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const string_type&)'
  262 |     std::ifstream file(template_file.native());
      |                                              ^
In file included from C:/msys64/mingw64/include/boost/filesystem/operations.hpp:44,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(std::basic_ifstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:39: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ifstream<char>&&'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |                      ~~~~~~~~~~~~~~~~~^~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  562 |       basic_ifstream(const std::string& __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:41: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
  562 |       basic_ifstream(const std::string& __s,
      |                      ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const wchar_t*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  544 |       basic_ifstream(const wchar_t* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const wchar_t*'
  544 |       basic_ifstream(const wchar_t* __s,
      |                      ~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const char*'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |                      ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]'
  518 |       basic_ifstream() : __istream_type(), _M_filebuf()
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note:   candidate expects 0 arguments, 1 provided
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp: In member function 'void Generator::generate_classmod(const string&, const string&, const string&)':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:324:58: error: no matching function for call to 'std::basic_ofstream<char>::basic_ofstream(const string_type&)'
  324 |     std::ofstream file((m_output_dir / filename).native());
      |                                                          ^
In file included from C:/msys64/mingw64/include/boost/filesystem/operations.hpp:44,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/fstream:850:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(std::basic_ofstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  850 |       basic_ofstream(basic_ofstream&& __rhs)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:850:39: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ofstream<char>&&'
  850 |       basic_ofstream(basic_ofstream&& __rhs)
      |                      ~~~~~~~~~~~~~~~~~^~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:825:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  825 |       basic_ofstream(const std::string& __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:825:41: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
  825 |       basic_ofstream(const std::string& __s,
      |                      ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:807:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const wchar_t*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  807 |       basic_ofstream(const wchar_t* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:807:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const wchar_t*'
  807 |       basic_ofstream(const wchar_t* __s,
      |                      ~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:790:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  790 |       basic_ofstream(const char* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:790:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const char*'
  790 |       basic_ofstream(const char* __s,
      |                      ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:779:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream() [with _CharT = char; _Traits = std::char_traits<char>]'
  779 |       basic_ofstream(): __ostream_type(), _M_filebuf()
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:779:7: note:   candidate expects 0 arguments, 1 provided
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp: In member function 'void Generator::generate_indexfile()':
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:341:49: error: no matching function for call to 'std::basic_ifstream<char>::basic_ifstream(const string_type&)'
  341 |     std::ifstream bodyfile(m_index_file.native());
      |                                                 ^
In file included from C:/msys64/mingw64/include/boost/filesystem/operations.hpp:44,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(std::basic_ifstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:587:39: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ifstream<char>&&'
  587 |       basic_ifstream(basic_ifstream&& __rhs)
      |                      ~~~~~~~~~~~~~~~~~^~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  562 |       basic_ifstream(const std::string& __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:562:41: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
  562 |       basic_ifstream(const std::string& __s,
      |                      ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const wchar_t*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  544 |       basic_ifstream(const wchar_t* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:544:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const wchar_t*'
  544 |       basic_ifstream(const wchar_t* __s,
      |                      ~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:529:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const char*'
  529 |       basic_ifstream(const char* __s, ios_base::openmode __mode = ios_base::in)
      |                      ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note: candidate: 'std::basic_ifstream<_CharT, _Traits>::basic_ifstream() [with _CharT = char; _Traits = std::char_traits<char>]'
  518 |       basic_ifstream() : __istream_type(), _M_filebuf()
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:518:7: note:   candidate expects 0 arguments, 1 provided
C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:366:62: error: no matching function for call to 'std::basic_ofstream<char>::basic_ofstream(const string_type&)'
  366 |     std::ofstream file((m_output_dir / "index.html").native());
      |                                                              ^
In file included from C:/msys64/mingw64/include/boost/filesystem/operations.hpp:44,
                 from C:/msys64/mingw64/include/boost/filesystem.hpp:17,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.hpp:19,
                 from C:/msys64/home/vagrant/TSC/tsc/scrdg/scrdg.cpp:17:
C:/msys64/mingw64/include/c++/9.1.0/fstream:850:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(std::basic_ofstream<_CharT, _Traits>&&) [with _CharT = char; _Traits = std::char_traits<char>]'
  850 |       basic_ofstream(basic_ofstream&& __rhs)
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:850:39: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'std::basic_ofstream<char>&&'
  850 |       basic_ofstream(basic_ofstream&& __rhs)
      |                      ~~~~~~~~~~~~~~~~~^~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:825:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const string&, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::string = std::__cxx11::basic_string<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  825 |       basic_ofstream(const std::string& __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:825:41: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const string&' {aka 'const std::__cxx11::basic_string<char>&'}
  825 |       basic_ofstream(const std::string& __s,
      |                      ~~~~~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:807:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const wchar_t*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  807 |       basic_ofstream(const wchar_t* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:807:37: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const wchar_t*'
  807 |       basic_ofstream(const wchar_t* __s,
      |                      ~~~~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:790:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]'
  790 |       basic_ofstream(const char* __s,
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:790:34: note:   no known conversion for argument 1 from 'const string_type' {aka 'const std::__cxx11::basic_string<wchar_t>'} to 'const char*'
  790 |       basic_ofstream(const char* __s,
      |                      ~~~~~~~~~~~~^~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:779:7: note: candidate: 'std::basic_ofstream<_CharT, _Traits>::basic_ofstream() [with _CharT = char; _Traits = std::char_traits<char>]'
  779 |       basic_ofstream(): __ostream_type(), _M_filebuf()
      |       ^~~~~~~~~~~~~~
C:/msys64/mingw64/include/c++/9.1.0/fstream:779:7: note:   candidate expects 0 arguments, 1 provided
[  6%] Generating nl.gmo
[  6%] Generating nn.gmo
[  6%] Built target tinyclipboard
make[2]: *** [CMakeFiles/scrdg.dir/build.make:63: CMakeFiles/scrdg.dir/scrdg/scrdg.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:251: CMakeFiles/scrdg.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  7%] Generating pl.gmo
[  7%] Generating pt_BR.gmo
[  8%] No patch step for 'mruby'
[  9%] Generating ru.gmo
[  9%] No update step for 'mruby'
[  9%] Generating tr.gmo
[ 10%] Generating zh_TW.gmo
[ 10%] Built target pofiles_1
[ 10%] No configure step for 'mruby'
[ 11%] Performing build step for 'mruby'
C:/msys64/home/vagrant/TSC/tsc/build/mruby/mrbgems/mruby-compiler/core/parse.y:1114.1-12: warning: deprecated directive, use ‘%define api.pure’ [-Wdeprecated]
 1114 | %pure-parser
      | ^~~~~~~~~~~~
C:/msys64/home/vagrant/TSC/tsc/build/mruby/mrbgems/mruby-compiler/core/parse.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
ar: creating C:/msys64/home/vagrant/TSC/tsc/build/mruby/build/host/lib/libmruby_core.a
ar: creating C:/msys64/home/vagrant/TSC/tsc/build/mruby/build/host/lib/libmruby.a
(in C:/msys64/home/vagrant/TSC/tsc/build/mruby)
CC    mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c -> build/host/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.o
CC    mrbgems/mruby-metaprog/src/metaprog.c -> build/host/mrbgems/mruby-metaprog/src/metaprog.o
CC    ../../../mruby/mgems/mruby-json/src/parson.c -> build/host/mrbgems/mruby-json/src/parson.o
CC    ../../../mruby/mgems/mruby-json/src/mrb_json.c -> build/host/mrbgems/mruby-json/src/mrb_json.o
CC    ../../../mruby/mgems/mruby-md5/src/mrb_md5.c -> build/host/mrbgems/mruby-md5/src/mrb_md5.o
CC    ../../../mruby/mgems/mruby-md5/src/md5.c -> build/host/mrbgems/mruby-md5/src/md5.o
CC    ../../../mruby/mgems/mruby-pcre-regexp/src/mruby_pcre_regexp.c -> build/host/mrbgems/mruby-pcre-regexp/src/mruby_pcre_regexp.o
CC    mrbgems/mruby-compiler/core/codegen.c -> build/host/mrbgems/mruby-compiler/core/codegen.o
CC    mrbgems/mruby-kernel-ext/src/kernel.c -> build/host/mrbgems/mruby-kernel-ext/src/kernel.o
CC    mrbgems/mruby-object-ext/src/object.c -> build/host/mrbgems/mruby-object-ext/src/object.o
CC    mrbgems/mruby-random/src/random.c -> build/host/mrbgems/mruby-random/src/random.o
CC    mrbgems/mruby-random/src/mt19937ar.c -> build/host/mrbgems/mruby-random/src/mt19937ar.o
CC    mrbgems/mruby-symbol-ext/src/symbol.c -> build/host/mrbgems/mruby-symbol-ext/src/symbol.o
CC    mrbgems/mruby-proc-ext/src/proc.c -> build/host/mrbgems/mruby-proc-ext/src/proc.o
CC    mrbgems/mruby-range-ext/src/range.c -> build/host/mrbgems/mruby-range-ext/src/range.o
CC    mrbgems/mruby-hash-ext/src/hash-ext.c -> build/host/mrbgems/mruby-hash-ext/src/hash-ext.o
CC    mrbgems/mruby-array-ext/src/array.c -> build/host/mrbgems/mruby-array-ext/src/array.o
CC    mrbgems/mruby-numeric-ext/src/numeric_ext.c -> build/host/mrbgems/mruby-numeric-ext/src/numeric_ext.o
CC    mrbgems/mruby-string-ext/src/string.c -> build/host/mrbgems/mruby-string-ext/src/string.o
CC    mrbgems/mruby-sleep/src/mrb_sleep.c -> build/host/mrbgems/mruby-sleep/src/mrb_sleep.o
CC    mrbgems/mruby-struct/src/struct.c -> build/host/mrbgems/mruby-struct/src/struct.o
CC    mrbgems/mruby-time/src/time.c -> build/host/mrbgems/mruby-time/src/time.o
CC    mrbgems/mruby-math/src/math.c -> build/host/mrbgems/mruby-math/src/math.o
CC    mrbgems/mruby-sprintf/src/sprintf.c -> build/host/mrbgems/mruby-sprintf/src/sprintf.o
CC    mrbgems/mruby-sprintf/src/kernel.c -> build/host/mrbgems/mruby-sprintf/src/kernel.o
CC    mrbgems/mruby-print/src/print.c -> build/host/mrbgems/mruby-print/src/print.o
CC    src/vm.c -> build/host/src/vm.o
CC    src/version.c -> build/host/src/version.o
CC    src/variable.c -> build/host/src/variable.o
CC    src/symbol.c -> build/host/src/symbol.o
CC    src/string.c -> build/host/src/string.o
CC    src/state.c -> build/host/src/state.o
CC    src/range.c -> build/host/src/range.o
CC    src/proc.c -> build/host/src/proc.o
CC    src/print.c -> build/host/src/print.o
CC    src/pool.c -> build/host/src/pool.o
CC    src/object.c -> build/host/src/object.o
CC    src/numeric.c -> build/host/src/numeric.o
CC    src/load.c -> build/host/src/load.o
CC    src/kernel.c -> build/host/src/kernel.o
CC    src/init.c -> build/host/src/init.o
CC    src/hash.c -> build/host/src/hash.o
CC    src/gc.c -> build/host/src/gc.o
CC    src/fmt_fp.c -> build/host/src/fmt_fp.o
CC    src/etc.c -> build/host/src/etc.o
CC    src/error.c -> build/host/src/error.o
CC    src/enum.c -> build/host/src/enum.o
CC    src/dump.c -> build/host/src/dump.o
CC    src/debug.c -> build/host/src/debug.o
CC    src/crc.c -> build/host/src/crc.o
CC    src/compar.c -> build/host/src/compar.o
CC    src/codedump.c -> build/host/src/codedump.o
CC    src/class.c -> build/host/src/class.o
CC    src/backtrace.c -> build/host/src/backtrace.o
CC    src/array.c -> build/host/src/array.o
CC    build/host/mrbgems/gem_init.c -> build/host/mrbgems/gem_init.o
YACC  mrbgems/mruby-compiler/core/parse.y -> build/host/mrbgems/mruby-compiler/core/y.tab.c
CC    build/host/mrbgems/mruby-compiler/core/y.tab.c -> build/host/mrbgems/mruby-compiler/core/y.tab.o
AR    build/host/lib/libmruby_core.a
LD    build/host/bin/mrbc.exe
      MRBC ../../../mruby/mgems/mruby-json/mrblib/json.rb
      MRBC ../../../mruby/mgems/mruby-pcre-regexp/mrblib/pcre_regexp.rb
      MRBC mrbgems/mruby-kernel-ext/mrblib/kernel.rb
      MRBC mrbgems/mruby-object-ext/mrblib/object.rb
      MRBC mrbgems/mruby-symbol-ext/mrblib/symbol.rb
      MRBC mrbgems/mruby-proc-ext/mrblib/proc.rb
      MRBC mrbgems/mruby-range-ext/mrblib/range.rb
      MRBC mrbgems/mruby-hash-ext/mrblib/hash.rb
      MRBC mrbgems/mruby-array-ext/mrblib/array.rb
      MRBC mrbgems/mruby-numeric-ext/mrblib/numeric_ext.rb
      MRBC mrbgems/mruby-string-ext/mrblib/string.rb
      MRBC mrbgems/mruby-enum-ext/mrblib/enum.rb
      MRBC mrbgems/mruby-struct/mrblib/struct.rb
      MRBC mrbgems/mruby-time/mrblib/time.rb
      MRBC mrbgems/mruby-sprintf/mrblib/string.rb
      MRBC mrbgems/mruby-print/mrblib/print.rb
GEN   *.rb -> build/host/mrblib/mrblib.c
      MRBC mrblib/00class.rb
      MRBC mrblib/10error.rb
      MRBC mrblib/array.rb
      MRBC mrblib/compar.rb
      MRBC mrblib/enum.rb
      MRBC mrblib/float.rb
      MRBC mrblib/hash.rb
      MRBC mrblib/kernel.rb
      MRBC mrblib/numeric.rb
      MRBC mrblib/range.rb
      MRBC mrblib/string.rb
      MRBC mrblib/symbol.rb
CC    build/host/mrbgems/mruby-json/gem_init.c -> build/host/mrbgems/mruby-json/gem_init.o
CC    build/host/mrbgems/mruby-md5/gem_init.c -> build/host/mrbgems/mruby-md5/gem_init.o
CC    build/host/mrbgems/mruby-pcre-regexp/gem_init.c -> build/host/mrbgems/mruby-pcre-regexp/gem_init.o
CC    build/host/mrbgems/mruby-kernel-ext/gem_init.c -> build/host/mrbgems/mruby-kernel-ext/gem_init.o
CC    build/host/mrbgems/mruby-object-ext/gem_init.c -> build/host/mrbgems/mruby-object-ext/gem_init.o
CC    build/host/mrbgems/mruby-random/gem_init.c -> build/host/mrbgems/mruby-random/gem_init.o
CC    build/host/mrbgems/mruby-symbol-ext/gem_init.c -> build/host/mrbgems/mruby-symbol-ext/gem_init.o
CC    build/host/mrbgems/mruby-proc-ext/gem_init.c -> build/host/mrbgems/mruby-proc-ext/gem_init.o
CC    build/host/mrbgems/mruby-range-ext/gem_init.c -> build/host/mrbgems/mruby-range-ext/gem_init.o
CC    build/host/mrbgems/mruby-hash-ext/gem_init.c -> build/host/mrbgems/mruby-hash-ext/gem_init.o
CC    build/host/mrbgems/mruby-array-ext/gem_init.c -> build/host/mrbgems/mruby-array-ext/gem_init.o
CC    build/host/mrbgems/mruby-numeric-ext/gem_init.c -> build/host/mrbgems/mruby-numeric-ext/gem_init.o
CC    build/host/mrbgems/mruby-string-ext/gem_init.c -> build/host/mrbgems/mruby-string-ext/gem_init.o
CC    build/host/mrbgems/mruby-enum-ext/gem_init.c -> build/host/mrbgems/mruby-enum-ext/gem_init.o
CC    build/host/mrbgems/mruby-sleep/gem_init.c -> build/host/mrbgems/mruby-sleep/gem_init.o
CC    build/host/mrbgems/mruby-struct/gem_init.c -> build/host/mrbgems/mruby-struct/gem_init.o
CC    build/host/mrbgems/mruby-time/gem_init.c -> build/host/mrbgems/mruby-time/gem_init.o
CC    build/host/mrbgems/mruby-math/gem_init.c -> build/host/mrbgems/mruby-math/gem_init.o
CC    build/host/mrbgems/mruby-sprintf/gem_init.c -> build/host/mrbgems/mruby-sprintf/gem_init.o
CC    build/host/mrbgems/mruby-print/gem_init.c -> build/host/mrbgems/mruby-print/gem_init.o
CC    build/host/mrblib/mrblib.c -> build/host/mrblib/mrblib.o
CC    build/host/mrbgems/mruby-metaprog/gem_init.c -> build/host/mrbgems/mruby-metaprog/gem_init.o
AR    build/host/lib/libmruby.a

Build summary:

================================================
      Config Name: host
 Output Directory: build/host
         Binaries: mrbc
    Included Gems:
             mruby-print - standard print/puts/p
             mruby-sprintf - standard Kernel#sprintf method
             mruby-math - standard Math module
             mruby-time - standard Time class
             mruby-struct - standard Struct class
             mruby-sleep - 0.0.1
             mruby-enum-ext - Enumerable module extension
             mruby-string-ext - String class extension
             mruby-numeric-ext - Numeric class extension
             mruby-array-ext - Array class extension
             mruby-hash-ext - Hash class extension
             mruby-range-ext - Range class extension
             mruby-proc-ext - Proc class extension
             mruby-symbol-ext - Symbol class extension
             mruby-random - Random class
             mruby-object-ext - Object class extension
             mruby-kernel-ext - Kernel module extension
             mruby-compiler - mruby compiler library
             mruby-pcre-regexp - 0.2.0 - PCRE Regexp module for mruby
             mruby-md5
             mruby-metaprog - Meta-programming features for mruby
             mruby-json
             mruby-bin-mrbc - mruby compiler executable
================================================

[ 12%] No install step for 'mruby'
[ 12%] Completed 'mruby'
[ 12%] Built target mruby
make: *** [Makefile:152: all] Error 2

vagrant@vagrant MINGW64 ~/TSC/tsc/build
#
refi64 commented 5 years ago

For the future, could a log this long go on a pastebin site instead, and just the trimmed logs with errors be posted here? Makes it a bit easier to navigate.

At a glance, this seems to be due to the "native" path backing type on Windows being a wstring, and it's passed to places that expect standard strings. I'm guessing calling .string() instead of .native() might fix it...

Quintus commented 5 years ago

For the future, could a log this long go on a pastebin site instead, and just the trimmed logs with errors be posted here? Makes it a bit easier to navigate.

Indeed.

At a glance, this seems to be due to the "native" path backing type on Windows being a wstring, and it's passed to places that expect standard strings.

That's probably the problem, yes.

Quintus commented 5 years ago

@xet7 I replaced .native() with .string() as suggested by refi. Does it compile now?

xet7 commented 5 years ago

@Quintus

Yes it does work now. I uploaded alpha package exe here: https://ftp.secretchronicles.org/alpha/

It does install and start, but because I did build it in KVM VM, it did stop because non-existing sound in KVM VM. I will test it on my local Win10 desktop computer later today.

xet7 commented 5 years ago

I will also try later does building 32bit Windows exe work, because some do use 32bit Windows.

xet7 commented 5 years ago

I did test TSC on my Win10 desktop computer.

Works:

Minor problems were:

tsc-win10

Quintus commented 5 years ago

Very nice. Thank you.

When downloading TSC installer exe, MS Chromium Edge blocked download saying it's dangerous, so I did click allow to keep file.

I have no idea.

When double clicking TSC installer exe, Windows did ask yellow box confirmation that should this exe be allowed to run, so I did allow it.

There's nothing we can do against that. You need to pay for a specifically crafted TLS certificate to resolve this, and TSC does not have any money one could use for that. The official variant costs about 400$ per year (see the link), but there's a cheaper, inofficial variant for OSS projects (see link again). Anyway, we can't use anything that isn't free.

Once happened that Windows Defender complained that some device had stopped working, so I clicked at Windows Defender to ignore that, so then I could start TSC again.

I have no idea either.

Quintus commented 5 years ago

@xet7 If no further problems appear, you probably can close this issue. I'll document the problems you outlined later on somewhere.