Dear all,
Currently, I want to call python from C code and I have read manual but I can’t find the python libray.
My command is
gcc -g embed.c -IC:/msys64/mingw64/include/python3.11 -LC:/msys64/mingw64/lib/python3.11/config-11 -lpython
But the linker shows
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython: No such file or directory
collect2.exe: error: ld returned 1 exit status
Do anyone have any sugestion?
Many thanks!