News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

wxWidgets 2.8.0 problem

Started by inestical, February 17, 2007, 10:36:43 PM

Previous topic - Next topic

inestical

Hello,

I'm pretty sure ye will bash me down.

Anyways, I cannot build template (or any project actually) using wxWidgets, since prebuilding gives only this error:

...\include\wx\chkconf.h 1777  #error "wxClipboard requires wxDataObject"

I'm pretty sure I've done right things:

cleaned/built wx install using mingw, set the custom variable to point to the folder with all the files and
set libraries and directories

am I missing something?

stahta01

#1
Are you using the standard Code::Blocks (without any user applied patches or plugins)?
What is the SVN Number or are you using RC2?
Did you build Code::Blocks yourself or download it?
If compiled Code::Blocks yourself from source, which wxWidgets version was used?
What OS? (XP, 98 or etc.)

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

inestical

arr..
sorry for the techincal details;

standard downloaded Code::Blocks 1.0 RC2
Windows Xp SP2 Professional

anything else?

stahta01

#3
I suggest upgrading to a nightly build.
Look at this forum http://forums.next.codeblocks.org/index.php?board=20.0.

RC2 was released way before 2.8 widgets and will never support it, in the last month the support for 2.8 widgets has been getting better all the time in the nightly builds.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

inestical

yah..

E:\CodingDepartment\wxWidgets-2.8.0\include\wx\chkconf.h:1777: #error "wxClipboard requires wxDataObject"
:: === Build finished: 1 errors, 0 warnings ===

stahta01

Quote from: inestical on February 17, 2007, 11:20:09 PM
yah..

E:\CodingDepartment\wxWidgets-2.8.0\include\wx\chkconf.h:1777: #error "wxClipboard requires wxDataObject"
:: === Build finished: 1 errors, 0 warnings ===


What command did you build wxWidgets 2.8.0 with?

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

inestical

what do you mean?

btw, when using the wizard when starting new wxWidgets project, it says it does not find the Debug/Release folders in the wxW folder; indeed there is no bin folder..

I think I've dl'd the wrong package or something..

stahta01

Quote from: inestical on February 17, 2007, 11:59:43 PM
what do you mean?

btw, when using the wizard when starting new wxWidgets project, it says it does not find the Debug/Release folders in the wxW folder; indeed there is no bin folder..

I think I've dl'd the wrong package or something..

After downloading the source for wxWidgets 2.8, you have to compile it!

Note, you can instead download wxPack which comes with wxWidgets pre-compiled/built.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

SamT


There is a video tutorial which post by T-Rex. You can take this as a reference.

http://www.wxwidgets.info/?q=wxwidgets28_and_codeblocks_video_win

inestical

#9
QuoteAfter downloading the source for wxWidgets 2.8, you have to compile it!

yeah, I did. took some nice amount of time tho.

still nothing.

EDIT: build it again (for third time) and it started working. like charm

thanks for the replies ;)