Solaris wxwidgets compile problems
Jeff Lacki
jeep at rahul.net
Mon Mar 3 10:06:25 PST 2008
I may be doing something basic wrong, if so please tell me.
Im trying to compile wxwidgets-2.8.7 for Solaris 10.
I had to compile wxMotif-2.8.7 first. For both compiles
I got an error saying:
"./src/unix/displayx11.cpp", line 391: Error: The function "wxLogDebug" must have a prototype.
I fixed this by adding the missing stuff at the top of displayx11.cpp:
inline void wxLogNop() { }
#define wxLogDebug(fmt, ...) wxLogNop()
The Makefile produced for at least one (if not both - I cant remember)
was missing the include line for wx-2.8, so I added it.
Now Im getting:
gmake: *** No rule to make target `src/x11/bitmap.cpp', needed by `coredll_bitmap.o'. Stop.
and sure enough, there is no bitmap.cpp for x11:
find . -name 'bitmap.cpp'
./src/gtk/bitmap.cpp
./src/msw/bitmap.cpp
./src/gtk1/bitmap.cpp
Why is it missing? Or is it me?
I configured wxwidgets with: configure --with-motif
Im assuming this is the correct thing for solaris, but I could be wrong.
Thanks for the help
More information about the wx-users
mailing list