godot: Embree fails building on OpenBSD 7.0

Godot version

dd3acd74bbd0c682f489693e31961aba54bde10a

System information

OpenBSD 7.0, OpenBSD clang version 11.1.0

Issue description

I am trying to build Godot on OpenBSD 7.0. I followed this guide* https://docs.godotengine.org/en/stable/development/compiling/compiling_for_x11.html (*the guide says I should install scons with pkg_add but that doesn’t work becuase the python version that is used with it is 2.7 and godot uses type anotations which are not supported by python2.7 so I used pip install scons). when I run scons platform=linuxbsd -j2 use_llvm=yes I get the follwing error:

thirdparty/embree/common/sys/sysinfo.cpp:630:5: error: unknown type name 'cpu_set_t'
    cpu_set_t set;
    ^
1 error generated.
scons: *** [thirdparty/embree/common/sys/sysinfo.x11.tools.64.o] Error 1
scons: building terminated because of errors.
[Time elapsed: 00:08:05.616]

Steps to reproduce

doas pkg_add llvm python3
pip install scons # python version 3.8.12
git clone https://github.com/godotengine/godot.git -b 3.x
cd godot
scons platform=linuxbsd -j2 use_llvm=yes

Minimal reproduction project

No response

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

what GUI does Godot use for UI components

Godot uses its own UI system – it does not rely on an existing UI toolkit.

is it possible to extend them with new components (i.e. calendar)?

Yes, it’s possible to create your own instanced scenes with custom behavior to act as a calendar.

Does it have access to local data store?

Yes, the File class can be used to read/write files to user:// (which is automatically mapped to IndexedDB on HTML5). You can also use the JavaScript singleton to call JavaScript code, which allows for using LocalStorage.

Will everything work on BSD in the future?

Yes, as long as contributors remain interested to test it and fix porting issues 🙂

Indeed, that worked to bypass the Embree build issue. Now you have a build issue for webm/libvpx, which you can also disable with module_webm_enabled=no.