Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 2003 20:08:29 -0400
From:      Guy Middleton <guy@obstruction.com>
To:        freebsd-ports@freebsd.org
Subject:   wxgtk incompatible with stlport
Message-ID:  <20030915000829.GA6272@chaos.obstruction.com>

next in thread | raw e-mail | index | archive | help
I have wxgtk-2.4.1_1 and stlport-gcc-4.5.3_1 installed on a 5.1-RELEASE
system.

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 
   wchar_t*)':
/usr/X11R6/include/wx/buffer.h:104: `wcslen' undeclared (first use this 
   function)
/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030915000829.GA6272>