0 votes

I'm currently getting a termination error when building an os_unix file:

drivers/unix/osunixglobalsettingspath.gen.cpp:3:44: error: no 'String OSUnix::getglobalsettingspath() const' member function declared in class 'OS_Unix'

Funny thing is, this only happens on my git fork - building from a cloned godot git works just fine. And I just hard-resetted my fork to the upstream master, so supposedly it should be the same. I guess I'm missing a configuration file, but I have no idea what to do besides deleting my fork, creating another fork from the main git and doing it again.

Also, I already build-cleaned it using "scons platform=x11 -c", but building after that didn't work either.

Is there a "correct" way to update to upstream/master without breaking the fork? Or is that a configuration file that I'm really missing?

in Engine by (304 points)

1 Answer

0 votes
Best answer

The problem solution: https://github.com/godotengine/godot/issues/13076

Deleting the file (rm -f drivers/unix/os_unix_global_settings_path*) solves the issue just fine. I guess what happened was that the file was generated before I updated the git repo to upstream.

by (304 points)
selected by

Just for future reference: I didn't test it, but running git clean -xdf should clean your repository from all non-versioned files.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.