Pelles C forum

C language => Windows questions => Topic started by: vdijken on March 21, 2008, 10:24:33 PM

Title: DISLIN (or other plot library)
Post by: vdijken on March 21, 2008, 10:24:33 PM
Hello all,

I like to use the DISLIN plot library (http://www.mps.mpg.de/dislin/). They manage to make libraries for all kinds of C and Fortran compilers, but not for Pelles C. I did not mange to link one of those versions to Pelles C. Is there a work-around or is it just bad luck that it won't work? Or does someone know a comparable library which I can either compile myself or is linkable to Pelles C code by polink?

Evert.
Title: Re: DISLIN (or other plot library)
Post by: Pelle on March 21, 2008, 11:26:30 PM
I tried the 32-bit "MS Visual C++ 4.x, 5.x, 6.x" version, and that worked. I created a console project (for examples/exe_c.c), and added dislnc.lib to linker libraries. You should add a path to \DISLIN for include files, and a path to \DISLIN\WIN for executable files for a successful build/run. I don't know/care much for dislin myself, but the app started and produced a plot at least...