Code: Select all
celutil\windirectory.cpp: In member function `virtual bool WindowsDirectory::nex
tFile(std::string&)':
celutil\windirectory.cpp:65: error: invalid const_cast from type `const char*' t
o type `const TCHAR*'
celutil\windirectory.cpp:74: error: invalid conversion from `WCHAR*' to `char'
celutil\windirectory.cpp:74: error: initializing argument 1 of `std::basic_str
ing<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operat
or=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std:
:allocator<char>]'
celutil\windirectory.cpp:82: error: invalid conversion from `WCHAR*' to `char'
celutil\windirectory.cpp:82: error: initializing argument 1 of `std::basic_str
ing<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operat
or=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std:
:allocator<char>]'
celutil\windirectory.cpp: In function `bool IsDirectory(const std::string&)':
celutil\windirectory.cpp:102: error: invalid const_cast from type `const char*'
to type `const TCHAR*'
mingw32-make[1]: *** [release/windirectory.o] Error 1
mingw32-make[1]: Leaving directory `H:/celestia/01102008-qt4/celestia/src'
I tried a little something by removing the extra celutil win32 files from celestia.pro and the build stopped again at glext.cpp. So maybe I need a different MinGW compiler version??????????
Thank You Linux . Windows your days are numbered on my machine.
I'm Done for now.
cartrite