unresolved external symbol when building on Windows

Поиск
Список
Период
Сортировка
От King of Hearts
Тема unresolved external symbol when building on Windows
Дата
Msg-id CAEN8pBpPaRYSJiBxb_uQ267r6-X5HNX6oiyoLY4=qt6f5SHfhg@mail.gmail.com
обсуждение исходный текст
Ответы Re: unresolved external symbol when building on Windows  (Andy Y <kingofhearts168@gmail.com>)
Список pgsql-general
I got a bunch of errors like below when building from source on Windows. My python version is 3.11. No change if I switch to 3.9. Would appreciate any pointer. -- Andy

"C:\Users\test\source\repos\postgresql\pgsql.sln" (default target) (1) ->
"C:\Users\test\source\repos\postgresql\plpython3.vcxproj" (default target) (74) ->(Link target) ->
  plpy_cursorobject.obj : error LNK2019: unresolved external symbol __imp__PyExc_StopIteration referenced in function _PLy_cursor_plan [C:\Users\test\source\repos\postgresql\plpython3.vcxproj]
...
  plpy_util.obj : error LNK2019: unresolved external symbol __imp__PyUnicode_FromStringAndSize referenced in function _PLyUnicode_FromString [C:\Users\test\source\repos\postgresql\plpython3.vcxproj]
  plpy_util.obj : error LNK2019: unresolved external symbol __imp__PyUnicode_FromString referenced in function _PLyUnicode_FromString [C:\Users\test\source\repos\postgresql\plpython3.vcxproj]
  plpy_util.obj : error LNK2019: unresolved external symbol __imp__PyUnicode_AsUTF8String referenced in function _PLyUnicode_Bytes [C:\Users\test\source\repos\postgresql\plpython3.vcxproj]
  .\Release\plpython3\plpython3.dll : fatal error LNK1120: 76 unresolved externals [C:\Users\test\source\repos\postgresql\plpython3.vcxproj]

В списке pgsql-general по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Multi-column index: Which column order
Следующее
От: Andy Y
Дата:
Сообщение: Re: unresolved external symbol when building on Windows