Monday, May 27, 2024

Error building Vim

Hello,

I'm trying to set up a new Windows 11 laptop and have followed the steps in INSTALLpc.txt after getting the latest Vim repository from git. When I try to compile with Python support, I get the following error and compilation stops. I'm hoping someone can tell me what to do about this.

if_python.c:66:10: fatal error: Python.h: No such file or directory
   66 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.

My command-line (executed from inside vim/src):

mingw32-make -f Make_ming.mak -j$NUMBER_OF_PROCESSORS GUI=yes FEATURES=HUGE PYTHON3=c:/Python312 PYTHON3_VER=312 PYTHON=c:/Python27 PYTHON_VER=27 DYNAMIC_PYTHON=yes STATIC_STDCPLUS=yes DIRECTX=yes

I've tried changing 'mingw32-make' to just 'make' and still get the same error. Running it with 'clean' instead of all the other parameters works as expected.

I would appreciate any help here, please.

Thank you and best regards,

--
 
Salman

I, too, shall something make and glory in the making.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANuxnEdHmE60wbQa95f8puM%2BmmZrFWvDdOmuV-i_u8bssNjQ0A%40mail.gmail.com.

No comments:

Post a Comment