Could someone tell me how to to build wxMathPlot 0.2.0 "correctly"... Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
czczzzz
Earned a small fee
Earned a small fee
Posts: 15
Joined: Thu May 13, 2021 10:34 am

Could someone tell me how to to build wxMathPlot 0.2.0 "correctly"...

Post by czczzzz » Wed Jun 02, 2021 9:31 am

I just found that wxMathPlot 0.2.0 is the newest "Charts plugin" for wxWidgets.

I try to use it and hope that it could give me a "clean environment" to make some charts......

(I used to make charts with wxFreecharts,it is useful,but only few people "update" it now,so it always has some memory leak and is not stable for3.15......)

I am a totally newbie to Cmake,So I try this.......
2.JPG
2.JPG (33.84 KiB) Viewed 2255 times
1.JPG
And what I got is really weird!!!!!!

especially sample2
3.JPG
3.JPG (52.83 KiB) Viewed 2255 times
almost all 3 samples are different to the screenshot from the "offical website(https://sourceforge.net/projects/wxmath ... xmathplot/)"

I build it with wxWidgets3.15 and VS2019 I will show more screenshot about those errors...please someone help me #-o #-o

sorry for my english

czczzzz
Earned a small fee
Earned a small fee
Posts: 15
Joined: Thu May 13, 2021 10:34 am

Re: Could someone tell me how to to build wxMathPlot 0.2.0 "correctly"...

Post by czczzzz » Wed Jun 02, 2021 9:36 am

more screenshot about errors in vs2019:
7.JPG
7.JPG (12.29 KiB) Viewed 2254 times
8.JPG
if I not manually click "fit" after run sample2......
4.JPG
4.JPG (18.4 KiB) Viewed 2254 times

User avatar
doublemax
Moderator
Moderator
Posts: 16200
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Could someone tell me how to to build wxMathPlot 0.2.0 "correctly"...

Post by doublemax » Wed Jun 02, 2021 10:11 am

wxMathPlot only consists of one source and one header file. Forget about the cmake stuff and just add these source files to your project like one of your own.
Use the source, Luke!

czczzzz
Earned a small fee
Earned a small fee
Posts: 15
Joined: Thu May 13, 2021 10:34 am

Re: Could someone tell me how to to build wxMathPlot 0.2.0 "correctly"...

Post by czczzzz » Wed Jun 02, 2021 12:13 pm

LOL

this is a good way :D

i will try it,definitely.

OMG LOL

simple ,but make sense :lol: :lol:

Post Reply