Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

https://wiki.unrealengine.com/Building_On_Linux

When I run ./GenerateProjectFiles.sh I get this:

Github build Checking / downloading the latest archives

Please set OAUTH_TOKEN You can generate an access token at https://github.com/settings/tokens/new It must have repo scope

I have the token, how do I "set" it?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This is actually something that's not specific to Unreal Engine 4. OAuth is an authorization token so you don't need to log in with credentials. You first need to generate this token using your credentials. As your error message shows, you need to set your token. Before you set the token, you need to generate it. You do that at the link provided in your error.

Now that you have a token, you need to set it. As stated in the instructions found in your first link:

Create a new personal access token here: https://github.com/settings/tokens/new and set OAUTH_TOKEN environment variable to it.

Information for setting an environmental variable can be found here. Basically:

OAUTH_TOKEN=pathToToken
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.