2.8.4-rc2 build failed (cross compiler)

Mark Clarkson mark.clarkson at smorg.co.uk
Fri May 11 14:45:17 PDT 2007


Hi,
I cross-compile windows binaries on linux, which failed today when I 
tried to build wxWidgets 2.8.4-rc2. Both mac and linux builds went fine.

/.../wxWidgets-2.8.4-rc2/build-cross-u/bk-deps i586-mingw32msvc-c++ -c 
-o baselib_sstream.o  -D__WXMSW__     -I../src/tiff -I../src/jpeg 
-I../src/png -I../src/zlib  -I../src/regex -I../src/expat/lib 
-DwxUSE_GUI=0 -DwxUSE_BASE=1 
-I/.../wxWidgets-2.8.4-rc2/build-cross-u/lib/wx/include/i586-mingw32msvc-msw-unicode-release-static-2.8 
-I../include -mthreads -Wall -Wundef -Wno-ctor-dtor-privacy -O2 
-fno-strict-aliasing -I/usr/i586-mingw32msvc/include/ 
../src/common/sstream.cpp
../src/common/sstream.cpp:161: error: `wxStringStreamUnconvBuffers' has 
not been declared
../src/common/sstream.cpp:161: error: expected constructor, destructor, 
or type conversion before ';' token../src/common/sstream.cpp:165: error: 
`wxStringStreamUnconvBuffers' does not name a type
../src/common/sstream.cpp: In destructor `virtual 
wxStringOutputStream::~wxStringOutputStream()':
../src/common/sstream.cpp:170: error: `gs_unconverted' was not declared 
in this scope
../src/common/sstream.cpp:170: warning: unused variable 'gs_unconverted'
../src/common/sstream.cpp: In member function `virtual size_t 
wxStringOutputStream::OnSysWrite(const void*, size_t)':
../src/common/sstream.cpp:187: error: `gs_unconverted' was not declared 
in this scope
../src/common/sstream.cpp:187: warning: unused variable 'gs_unconverted'
make: *** [baselib_sstream.o] Error 1

When I added '#include "wx/hashmap.h"' to src/common/sstream.cpp the 
problem went away and the rest of the build went fine.

Anyone know if this will be fixed in later versions?

Cheers
Mark.





More information about the wx-users mailing list