[metapost] mpost interactive prompt
Nicola
nvitacolonna at gmail.com
Fri Nov 25 12:43:14 CET 2016
On 25/11/2016 11:49, luigi scarso wrote:
> On Fri, Nov 25, 2016 at 11:16 AM, Nicola <nvitacolonna at gmail.com> wrote:
>> On 25/11/2016 10:36, Nicola wrote:
>>
>>> gcc-6 -L./1.9991/build/texk/web2c -L./1.9991/build/libs/pixman -lgmp
>>> \ -lmplib -lcairo -lpng -lmpfr -lmputil -lz -lpixman -I./1.9991/buil
>>> \ /texk/web2c/ main.c
>>
>>
>> Sorry, the command got garbled. This is it:
>>
>> gcc-6 -L./1.9991/build/texk/web2c -L./1.9991/build/libs/pixman \
>> -lgmp -lmplib -lcairo -lpng -lmpfr -lmputil -lz -lpixman \
>> -I./1.9991/build/texk/web2c/ main.c
>
>
> gcc -I./build/texk/web2c/ -L./build/texk/web2c -L./build/libs/pixman
> main.c build/texk/web2c/libmplib.a build/texk/web2c/libmputil.a
> build/libs/libpng/libpng.a build/texk/kpathsea/.libs/libkpathsea.a -o
> main -lgmp -lcairo -lmpfr -lz -lpixman -lm
Ah ok, libkpathsea was hidden. Thanks, that got me up and running.
Now, I have to figure out why it doesn't find a plain mem file. I have
added:
opt->ini_version = 0;
opt->mem_name = "plain";
but it says "I can't find the 'plain' preload file!". Do I just need to
dig more into the documentation?
Nicola
More information about the metapost
mailing list