Author Topic: SVN wxSmith on Slackware  (Read 6525 times)

fprimex

  • Guest
SVN wxSmith on Slackware
« on: April 04, 2006, 02:52:17 am »
Hello all,

I checked out codeblocks around 2AM EST this morning and compiled it on Slackware against wxWidgets 2.6.3. codeblocks itself compiled without problems, but I ran into two show stoppers with wxSmith. Here's what I did to fix it; perhaps a patch is needed:

Comment out the following header in wxSmith/properties/wxsstringlistcheckproperty.h :
#include <wx/propgrid/propdev.h>
Is this Windows-specific? Maybe it needs a #ifdef check.

Add #include "widget.h" to wxSmith/wxsevent.cpp after #include "wxsglobals.h"

After those two fixes everything compiled, installed, and seems to work.

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 836
Re: SVN wxSmith on Slackware
« Reply #1 on: April 04, 2006, 11:33:41 pm »
It seems to be a problem with propgrid - it requires headers to be included in proper order.

Do You use PCH ? I've updated sources today to be compilable without pchs.

fprimex

  • Guest
Re: SVN wxSmith on Slackware
« Reply #2 on: April 06, 2006, 09:25:12 am »
config.log has this from my earlier build:
configure:23597: checking if the compiler supports precompiled headers
configure:23627: gcc -c -O2 -ffast-math -g -O2  conftest.c >&5
conftest.c:69:22: #error "no pch support"

I just did an svn update and am rebuilding. I will report when that is done.

fprimex

  • Guest
Re: SVN wxSmith on Slackware
« Reply #3 on: April 07, 2006, 11:03:59 am »
I haven't had time to sort through it yet to suggest a fix like last time, but the build does still fail. I've attached the output of make. The process was: svn update on 4-6-2006, make codeblocks, make wxSmith, build failed, make &> build.txt. I should have some time at the ALUG meeting tomorrow night to svn update and rebuild, then look at it.

http://alug.appstate.edu

[attachment deleted by admin]

fprimex

  • Guest
Re: SVN wxSmith on Slackware
« Reply #4 on: April 09, 2006, 09:26:44 am »
D'oh, sorry. I didn't take my previous changes out before the svn update. I built from a clean checkout and everything is happy.

Thanks!

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 836
Re: SVN wxSmith on Slackware
« Reply #5 on: April 10, 2006, 02:12:36 pm »
Thx for report :)  I really had no idea what that could be if not pch ;)