On Fri, 24 Apr 2020 at 18:32:06 +, PICCA Frederic-Emmanuel wrote:
> > If you want to embed python in an application, you need to use
> > python3-embed.pc
> > Or python3-config --embed
>
> then it links the program with -lpython3.8
>
> so what is the purpose of python3.pc ?
You use python3.p
> If you want to embed python in an application, you need to use
> python3-embed.pc
> Or python3-config --embed
then it links the program with -lpython3.8
so what is the purpose of python3.pc ?
thanks
Fred
Hi PICCA (2020.04.24_07:33:48_+)
> so it seems that the program is not linked with the Python3 library
>
> I use pkg-config to obtain the library
>
> picca@2a02-8420-6c55-6500-d012-4688-0bee-a0c6:~/hkl/contrib/haskell$
> pkg-config --libs python3
>
> picca@2a02-8420-6c55-6500-d012-4688-0bee
Hello , I am writing a program in haskell which use Python3
It failes with
Linking dist/build/binoculars/binoculars ...
src/Hkl/Python/Pyfi.hs:124 : erreur : référence à « Py_BuildValue » non définie
src/Hkl/Python/Pyfi.hs:199 : erreur : référence à « PyUnicode_AsUTF8 » non
définie
src/Hkl/Pytho
4 matches
Mail list logo