Author Topic: Help compiling wxWidgets application.  (Read 4297 times)

YellowShadow

  • Guest
Help compiling wxWidgets application.
« 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

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: Help compiling wxWidgets application.
« Reply #1 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.
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

YellowShadow

  • Guest
Re: Help compiling wxWidgets application.
« Reply #2 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.

Thanks! That seemed to fix everything :)