Author Topic: Problems compiling code:blocks, stuck at xh_propgrid.h  (Read 6414 times)

aphixe

  • Guest
Problems compiling code:blocks, stuck at xh_propgrid.h
« on: May 14, 2012, 09:31:02 am »
Followed the Nightly Cookbook as close as i could. I downloaded the latest of everything. from wx, and built it, both debug and full. Setup my paths and all. and  I got this errors with xh_propgrid.h  saying "wxPropertyGridState"  has not been declared.
heres my errors below:

Code
 ||=== Code::Blocks wx2.8.x, Squirrel std lib ===|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp||In function 'SQInteger sqstd_rex_element(SQRex*)':|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp|267|warning: variable 'op' set but not used [-Wunused-but-set-variable]|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp||In function 'const SQChar* sqstd_rex_matchnode(SQRex*, SQRexNode*, const SQChar*, SQRexNode*)':|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp|502|warning: value computed is not used [-Wunused-value]|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp|508|warning: value computed is not used [-Wunused-value]|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp|514|warning: value computed is not used [-Wunused-value]|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp|520|warning: value computed is not used [-Wunused-value]|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp||In function 'SQBool sqstd_rex_searchrange(SQRex*, const SQChar*, const SQChar*, const SQChar**, const SQChar**)':|
C:\cbsvn\codeblocks\src\sdk\scripting\sqstdlib\sqstdrex.cpp|610|warning: value computed is not used [-Wunused-value]|
||=== Code::Blocks wx2.8.x, wxpropgrid ===|
sdk\wxpropgrid\include\wx\propgrid\xh_propgrid.h|42|error: 'wxPropertyGridState' has not been declared|
C:\cbsvn\codeblocks\src\sdk\wxpropgrid\src\xh_propgrid.cpp|109|error: variable or field 'PopulatePage' declared void|
C:\cbsvn\codeblocks\src\sdk\wxpropgrid\src\xh_propgrid.cpp|109|error: 'wxPropertyGridState' was not declared in this scope|
C:\cbsvn\codeblocks\src\sdk\wxpropgrid\src\xh_propgrid.cpp|109|error: 'state' was not declared in this scope|
C:\cbsvn\codeblocks\src\sdk\wxpropgrid\src\xh_propgrid.cpp||In member function 'virtual wxObject* wxPropertyGridXmlHandler::DoCreateResource()':|
C:\cbsvn\codeblocks\src\sdk\wxpropgrid\src\xh_propgrid.cpp|225|error: no matching function for call to 'wxPropertyGridXmlHandler::PopulatePage(wxPropertyGridPageState*)'|
C:\cbsvn\codeblocks\src\sdk\wxpropgrid\src\xh_propgrid.cpp|225|note: candidate is:|
sdk\wxpropgrid\include\wx\propgrid\xh_propgrid.h|42|note: void wxPropertyGridXmlHandler::PopulatePage(int*)|
sdk\wxpropgrid\include\wx\propgrid\xh_propgrid.h|42|note:   no known conversion for argument 1 from 'wxPropertyGridPageState*' to 'int*'|
||=== Build finished: 5 errors, 6 warnings (0 minutes, 53 seconds) ===|

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Problems compiling code:blocks, stuck at xh_propgrid.h
« Reply #1 on: May 14, 2012, 10:26:14 am »
What wxWidgets are you using? 2.8 or 2.9? If it is the latter it is advised to switch to 2.8 or if you feel brave, you can try -wx2.9.cbp instead of the normal project.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]