Package Details: godot2 2.1.6-1

Git Clone URL: https://aur.archlinux.org/godot2.git (read-only, click to copy)
Package Base: godot2
Description: An advanced, feature packed, multi-platform 2D and 3D game engine. Legacy version.
Upstream URL: http://www.godotengine.org
Keywords: 2d 3d engine game
Licenses: MIT
Submitter: editicalu
Maintainer: None
Last Packager: editicalu
Votes: 4
Popularity: 0.000000
First Submitted: 2018-02-01 09:19 (UTC)
Last Updated: 2019-07-15 17:14 (UTC)

Latest Comments

FabioLolix commented on 2024-07-30 20:02 (UTC)

Hello, this fails to build with:

In file included from :In file included from 3935core/vector.hIn file included from core/list.h39core/list.h::
:core/list.h::: 39:33 33core/safe_refcount.h::
33:
:
error: 39In file included from :
In file included from In file included from :core/os/memory.hIn file included from core/os/memory.herror: core/os/memory.h39:core/os/memory.h::ISO C++17 does not allow 'register' storage class specifier [-Wregister]:35:3535 :
35:
ISO C++17 does not allow 'register' storage class specifier [-Wregister]:

:
core/safe_refcount.hcore/safe_refcount.hcore/safe_refcount.h:
[Initial build] :39::39: 39:: error: 3939:ISO C++17 does not allow 'register' storage class specifier [-Wregister]:error:   ISO C++17 does not allow 'register' storage class specifier [-Wregister]

ISO C++17 does not allow 'register' storage class specifier [-Wregister]error: error: 
ISO C++17 does not allow 'register' storage class specifier [-Wregister]ISO C++17 does not allow 'register' storage class specifier [-Wregister]
...

and at least a makedepends on python-distutils is missing

==> Starting build()...
scons: Reading SConscript files ...
ModuleNotFoundError: No module named 'distutils':
  File "/build/godot2/src/godot-2.1.6-stable/SConstruct", line 33:
    import detect
  File "/build/godot2/src/godot-2.1.6-stable/platform/android/detect.py", line 5:
    from distutils.version import LooseVersion
==> ERROR: A failure occurred in build().

dude commented on 2018-11-09 01:53 (UTC)

Got this error when compiling in a chroot where extra/glu was not installed:

Compiling ==> platform/x11/crash_handler_x11.cpp
In file included from platform/x11/os_x11.cpp:31:
In file included from ./drivers/gles2/rasterizer_gles2.h:52:
thirdparty/glew/GL/glew.h:1202:14: fatal error: 'GL/glu.h' file not found
#    include <GL/glu.h>
             ^~~~~~~~~~

The glu package should be included in the list of dependencies (or makedepends at least).

Tabsc commented on 2018-05-01 13:30 (UTC)

Added to following line to the scons command solved this issue:

CCFLAGS="-Wno-c++11-narrowing" \

laegnur commented on 2018-04-25 17:45 (UTC) (edited on 2018-04-25 17:47 (UTC) by laegnur)

Hello.

I got this error when installing

...
[Initial build] Compiling ==> main/main.cpp
[Initial build] Compiling ==> main/tests/test_gui.cpp
platform/x11/os_x11.cpp:1246:37: error: non-constant-expression cannot be narrowed from type 'unsigned long' to 'int' in initializer list [-Wc++11-narrowing]
        Property p = { ret, actual_format, nitems, actual_type };
                                           ^~~~~~
platform/x11/os_x11.cpp:1246:37: note: insert an explicit cast to silence this issue
        Property p = { ret, actual_format, nitems, actual_type };
                                           ^~~~~~
                                           static_cast<int>( )
[Initial build] Compiling ==> thirdparty/libwebp/dec/io_dec.c
[Initial build] Compiling ==> thirdparty/libwebp/dec/quant_dec.c
[Initial build] Compiling ==> thirdparty/libwebp/dec/tree_dec.c
1 error generated.
scons: *** [platform/x11/os_x11.x11.opt.tools.64.llvm.o] Error 1
scons: building terminated because of errors.
==> Erro: Produciuse un erro en «build()».
    Interrompendo…
==> ERROR: Makepkg was unable to build godot2.</int>

gfurst commented on 2018-02-02 00:28 (UTC)

good setup, trying to build right now, have you though about getting the source from git tag instead of using the stable? (they may have some fixes before another stable comes along)