x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 Project not building

I have been trying to build a UE4 project all day long I don't seem to be getting anywhere. Upon opening the .uproject file, I get the following prompt :

alt text

When I click yes, the build fails and I get this message:

alt text

I have tried building from source and what not, but nothing seems to help. When I try to open the visual studio solution file and building from there, I'm getting a couple of C1083 errors which say "No such file or directory", and lists a few file names. I have however verified those file names to be present in the directory. Any help or a nudge in the right direction will be greatly appreciated.

PS - The project was built in UE 4.16 or 4.16.2. The only version in the 4.16 family available from the EpicGames Launcher is 4.16.3. I tried running it on 4.16.3, and I got the same errors. I then downloaded the engine source files from the EpicGames GitHub repo for version 4.16, built it from that, tried running the project on this built-from-source-version of the engine, and it still didn't run.

Product Version: UE 4.16
Tags:
prompt.png (5.6 kB)
error.png (3.1 kB)
more ▼

asked Jan 13 '18 at 03:21 AM in Everything Else

avatar image

hussainAbis
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

That message indicates your project has C++ modules in it which needs to be recompiled. There should be a Source directory in your project's home folder and you should be able to right click on the .uproject file and click on Generate Visual Studio project files to obtain a .sln file you can open in Visual Studio and Build.

If the source files are missing, you can still open the project by removing the dependency on those C++ modules, but very likely you won't be able to run it if they are necessary.

For that you can manually edit the .uproject file and delete the section which looks like this (make sure you don't break the syntax of the .uproject file; to play safe make a backup copy of it before editing):

 "Modules": [
         {
             "Name": "PaintGame",
             "Type": "Runtime",
             "LoadingPhase": "Default",
             "AdditionalDependencies": [
                 "Engine"
             ]
         }
     ], 

more ▼

answered Jan 13 '18 at 11:03 AM

avatar image

vr_marco
1.4k 7 3 7

avatar image hussainAbis 3 hours ago

This didn't work for me, mainly because my .uproject file already looked like this, without any additional dependencies, I mean. I had to assume there was something wrong with the cloning process from github, because when I chose to simply download the project as a zip folder, the project ran just fine. Thank you for your time though, I'm sure this will help others.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question