Re: mpost interactive prompt

Nicola <[email protected]>
Newsgroups gmane.comp.tex.metapost
Message-ID <[email protected]>
On 25/11/2016 11:49, luigi scarso wrote:
> On Fri, Nov 25, 2016 at 11:16 AM, Nicola <[email protected]> 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


--
http://tug.org/metapost/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.