Re: wxGTK and wxEuphoria on Fedora
- Posted by JerryStory Nov 24, 2008
- 917 views
mattlewis said...
JerryStory said...
He says: "While working on wxEuphoria, I came to a compile error I can't fix for wxSprint.o [see the screendump I attached for the detail] "
g++ -c -D__WXGTK__ -I. -I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I /usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/u sr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FIL E_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -DWX_MAJOR=2 -DWX_MINOR=8 -DWX_BUGFIX=9 -DWX_LIB_BUILD=12 wxSprint.cpp wxSprint.cpp: In function üobject NewWString(wxChar*)': wxSprint.cpp:101: error: cannot convert üwxChar*' to üconst wchar_t*' for argume nt ü1' to üsize_t wcslen(const wchar_t*)' wxSprint.cpp: In function üobject ESprintfW(object, object)': wxSprint.cpp:306: warning: deprecated conversion from string constant to üwxChar *'
Looks like he has the ansi version of wxGTK installed, but is trying to build wxEuphoria as Unicode. It could be that the configure script expects to find the wx-config script in /usr/bin, but he may have it in /usr/local/bin, so it is not correctly configuring the build for his system.
Matt
What should I tell him is the solution?