Search found 134 matches

by ouch67
Sat Jan 24, 2009 2:08 am
Forum: Platform Related Issues
Topic: WxWidgets build for Ubuntu
Replies: 7
Views: 1124

you need `wx-config --cxxflags` in your compiler settings under "other options" and: `wx-config --libs` in your linker settings under other options. But chances are they are already there. Sounds like your compiler can't find wxWidgets. Make sure you set up your paths correctly in your global variab...
by ouch67
Sat Jan 24, 2009 1:23 am
Forum: wxCode
Topic: errors in SVN version of wxsqlite against SVN wxwidgets
Replies: 3
Views: 1828

I'm not sure I would abandon wxchar just yet. Type casting seems to be working just fine for me so far. I updated my SVN today. I see that someone added (const wxChar*) to the lines. Except they missed the one on line 120. also the SVN of wxWidgets takes around 250mb with each build you do taking 12...
by ouch67
Sat Jan 24, 2009 12:22 am
Forum: C++ Development
Topic: need help in c++/wxwidgets project
Replies: 21
Views: 2513

If you still need help then, sure post it.
by ouch67
Fri Jan 23, 2009 5:24 am
Forum: Platform Related Issues
Topic: where do you get wx-config when using the SVN version?
Replies: 5
Views: 829

I trashed the directory and started from scratch. everything went fine afterwards.

oh, and it creates a shell script link where you build wx-widgets. So you don't need to try to run wx-configure from another location.

well... when it works properly you don't... :)
by ouch67
Fri Jan 23, 2009 5:05 am
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2198

heh, compiling my code against the svn version fixed the problem. apparently it was a bug after all and has been fixed. thanks for your help though! edit: damn it! they fixed it, but now they don't allow the min and max to be the same value! So I'm effectively screwed over even more than before... e...
by ouch67
Fri Jan 23, 2009 4:54 am
Forum: wxCode
Topic: errors in SVN version of wxsqlite against SVN wxwidgets
Replies: 3
Views: 1828

errors in SVN version of wxsqlite against SVN wxwidgets

I was wondering if anyone else got these 26 errors? error: cannot convert ‘const char*’ to ‘const wxChar*’ in initialization it occurs in every line in this code section: const wxChar* wxERRMSG_NODB = wxTRANSLATE("No Database opened"); const wxChar* wxERRMSG_NOSTMT = wxTRANSLATE("Statement not acces...
by ouch67
Thu Jan 22, 2009 10:46 pm
Forum: Platform Related Issues
Topic: where do you get wx-config when using the SVN version?
Replies: 5
Views: 829

well that's the problem, when I go to the directory I built wxwidgets at and type wx-config, it says command not found.

my build options were:

../configure --with-gtk --enable-unicode --enable-monolithic

I tried with the --prefix=$(pwd) tag but the same thing happened
by ouch67
Thu Jan 22, 2009 10:02 pm
Forum: Platform Related Issues
Topic: where do you get wx-config when using the SVN version?
Replies: 5
Views: 829

where do you get wx-config when using the SVN version?

wxWidgets compiles fine but "make install" doesn't seem to install it. So where do you get it from? and how do you install it so it is found by compilers?

running ubuntu hardy.
by ouch67
Thu Jan 22, 2009 8:07 pm
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2198

well the widget example is completely different from the widget demo... anyway, yes it does work fine in that app. looking at the code it looks like they check values after altering the slider and if it's not correct then they force the values... not the most efficient thing, but it works I guess. T...
by ouch67
Thu Jan 22, 2009 2:09 pm
Forum: C++ Development
Topic: need help in c++/wxwidgets project
Replies: 21
Views: 2513

I had a look at your source code and I think I see what your trying to do here. I think what you need to do next is to start designing the GUI as you want it. Don't think about "how" your going to get it to work just yet. Start a new wxwidgets project (File->new->project, then select the wxwidgets o...
by ouch67
Thu Jan 22, 2009 1:18 pm
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2198

Yes, I dicided I'm going to have to break down and build wxWidgets from SVN. I was going to eventually But I kept putting it off... I'll see if I can build this thing in linux, I've already done it windows, but linux is whole different story as you know... ;) I'll get back to you after I've done it ...
by ouch67
Tue Jan 20, 2009 11:39 pm
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2198

well that's the thing, My app and the demo both behave incorrectly. and the demo does come with the code too. It does pretty much the same thing as mine. to re-cap: start up the demo, go to the slider tab. change the min-max value to be 1-10, move the slider to 5. change the min-max to be 10-20 the ...
by ouch67
Tue Jan 20, 2009 9:43 pm
Forum: C++ Development
Topic: need help in c++/wxwidgets project
Replies: 21
Views: 2513

I'm not Hossein... lol

but yes I guess your right fopen is actually C and not C++.

oh well, you should be using "wxFile" or "wxFFile" anyway. ;)
by ouch67
Tue Jan 20, 2009 9:39 pm
Forum: C++ Development
Topic: sliders ignore min value in linux?
Replies: 12
Views: 2198

I'm using ubuntu hardy (everything updated according to the updater) with these libraries: libwxbase2.8-0 libwxbase2.8-dev libwxgtk2.8-0 libwxgtk2.8-dev wx2.8-doc wx2.8-headers wx2.8-i18n using codeblocks build 5382 with the wxsmith wxWidgets form builder. the demo app I'm talking about is the one f...
by ouch67
Tue Jan 20, 2009 9:22 pm
Forum: C++ Development
Topic: Where to put my code
Replies: 5
Views: 900

or you can use codeblocks: http://www.codeblocks.org/ it's got an wxWidgets form builder built into it. It changes the c++ GUI code section in your file in real time as you change the interface. it's also got an project wizard to start a new wxWidgets project with any of the available settings you w...