wxPlotCtrl compile trouble Topic is solved

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
solus
In need of some credit
In need of some credit
Posts: 1
Joined: Mon Oct 23, 2006 9:20 am
Location: Sweden

wxPlotCtrl compile trouble

Post by solus » Mon Oct 23, 2006 10:57 am

I've been looking for plot functionality in wx and come up with three suggestions, contrib/wxPlot, which compiles but segfaults when I run it, MathPlot which seems outdated and doesn't compile, and wxPlotCtrl, which seems the best, but doesn't compile. I've tried two installation strategies so far, first run ./configure in the root dir yields

Code: Select all

configure: error: cannot find install-sh or install.sh in ../../../build/autoconf build ./../../../build/autoconf build
Running make from the /src/ dir (after modifying the makefile to the right include dirs, yields

Code: Select all

i686-pc-linux-gnu-g++ -c -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -MMD -g  -Wall -Wunused -Wunused-parameter -I../include -I ../../../components/wxthings/include  -o lm_lsqr.o lm_lsqr.cpp
I fil inkluderad fr

tiwag
Earned some good credits
Earned some good credits
Posts: 123
Joined: Tue Dec 21, 2004 8:51 pm
Location: Austria

Re: wxPlotCtrl compile trouble

Post by tiwag » Mon Oct 23, 2006 11:19 am

you need also to build wxThings in order to build wxPlotCtrl ...


but
solus wrote:... MathPlot which seems outdated and doesn't compile
here you can dl a project (using CodeBlocks) which builds wxMathPlot fine
http://tiwag.googlecode.com/svn/binarie ... stPlot.tgz

see also there
http://forums.wxwidgets.org/viewtopic.php?p=47629#47629

brgds
Last edited by tiwag on Mon Oct 23, 2006 11:49 am, edited 1 time in total.
-tiwag

rjmyst3
Knows some wx things
Knows some wx things
Posts: 49
Joined: Tue Oct 10, 2006 7:02 pm
Contact:

Post by rjmyst3 » Mon Oct 23, 2006 11:26 am

If you use windows, check out wxPack.
http://wxpack.sourceforge.net/

It includes wxPlotCtrl as compiled as a static lib and as a dll with both gcc and vc.

The download is rather big, because it includes all of wxWidgets compiled this way, among other things. But, you can choose to install only what you want to.

Post Reply