Search found 135 matches

by ouch67
Wed Aug 10, 2011 3:12 pm
Forum: Compiler / Linking / IDE Related
Topic: can anyone build the svn trunk of wxWidgets?
Replies: 3
Views: 1245

can anyone build the svn trunk of wxWidgets?

I keep getting these errors after updating to 68620: g++ -c -o gcc_mswudll\monodll_msw_button.o -O2 -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -I..\..\lib\gcc_dll\mswu -I..\..\include -W -Wall -DWXBUIL DING -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png -I..\..\src\zlib -I....
by ouch67
Tue Aug 02, 2011 6:38 pm
Forum: Compiler / Linking / IDE Related
Topic: wxSmith - where to download
Replies: 2
Views: 2746

Re: wxSmith - where to download

Yes it does does come bundled, the SVN version of codeblocks/wxSmith supports more controls at the moment however.
by ouch67
Fri Jul 29, 2011 4:29 pm
Forum: C++ Development
Topic: I could use some help with custom events...
Replies: 5
Views: 1210

Re: I could use some help with custom events...

ok, thanks for the help guys, but I'm still having problems. Here is the code thus far: class wxTimerLoopEvent: public wxCommandEvent { public: wxTimerLoopEvent( wxEventType commandType = wxEVT_NULL); DECLARE_DYNAMIC_CLASS(wxTimerLoopEvent) wxTimerLoopEvent( const wxTimerLoopEvent &event ) : wxComma...
by ouch67
Fri Jul 29, 2011 3:57 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config not executing.
Replies: 14
Views: 3987

Re: wx-config not executing.

_Unwind_Resume is part of gcc's library. You should uninstall the mingw version you have and install TDM mingw. It doesn't require any external libraries, as apposed to the "official" mingw which does.
by ouch67
Thu Jul 28, 2011 8:27 pm
Forum: C++ Development
Topic: I could use some help with custom events...
Replies: 5
Views: 1210

Re: I could use some help with custom events...

ok, well I added that and now I get:

1401 error: cannot allocate an object of abstract type 'wxTimerLoopEvent'

which mean what? ;)
by ouch67
Thu Jul 28, 2011 5:33 pm
Forum: C++ Development
Topic: I could use some help with custom events...
Replies: 5
Views: 1210

I could use some help with custom events...

So here is my code so far: class wxTimerLoopEvent: public wxEvent { public: wxTimerLoopEvent( wxEventType commandType = wxEVT_NULL); // accessors //wxPlotCurve *GetCurve() //{ return m_curve; } // required for sending with wxPostEvent() //wxEvent* Clone(); //private: int test; }; DECLARE_EVENT_TYPE(...
by ouch67
Thu Jul 28, 2011 4:28 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config not executing.
Replies: 14
Views: 3987

Re: wx-config not executing.

you can use msys and mingw, but you need to change your path and executables to use msys.

otherwise you can give cygwin a try, I found that to be a bit better than msys anyway. plus codeblocks can auto detect that so there is no manual setup like with msys.
by ouch67
Thu Jul 28, 2011 3:27 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config not executing.
Replies: 14
Views: 3987

Re: wx-config not executing.

No you can do it you just have to go to settings->compiler and debugger->toolchain executables and change the directory and files to the msys ones. Just keep in mind that msys and cygwin are emulations of a linux terminal. meaning, not all scripts will work. I didn't like either one of them when I t...
by ouch67
Wed Jul 27, 2011 4:43 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config not executing.
Replies: 14
Views: 3987

Re: wx-config not executing.

oh, you haven't turned on full command line logging.

go to settings->compiler and debugger->other settings and change compiler logging to "full command line".

once you do that then post the log again. it will tell you what is being launched and how after you do that.
by ouch67
Wed Jul 27, 2011 4:32 pm
Forum: Compiler / Linking / IDE Related
Topic: wx-config not executing.
Replies: 14
Views: 3987

Re: wx-config not executing.

what's the build log look like? Also are you sure the libraries are in fact in the folders it gives?

also be sure your have your tool chain set up so that msys is actually being used. (codeblocks doesn't do that by default if I recall, it just sees mingw and uses it directly)
by ouch67
Tue Jul 26, 2011 7:09 pm
Forum: General Development
Topic: building wxpython without wx-config?
Replies: 3
Views: 1209

building wxpython without wx-config?

is it possible? I looked through the python build script and it doesn't seem to be.

So I was wondering what us mingw windows users are supposed to do...

I don't want to go through and installing msys, or cygwin for just this one library either...
by ouch67
Wed Jul 20, 2011 3:12 pm
Forum: Compiler / Linking / IDE Related
Topic: Linker & Code Blocks problems
Replies: 1
Views: 682

Re: Linker & Code Blocks problems

Well it sounds to me like you might of set up the project wizard to use a monolithic build of wxWidgets. And what you have is the non-monolithic build. So when you add you your non-mono stuff in addition to the mono stuff already configured you get the multiple declaration errors. But no worries you...
by ouch67
Fri Jul 15, 2011 7:33 pm
Forum: C++ Development
Topic: More bind related issues...
Replies: 2
Views: 752

Re: More bind related issues...

The whole error is: C:\wxwidgets\wxWidgets\include\wx\event.h|505|error: '((wxEventFunctorFunctor<wxEventTypeTag<wxTimerEvent>, void (**)(wxTimerEvent&)>*)this)->wxEventFunctorFunctor<wxEventTypeTag<wxTimerEvent>, void (**)(wxTimerEvent&)>::m_handler' cannot be used as a function| but the function i...
by ouch67
Fri Jul 15, 2011 5:19 pm
Forum: C++ Development
Topic: More bind related issues...
Replies: 2
Views: 752

More bind related issues...

so I have this code: class wxTimerLoop { public: //looping timer vars---------------------------------------------------- wxTimer* timerloop[]; wxTimerLoop(wxEvtHandler* evthandler, void(*the_function)(wxTimerEvent&), int event_id = -1, int loop_time = 1000, bool one_shot = false){ int x = 0; while(...
by ouch67
Fri Jul 15, 2011 3:25 pm
Forum: C++ Development
Topic: Implementing wxTimer
Replies: 4
Views: 3043

Re: Implementing wxTimer

or even better with dynamic event tables and 2 timers: void OnTimer(wxTimerEvent& event) { wxMessageBox("timer 0 says hi"); } void OnTimers(wxTimerEvent& event) { wxMessageBox("timer 1 says hi"); } wxTimer* looptimer[2]; looptimer[0] = new wxTimer; looptimer[1] = new wxTimer; looptimer[0]->SetOwner(...