touilleMan / godot-python

Python support for Godot ๐Ÿ๐Ÿ๐Ÿ
Other
1.87k stars 142 forks source link

[Godot4] Fix Windows CI #359

Closed touilleMan closed 1 year ago

touilleMan commented 2 years ago

https://github.com/touilleMan/godot-python/runs/7530573514?check_suite_focus=true#step:7:199

Run meson compile -C build/
ninja: Entering directory `D:/a/godot-python/godot-python/build'
[1/16] Generating src/godot/_builtins.pyi with a custom command
[2/16] Generating src/godot/_builtins.pyx with a custom command
[3/16] Generating src/godot#_hazmat#gdnative_interface.pxd with a custom command
[4/16] Generating src/godot/_hazmat/gdnative_interface.pxd with a custom command
[5/16] Generating src/godot#_builtins.pxd with a custom command
[6/16] Generating src/godot/_builtins.pxd with a custom command
[7/16] Generating src/_pythonscript.c & _pythonscript.h & _pythonscript_api.h} with a custom command
[8/16] Generating release_readme with a custom command (wrapped by meson because command contains newlines)
[9/16] Compiling C object src/pythonscript.dll.p/pythonscript.c.obj
[10/16] Compiling C object src/_pythonscript.pyd.p/meson-generated_..__pythonscript.c.obj
[11/16] Linking target src/_pythonscript.pyd
   Creating library src\_pythonscript.lib and object src\_pythonscript.exp
[12/16] Generating symbol file src/_pythonscript.pyd.p/_pythonscript.pyd.symbols
[13/16] Linking target src/pythonscript.dll
   Creating library src\pythonscript.lib and object src\pythonscript.exp
[14/16] Generating src/godot/_builtins.c with a custom command
[15/16] Compiling C object src/godot/_builtins.pyd.p/meson-generated_..__builtins.c.obj
[16/16] Linking target src/godot/_builtins.pyd
FAILED: src/godot/_builtins.pyd src/godot/_builtins.pdb 
"link"  /MACHINE:x64 /OUT:src/godot/_builtins.pyd src/godot/_builtins.pyd.p/meson-generated_..__builtins.c.obj "/nologo" "/release" "/nologo" "/DEBUG" "/PDB:src\godot\_builtins.pdb" "/DLL" "/IMPLIB:src\godot\_builtins.lib" "src\_pythonscript.lib" "D:/a/godot-python/godot-python/build/python_prebuild-3.9.7-windows-x86_64/python/install/libs/python39.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "comdlg32.lib" "advapi32.lib"
   Creating library src\godot\_builtins.lib and object src\godot\_builtins.exp
meson-generated_..__builtins.c.obj : error LNK2019: unresolved external symbol __imp_pythonscript_gdapi referenced in function __pyx_pw_9_builtins_16PackedColorArray_3__dealloc__
src\godot\_builtins.pyd : fatal error LNK1120: 1 unresolved externals
ninja: build stopped: subcommand failed.
touilleMan commented 1 year ago

done.