[metapost] First GUI application linking to MPLib?

Shriramana Sharma samjnaa at gmail.com
Sat Aug 11 00:40:05 CEST 2012


n Sat, Aug 11, 2012 at 3:19 AM, Troy Henderson <thenders at gmail.com> wrote:
>> But where do I get mplib.a from?  I ran
>>
>>   ./build.sh ; find . -name 'mplib.*'

Usually you can use:

find . -name "libmplib.a"

to find files from the terminal.

> ./build/texk/web2c/libmplib.a
>
> is the file that I installed into /usr/local/lib (and then ran
> ldconfig) in Gentoo.  The program compiled, but segfaulted when I
> applied it to a .mp file.

Sorry but I thought I explicitly said in my OP that this program only
now takes *hardcoded* drawing commands -- i.e. those that are within
the CPP. Obviously though, such a program shouldn't accept any
parameters, so that *is* a bug. Thanks for pointing that out.

-- 
Shriramana Sharma


More information about the metapost mailing list