ros-explorer compile 에러납니다. 도와주세여
hys545@localhost explorer]$ make
LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" /usr/bin/wrc --nostdinc -I. -I. -I../../include -I../../include -D__WRC__ -D_WIN32 -foexplorer_intres.res explorer_intres.rc
g++ -c -I. -I. -I../../include -I../../include -D_REENTRANT -fPIC -D__WINE__ -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -DWINVER=0x0500 -D__MINGW32__ -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -o explorer.o explorer.cpp
In file included from ./precomp.h:28,
from explorer.cpp:31:
./utility/utility.h:118:1: warning: "_tcsnicmp" redefined
In file included from ./utility/utility.h:38,
from ./precomp.h:28,
from explorer.cpp:31:
./tchar.h:134:1: warning: this is the location of the previous definition
In file included from ./precomp.h:28,
from explorer.cpp:31:
./utility/utility.h:119:1: warning: "_tcsicoll" redefined
In file included from ./utility/utility.h:38,
from ./precomp.h:28,
from explorer.cpp:31:
./tchar.h:119:1: warning: this is the location of the previous definition
In file included from ./precomp.h:28,
from explorer.cpp:31:
./utility/utility.h: In member function `int BStr::length() const':
./utility/utility.h:738: error: cannot convert `OLECHAR* const' to `const wchar_t*' for argument `1'to `size_t wcslen(const wchar_t*)'
./utility/utility.h: In constructor `String::String(const std::wstring&)':
./utility/utility.h:779: error: no matching function for call to `String::assign(const wchar_t*)'
./utility/utility.h:781: note: candidates are: void String::assign(const WCHAR*)
./utility/utility.h:782: note: void String::assign(const WCHAR*, int)
./utility/utility.h:783: note: void String::assign(const BStr&)
./utility/utility.h:790: note: void String::assign(const CHAR*)
./utility/utility.h:791: note: void String::assign(const CHAR*, int)
./utility/utility.h: In member function `String::operator std::wstring() const':
./utility/utility.h:798: error: invalid conversion from `WCHAR*' to `unsigned int'
./utility/utility.h:798: error: initializing argument 1 of `std::basic_string<_CharT, _Traits, _Alloc>::basic_string(typename _Alloc::size_type, _CharT, const _Alloc&) [with _CharT = wchar_t, _Traits= std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]'
In file included from ./explorer.h:29,
from ./precomp.h:30,
from explorer.cpp:31:
./utility/shellclasses.h: In member function `const CHAR* COMExceptionBase::ErrorMessage() const':
./utility/shellclasses.h:95: error: invalid conversion from `unsigned int' to `const char*'
./utility/shellclasses.h:95: error: initializing argument 2 of `int sprintf(char*, const char*, ...)'
In file included from ./explorer.h:29,
from ./precomp.h:30,
from explorer.cpp:31:
./utility/shellclasses.h:879:1: pasting "." and "pOleStr" does not give a valid preprocessing token
./utility/shellclasses.h:883:1: pasting "." and "uOffset" does not give a valid preprocessing token
./utility/shellclasses.h:887:1: pasting "." and "cStr" does not give a valid preprocessing token
./utility/shellclasses.h: In member function `void StrRetA::GetString(const SHITEMID&, CHAR*, int)':
./utility/shellclasses.h:879: error: expected primary-expression before '.' token
./utility/shellclasses.h:883: error: expected primary-expression before '.' token
./utility/shellclasses.h:887: error: expected primary-expression before '.' token
./utility/shellclasses.h:905:1: pasting "." and "pOleStr" does not give a valid preprocessing token
./utility/shellclasses.h:909:1: pasting "." and "uOffset" does not give a valid preprocessing token
./utility/shellclasses.h:913:1: pasting "." and "cStr" does not give a valid preprocessing token
./utility/shellclasses.h: In member function `void StrRetW::GetString(const SHITEMID&, WCHAR*, int)':
./utility/shellclasses.h:905: error: expected primary-expression before '.' token
./utility/shellclasses.h:909: error: expected primary-expression before '.' token
./utility/shellclasses.h:913: error: expected primary-expression before '.' token
In file included from ./explorer.h:37,
from ./precomp.h:30,
from explorer.cpp:31:
./shell/unixfs.h: In constructor `UnixEntry::UnixEntry(Entry*)':
./shell/unixfs.h:33: error: no matching function for call to `Entry::Entry(Entry*&)'
./shell/entries.h:74: note: candidates are: Entry::Entry(const Entry&)
./shell/entries.h:73: note: Entry::Entry(Entry*, ENTRY_TYPE)
./shell/entries.h:72: note: Entry::Entry(ENTRY_TYPE)
In file included from ./globals.h:29,
from ./precomp.h:33,
from explorer.cpp:31:
./utility/xmlstorage.h: In member function `XMLStorage::XMLInt::operator String() const':
./utility/xmlstorage.h:1371: error: invalid conversion from `unsigned int' to `const char*'
./utility/xmlstorage.h:1371: error: initializing argument 2 of `int sprintf(char*, const char*, ...)'
./utility/xmlstorage.h: In member function `void XMLStorage::XMLIntRef::assign(int)':
./utility/xmlstorage.h:1407: error: invalid conversion from `unsigned int' to `const char*'
./utility/xmlstorage.h:1407: error: initializing argument 2 of `int sprintf(char*, const char*, ...)'
./utility/xmlstorage.h: At global scope:
./utility/xmlstorage.h:1571: error: `XMLCALL' does not name a type
./utility/xmlstorage.h:1572: error: `XMLCALL' does not name a type
./utility/xmlstorage.h:1573: error: `XMLCALL' does not name a type
./utility/xmlstorage.h:1574: error: `XMLCALL' does not name a type
./utility/xmlstorage.h: In constructor `XMLStorage::XMLReaderBase::XMLReaderBase(XMLStorage::XMLNode*)':
./utility/xmlstorage.h:1529: error: expected primary-expression before ')' token
./utility/xmlstorage.h:1530: error: expected primary-expression before ',' token
./utility/xmlstorage.h:1530: error: expected primary-expression before ')' token
./utility/xmlstorage.h:1531: error: expected primary-expression before ')' token
make: *** [explorer.o] 오류 1
첨부 | 파일 크기 |
---|---|
![]() | 20.67 KB |
![]() | 21.02 KB |
![]() | 1.48 KB |
댓글 달기