Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

wxSmith only for wx28 anymore

<< < (3/3)

Morphius Faydal:

--- Quote from: Alturin on July 05, 2007, 03:07:56 pm ---
--- Quote from: MortenMacFly on July 04, 2007, 06:17:11 pm ---...
I think so far one of the main drivers to keep wx26 compatibility was because wx284 (which fixes serious bugs) was not available on all (Linux) platforms. I don't know how the status is now.
With regards, Morten.

--- End quote ---

wxWidgets provides the debian/ubuntu package on their website.
Maybe we could do a poll and see how many users do not have wx provided by them by their distro?
And ofcourse we could consider providing a binary ourselves for Gentoo/FC and the other builds that we have nightlies for?

--- End quote ---

FC I think we can get away with... Gentoo is still wx263, you need to manually install the wx284 ebuilds... But if we provide an ebuild for the C::B nightly, then we can just point to the bugzilla.gentoo for the wx284 ebuilds... This being a development release, we can expect a gentoo user to know how to create an overlay and put in their own ebuilds, right?

tvaster:
Here is an error:

Suse 10.2

 g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/local/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT renderer.lo -MD -MP -MF .deps/renderer.Tpo -c src/wxFlatNotebook/renderer.cpp  -fPIC -DPIC -o .libs/renderer.o
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:75: error: invalid use of undefined type ‘struct wxDropTarget’
/usr/local/include/wx-2.8/wx/window.h:60: error: forward declaration of ‘struct wxDropTarget’       

wxWidgets-2.8.4           --enable-compat26
svn 4235 codeblocks      --enable-contrib

Fred V                                                     

Biplab:

--- Quote from: tvaster on July 06, 2007, 08:13:25 pm --- g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I/usr/local/lib/wx/include/x11univ-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXUNIVERSAL__ -D__WXX11__ -pthread -I../../../src/include/wxFlatNotebook/include -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT renderer.lo -MD -MP -MF .deps/renderer.Tpo -c src/wxFlatNotebook/renderer.cpp  -fPIC -DPIC -o .libs/renderer.o
../../../src/include/wxFlatNotebook/include/wx/wxFlatNotebook/wxFNBDropTarget.h:75: error: invalid use of undefined type ‘struct wxDropTarget’
/usr/local/include/wx-2.8/wx/window.h:60: error: forward declaration of ‘struct wxDropTarget’       

--- End quote ---

Why are you using UNIVERSAL build of wxWidgets?? :shock:

To compile C::B without any error, please configure wxWidgets as (an example)-

--- Code: ---./configure --disable-debug --enable-shared --enable-unicode --enable-monolithic --with-gtk=2
--- End code ---

Please do not use Universal and X11 build of wxWidgets. Use wxGTK build instead.

Edit 1:
Please don't post off-topic. The error you've posted is not related with the topic that is being discussed here.

tvaster:
Sorry, newbie.  Where should it be posted?

Everything compiles well now.  Thanks.

However when starting C::B I get a scroll-up message stating that there is a problem with "libwxsmith.so"  and "libwxsmithcontribitems.so",
and a second scroll-up stating that wxSmith may not be of the same version. All was just compiled, including wxWidgets-2.8.4 as suggested.  I patiently waited for a Suse 10.2 RPM but now have resorted to scroll my own to use wxSmith.

Hope this one is not off-topic.

Fred V


Biplab:
Please post such requests in "Help" section of forum. :)

Navigation

[0] Message Index

[*] Previous page

Go to full version