wxgtk incompatible with stlport

Guy Middleton guy at obstruction.com
Sun Sep 14 17:09:32 PDT 2003

I have wxgtk-2.4.1_1 and stlport-gcc-4.5.3_1 installed on a 5.1-RELEASE

Compiling this program:

#include <wx/wx.h>

gives these errors:

c++ -O -pipe -march=pentium3 -I/usr/local/include/stlport `wx-config --cxxflags`  -L/usr/local/lib -lstlport_gcc `wx-config --libs` wxtest.cc  -o wxtest
In file included from /usr/X11R6/include/wx/string.h:66,
                 from /usr/X11R6/include/wx/memory.h:20,
                 from /usr/X11R6/include/wx/object.h:25,
                 from /usr/X11R6/include/wx/wx.h:16,
                 from wxtest.cc:1:
/usr/X11R6/include/wx/buffer.h: In function `wchar_t* wxWcsdupReplacement(const 
/usr/X11R6/include/wx/buffer.h:104: `wcslen' undeclared (first use this 
/usr/X11R6/include/wx/buffer.h:104: (Each undeclared identifier is reported 
   only once for each function it appears in.)

It compiles cleanly without stlport.

I tried to find the cause, but I quickly became lost in a twisty maze of
#include files.

More information about the freebsd-ports mailing list