Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I build from within inside of CLion like in case of XCode #29

Open
AbhimanyuAryan opened this Issue Nov 11, 2016 · 16 comments

Comments

Projects
None yet
5 participants
@AbhimanyuAryan
Copy link

AbhimanyuAryan commented Nov 11, 2016

I see there are errors. Also I can't seem to configure the build settings. Please suggest what should I apply

screen shot 2016-11-12 at 1 28 26 am

screen shot 2016-11-12 at 1 28 34 am

screen shot 2016-11-12 at 1 28 44 am

screen shot 2016-11-12 at 1 28 55 am

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 12, 2016

You need to run this command to update the CMakeLists.txt
./GenerateProjectFiles.sh -project="Path/To/Project/ProjectName/ProjectName.uproject" -game -engine

@AbhimanyuAryan

This comment has been minimized.

Copy link
Author

AbhimanyuAryan commented Nov 12, 2016

@Zerophase where should I run this command? In Game Project Folder i.e. DarkRoom or the Plugins/CLionSourceCodeAccess/ folder?

screen shot 2016-11-12 at 9 27 17 am

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 12, 2016

It's in the engine folder.

@AbhimanyuAryan

This comment has been minimized.

Copy link
Author

AbhimanyuAryan commented Nov 12, 2016

@Zerophase can't find any folder with name Engine. Can you please tell me where to navigate for engine folder?

screen shot 2016-11-12 at 12 59 23 pm

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 12, 2016

It's wherever you installed the engine to.

@AbhimanyuAryan

This comment has been minimized.

Copy link
Author

AbhimanyuAryan commented Nov 12, 2016

here? Inside "Engine Folder"? But, there ain't any .sh executable here

screen shot 2016-11-12 at 3 20 44 pm

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 12, 2016

Is this a source install?

@AbhimanyuAryan

This comment has been minimized.

Copy link
Author

AbhimanyuAryan commented Nov 12, 2016

@Zerophase no I have installed on Mac. It's EpicGames.app

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 12, 2016

Just search the UE4 folder hierarchy for GenerateProjectFiles.

@AbhimanyuAryan

This comment has been minimized.

Copy link
Author

AbhimanyuAryan commented Nov 12, 2016

can you make .gif or small video on how to fix that? @Zerophase

It will be easy for me to understand

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 12, 2016

You don't know how to use locate or the file search?

@AbhimanyuAryan

This comment has been minimized.

Copy link
Author

AbhimanyuAryan commented Nov 13, 2016

I'm not able to understand which file. "UE" doesn't show in my project

@Zerophase

This comment has been minimized.

Copy link

Zerophase commented Nov 16, 2016

Whatever folder the engine is installed in do a search in that folders hierarchy for GenerateProjectFiles.

I've only worked with the source code version of Unreal, so I have no idea if the binary distribution works the same.

@filipeuva

This comment has been minimized.

Copy link

filipeuva commented Nov 24, 2016

Hi, It isn't there, it's only on the source code : https://github.com/EpicGames/UnrealEngine/blob/release/GenerateProjectFiles.bat

On distribution ( at least for Win) they let you right click an .uproject and generate Visual Studio project files.

I fixed that by manually filling CLion's configuration (dunno how correct it is) :
configuration problem3

This will let you build, but I can't debug the game though as probably I don't have debug symbols built.

If you just want to build the game project then copy to your UE4Editor.sh location I guess

@ForsakenHarmony

This comment has been minimized.

Copy link

ForsakenHarmony commented Mar 21, 2017

you should be able to select the executable from the dropdown

@khtang

This comment has been minimized.

Copy link

khtang commented Feb 24, 2018

Just for the sake of improving search results, a quick FYI that all the Unreal Engine goodies are installed under /Users/Shared/Epic Games/UE_{version}/... on a Mac. You can find the aforementioned build scripts in the Engine/Build/BatchFiles folder inside. Stop looking at the "/Applications/Epic Games Launcher.app".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.