I can't seem to find a makefile in their github that will build it?
The makefilegnu that they have looks for wx-config which of course doesn't exist on windows.
Does wxCharts not support mingw?
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: Does wxCharts not support mingw?
My wxWidgets stuff web page : X@v's wxStuff
Re: Does wxCharts not support mingw?
I tried that and it doesn't work. It seems the makefile is calling wx-config inline with compiler options.
- xaviou
- Super wx Problem Solver
- Posts: 437
- Joined: Mon Aug 21, 2006 3:18 pm
- Location: Annecy - France
- Contact:
Re: Does wxCharts not support mingw?
Hi.
Here is how you can solve this.
In your command line window, define the 2 following variables (don't forget to adapt to your installation) :
In the "GNUmakefile" add the following line (I've put it at line 48):
Then replace all occurences of `wx-config --cxxflags --libs` (including the back ticks) by $(WXCONFIG)
Then launch your make : it should work (it did for me).
If you want to build the samples, it is a little bit different:
Define the WXCHARTS variable :
In each sample's makefile, add the folowing lines :
Then replace :
Xav'
Here is how you can solve this.
In your command line window, define the 2 following variables (don't forget to adapt to your installation) :
Code: Select all
set WXWIN=C:\wx30
set WXCFG=gcc_lib\mswu
Code: Select all
WXCONFIG=$(shell wx-config.exe --cxxflags --libs)
Then launch your make : it should work (it did for me).
If you want to build the samples, it is a little bit different:
Define the WXCHARTS variable :
Code: Select all
set WXCHARTS=C:\Test\wxChars
Code: Select all
WXCONFIGLIBS=$(shell wx-config.exe --libs)
WXCONFIGCXX=$(shell wx-config.exe --cxxflags)
- `wx-config --libs` by $(WXCONFIGLIBS) (only one occurence)
- each occurences of `wx-config --cxxflags` by $(WXCONFIGCXX) (one occurence by cpp file to compile)
Xav'
My wxWidgets stuff web page : X@v's wxStuff