« Return to Thread: C API?

Re: C API?

by steven765 :: Rate this Message:

Reply to Author | View in Thread


Mark Easton wrote:
Yes my build works partially. The only things I need to fix and am doing at the moment is that some of the wrapper c code which I used from the rrdtool website is outdated and so the parameter counts of some methods have changed, but the main methods work.

You can download my VS.NET 2005 solution (..\rrdtool-1.2.19\win32\rrdtool.sln) which builds and saves the exe to ..\rrdtool-1.2.19\win32\tooldebug. Download from :

www.agile4.co.nz/downloads/rrdtool-1.2.19.rar, and
www.agile4.co.nz/downloads/GnuWin32.rar (... to get the gnuwin32.rar files included in the build. This is installed on my machine in C:\Program Files\GnuWin32.)

Good luck,
Mark

Okay got it working except the wrap_rrdgraph function. Any luck here? I've tried various things. Now it doesn't crash, but no picture is output either.

i modified it to read
ret_2 = wrap_rrd_graph( "speed.png --start 920804400 --end 920808000 -h 200 -w 400 DEF:data=test.rrd:AVERAGE LINE:data#FF0000");    

 « Return to Thread: C API?