User forums > Using Code::Blocks

Help compiling wxWidgets application.

(1/1)

YellowShadow:
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

--- End quote ---

If anyone can help me that would be great :)

- Dro Sarhadian

TDragon:

--- Quote from: YellowShadow on December 24, 2007, 06:17:52 am ---Everything is setup correctly.

--- End quote ---
Obviously not everything is set up correctly, or you wouldn't be having any problems. ;)

Try the wxWindowsQuickRef.

YellowShadow:

--- Quote from: TDragon on December 24, 2007, 06:40:58 am ---
--- Quote from: YellowShadow on December 24, 2007, 06:17:52 am ---Everything is setup correctly.

--- End quote ---
Obviously not everything is set up correctly, or you wouldn't be having any problems. ;)

Try the wxWindowsQuickRef.

--- End quote ---

Thanks! That seemed to fix everything :)

Navigation

[0] Message Index

Go to full version