Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: YellowShadow on December 24, 2007, 06:17:52 am

Title: Help compiling wxWidgets application.
Post by: YellowShadow on December 24, 2007, 06:17:52 am
I need some help compiling an wxWidget application. Everything is setup correctly. I have compiled both the debug version and release version of the latest wxWidgets and I'm using the latest Code::Blocks nightly build.

Here is the build log with the error:

Quote
-------------- Build: Debug in wxTest ---------------

Compiling: wxTest.cpp
In file included from C:/wxWidgets-2.8.7/include/wx/platform.h:279,
                 from C:/wxWidgets-2.8.7/include/wx/defs.h:21,
                 from C:/wxWidgets-2.8.7/include/wx/wx.h:15,
                 from C:\Users\Dro\Desktop\Test\wxTest\wxTest.cpp:1:
C:/wxWidgets-2.8.7/include/wx/chkconf.h:1817:9: #error "wxClipboard requires wxDataObject"
Process terminated with status 1 (0 minutes, 3 seconds)
1 errors, 0 warnings

If anyone can help me that would be great :)

- Dro Sarhadian
Title: Re: Help compiling wxWidgets application.
Post by: TDragon on December 24, 2007, 06:40:58 am
Everything is setup correctly.
Obviously not everything is set up correctly, or you wouldn't be having any problems. ;)

Try the wxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef).
Title: Re: Help compiling wxWidgets application.
Post by: YellowShadow on December 24, 2007, 08:09:38 am
Everything is setup correctly.
Obviously not everything is set up correctly, or you wouldn't be having any problems. ;)

Try the wxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef).

Thanks! That seemed to fix everything :)