Search found 32 matches

by nona
Thu May 31, 2018 1:31 am
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

ONEEYEMAN wrote:Hi,
Was your project compiled successfully? You able to run the program?

If not - what error did you get?

Thank you.
Yes I build and compiled it with no error but the code::blocks is the same no change.
by nona
Wed May 30, 2018 11:17 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

Hi, You just add the include and lib folders to the project and rebuild. Nothing fancy. Thank you. should I see the gui tools like mathplot in the pic? https://www.google.ca/search?q=codeblocks+mathplot&tbm=isch&source=lnms&sa=X&ved=0ahUKEwjJv87Xya7bAhWU2YMKHQs9CCEQ_AUIDSgE&biw=1440&bih=826&dpr=2#i...
by nona
Wed May 30, 2018 11:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

I add the libwxcode_msw30u_freechart library to my project lib dir and linked it what else I should do to add wxFreeChart to code::blocks
by nona
Wed May 30, 2018 9:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

I am sorry that I keep asking I am still very new in this. but now I am using Code::Blocks how to use wxFreeChart with it?
by nona
Wed May 30, 2018 9:39 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

So I need to set SHARED=0 instead of 1 As I wrote above, while this (WX_SHARED=1 with SHARED=0) was probably intended to work but it actually does not. The static build of wxFreeChart seems to be produced only with wxWidgets static build. However, as you built wxWidgets in shared (DLL) mode, you ma...
by nona
Wed May 30, 2018 9:38 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

ONEEYEMAN wrote:Hi,
Don't forget to rebuild wxWidgets with SHARED=0.
The 2 configurations must match.

Thank you.
Thank you that worked fine :)
by nona
Wed May 30, 2018 7:29 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

Is my build went successfully or not and how can I know? You can tell your build failed because of the log you posted, see the error listed there and the exit status. All the issues are related to wxAUI. I tested it myself and got the same result you got. Looking at the GCC makefile I noticed that ...
by nona
Wed May 30, 2018 5:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

I am using wxWidgets 3.0.4 and build it using: mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release Well, then the command line should be mingw32-make -f makefile.gcc WX_SHARED=1 WX_UNICODE=1 WX_DEBUG=0 WX_VERSION=30 If your WXWIN environment variable is not set properly you also need eith...
by nona
Wed May 30, 2018 4:45 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

Unless you are using obsolete wxWidgets 2.8, you also need to set the wxWidgets version, e.g. WX_VERSION=31 for wxWidgets 3.1. The other options you may need to set are (taken from the GCC makefile) # Use DLL build of wx library? [0,1] WX_SHARED ?= 0 # Use Unicode build of wxWidgets? [0,1] WX_UNICO...
by nona
Wed May 30, 2018 4:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Re: Build wxFreeChart and using it in Code::Blocks

Hi But I got error nmake is not recognized. so I change it to mingw32-make -fmakefile.gcc but I still get errors: This is the right thing. But the others command line options must match the ones you've used to build your version of wxWidgets. Did you build your libs or did you download them ? Regar...
by nona
Tue May 29, 2018 8:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks
Replies: 23
Views: 3187

Build wxFreeChart and using it in Code::Blocks

Hi, I need help with my task. I downloaded a zip file of wxFreeChart and extract it the info says I should be inside build dir and run these commands: Installation - win32 -------------------- When building on win32, you can use the makefiles in the BUILD folder using the WX_DIR, WX_DEBUG, WX_UNICOD...
by nona
Fri May 04, 2018 4:54 pm
Forum: C++ Development
Topic: wxWidgets Multi threading
Replies: 1
Views: 643

wxWidgets Multi threading

Hi,
I am trying to write a GUI app the main thread to add two numbers. and I want to add another thread to display a word on the same screen at the same time. Is that possible? I tried to use the documentation example but could not make it run.
http://docs.wxwidgets.org/3.0.4/classwx_thread.html
by nona
Fri Apr 20, 2018 11:34 pm
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 6502

Re: Different Pixel Density in wxWidgets

ONEEYEMAN wrote:Hi,
And the constructor of Guiboard class?

Also, please use "code" tags so that people can easily read the code you posted.

Thank you.

P.S.: BTW what compiler do you use?
It is big one with a lot of details to copy here which information exactly you need from it?
by nona
Fri Apr 20, 2018 11:29 pm
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 6502

Re: Different Pixel Density in wxWidgets

Can you show a screenshot? The way i understand it, you just changed the display resolution to 1920x1200, but left the display scaling as it was before? If there is just enough room on the screen to display your gui at that resolution, there is nothing you can do about it. The issue that I am worki...
by nona
Fri Apr 20, 2018 8:23 pm
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 6502

Re: Different Pixel Density in wxWidgets

#include "MY_GUIApp.h" //(*AppHeaders #include "Guiboard.h" #include <wx/image.h> //*) IMPLEMENT_APP(MY_GUIApp); bool MY_GUIApp::OnInit() { //(*AppInitialize bool wxsOK = true; wxInitAllImageHandlers(); if ( wxsOK ) { Guiboard* Frame = new Guiboard(0); Frame->Show(); SetTopWindow(Frame); } //*) ret...