hello all
I'm trying to make amule last version on windows to include some adds to de code.
I installed mingwstudio2.05, the easyest way, that suposed to contain wx's libraries, but when opening the .mpl file and compiling I found the following error:
--------------------Configuration: amule - Release--------------------
Compiling source file(s)...
CFile.cpp
src\CFile.cpp:606: error: no `wxString
CDirIterator::FindFirstFileA(CDirIterator::FileType, wxString)' member
function declared in class `CDirIterator'
C:\MinGWStudio\MinGW\include\winbase.h: In member function `wxString
CDirIterator::FindFirstFileA(CDirIterator::FileType, wxString)':
C:\MinGWStudio\MinGW\include\winbase.h:1140: error: too few arguments to
function `BOOL FindNextFileA(void*, _WIN32_FIND_DATAA*)'
src\CFile.cpp:613: error: at this point in file
C:\MinGWStudio\Include\wx\string.h:284: error: `wxString::wxString(int)' is
private
src\CFile.cpp:613: error: within this context
src\CFile.cpp: At global scope:
src\CFile.cpp:616: error: no `wxString CDirIterator::FindNextFileA()' member
function declared in class `CDirIterator'
src\CFile.cpp: In member function `wxString CDirIterator::FindNextFileA()':
src\CFile.cpp:636: error: 'struct dirent' has no member named 'd_type'
src\CFile.cpp:637: error: `DT_DIR' undeclared (first use this function)
src\CFile.cpp:637: error: (Each undeclared identifier is reported only once for
each function it appears in.)
src\CFile.cpp:644: error: `DT_REG' undeclared (first use this function)
amule.exe - 10 error(s), 0 warning(s)
I found this at the begining of CFile.cpp:
// wxWindows
#ifndef WX_PRECOMP
# include
# include
# include
#endif // !WX_PRECOMP
In the header wx/string.h is suposed to be the class wxString not found while compiling, but I tryed to define WX_PRECOMP by hand and nothing
might be that this version of mingwstudio does not include the correct version of wx libraries? Can anybody help me?
thanks :baby: :rolleyes: