-
-
Notifications
You must be signed in to change notification settings - Fork 24.6k
Open
Description
Tested versions
4.6.1-stable
System information
Godot v4.6.1.stable - Windows 10 (build 19045) - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6636) - AMD Ryzen 7 5700G with Radeon Graphics (16 threads)
Issue description
tried to compile export templates for my game to reduce binary size
Steps to reproduce
- setup 4.6 branch
git clone https://github.com/godotengine/godot.git
cd godot
git checkout 4.6.1-stable- build template (copy custom.py in parent dir)
scons platform=windows profile=../custom.py- wait
- find compile error: (excuse native language)
.\core/templates/self_list.h(123): error C2327: "SelfList<CellData>::_self": Ist kein Typname, nicht statisch und kein Enumerator
.\core/templates/self_list.h(123): note: Siehe Deklaration von "SelfList<CellData>::_self"
.\core/templates/self_list.h(123): note: der Vorlageninstanziierungskontext (der �lteste zuerst) ist
scene\2d\tile_map_layer.cpp(308): note: Siehe Verweis auf die gerade kompilierte Instanziierung "void SelfList<CellData>::List::sort_custom<CellDataYSortedXReversedComparator>(void)" der Funktions-Vorlage.
scene\2d\tile_map_layer.cpp(308): note: Ersten Verweis auf "SelfList<CellData>::List::sort_custom" in "TileMapLayer::_rendering_update" anzeigen
.\core/templates/self_list.h(123): error C2327: "SelfList<CellData>::_prev": Ist kein Typname, nicht statisch und kein Enumerator
.\core/templates/self_list.h(123): note: Siehe Deklaration von "SelfList<CellData>::_prev"
.\core/templates/self_list.h(123): error C2327: "SelfList<CellData>::_next": Ist kein Typname, nicht statisch und kein Enumerator
.\core/templates/self_list.h(123): note: Siehe Deklaration von "SelfList<CellData>::_next"
�[34mCompiling �[1mscene\2d\physics\static_body_2d.cpp�[22;23;24;29m ...�[0m
scons: *** [bin\obj\scene\2d\tile_map_layer.windows.template_release.x86_64.obj] Error 2
scons: building terminated because of errors.
�[90m�[1mINFO:�[22;23;24;29m Time elapsed: 00:02:52.91�[0mMinimal reproduction project (MRP)
see steps to reproduce. I dont upload the godot source code here
Reactions are currently unavailable