whatever is the matter with wxWidgets --with-X11??

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
sdp
Knows some wx things
Knows some wx things
Posts: 28
Joined: Wed Oct 05, 2005 6:43 pm

whatever is the matter with wxWidgets --with-X11??

Post by sdp »

I am trying to build widgets with X11.
I configure as --with-X11 --enable-debug --enable-monolithic --enable-compat22.
My configure says it has to use Motif toolkit. But is that correct? I thought I read that --with-X11 uses a built-in toolkit.

  • Configured wxWidgets 2.6.2 for `sparc-sun-solaris2.8'

    Which GUI toolkit should wxWidgets use? motif
    Should wxWidgets be compiled into single library? yes
    Should wxWidgets be compiled in debug mode? yes
    Should wxWidgets be linked as a shared library? yes
    Should wxWidgets be compiled in Unicode mode? no
    What level of wxWidgets compatibility should be enabled?
    wxWidgets 2.2 yes
    wxWidgets 2.4 yes
    Which libraries should wxWidgets use?
    jpeg builtin
    png builtin
    regex sys
    tiff builtin
    xpm yes
    zlib builtin
    odbc no
    expat builtin
    libmspack no
    sdl no
    gnomeprint no

and when I do make, I start getting the following types of errors:

bash-2.03# make
./bk-make-pch .pch/wxprec_monodll/wx/wxprec.h.gch wx/wxprec.h g++ -I.pch/wxprec_monodll -D__WXMOTIF
__ -I../src/tiff -I../src/jpeg -I../src/png -I../src/zlib -I../src/expat/lib -DwxUSE_BASE=1 -
DWXMAKINGDLL -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA -D__WXDEBUG__ -Ilib/wx/include/motif-ansi-deb
ug-2.6 -I../include -I/usr/dt/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -isystem /usr/openwin/i
nclude -g -O0 -pthreads -D_REENTRANT -Wall -Wundef -Wno-ctor-dtor-privacy
In file included from lib/wx/include/motif-ansi-debug-2.6/wx/setup.h:1024,
from ../include/wx/platform.h:190,
from ../include/wx/defs.h:21,
from ../include/wx/wxprec.h:13:
../include/wx/chkconf.h:27:32: wx/motif/chkconf.h: No such file or directory
When is the dir motif under wx created and who creates it? Because I don't see any such dir and hence the error.

Any help is appreciated.

thanks,
shailesh
sdp
Knows some wx things
Knows some wx things
Posts: 28
Joined: Wed Oct 05, 2005 6:43 pm

Post by sdp »

Some more info:
The code which causes the error i am seeing is from wx/chkconf.h.
This tries to include wx/motif/chkconf.h
But I don't have the motif dir.

#if defined(__WXPALMOS__)
# include "wx/palmos/chkconf.h"
#elif defined(__WXWINCE__)
# include "wx/msw/wince/chkconf.h"
#elif defined(__WXMSW__)
# include "wx/msw/chkconf.h"
#elif defined(__WXMAC__)
# include "wx/mac/chkconf.h"
#elif defined(__WXMOTIF__)
# include "wx/motif/chkconf.h"
#endif
Post Reply