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"

"the project could not be compiled" error with UE 4.10.1 but not with 4.11.0

Hi,

so I'm doing a tutorial but everytime I want to create a C++ project I get this error message: alt text

I've got Win7, UE 4.10.1 and VS 2015. Previously I had VS 2013 installed but I uninstalled it before installing 2015. The strange is that when I try the same thing with UE 4.11.0 preview version everything works. I already did a bit of troubleshooting of which I appended the screenshots. I'm grateful forr any help and please tell me if I forgot any info.

alt text alt text alt text

Product Version: UE 4.10
Tags:
error.png (73.6 kB)
1.png (194.5 kB)
2.png (183.4 kB)
3.png (74.7 kB)
more ▼

asked Jan 05 '16 at 01:51 AM in C++ Programming

avatar image

Carkoon
21 1 1 3

avatar image Matthew J Jan 05 '16 at 03:13 PM

Hello Carkoon,

It seems like David walked you through most of our basic troubleshooting steps in this situation. Another thing I could think of as a possibility would be that there may be issues related to your windows username / folder names. Be sure that your username / project name or any other folder names don't contain any special characters. UBT (Unreal Build Tool) doesn't work well with these. Special characters can include anything that isn't alphanumeric, such as @ or %. Some German characters or characters specific to other other languages such as ß can also be considered special characters.

avatar image Carkoon Jan 05 '16 at 05:59 PM

My username doesn't contain special characters and as far as I can tell neither the folders UE uses. Could there be some folders that are not obvious to check? But if that would be the problem should the error occur in Ue 4.11.0, too?

avatar image Matthew J Jan 05 '16 at 06:37 PM

It most likely would, but it is best to rule out any possibilities. Something I noticed that was never clarified, are you getting your build of the engine from the Epic Games Launcher or building it from source that you got from Github?

avatar image Carkoon Jan 05 '16 at 07:46 PM

I got every build from the Launcher.

avatar image Matthew J Jan 05 '16 at 08:16 PM

Thank you for that. To ensure that you are removing everything relating to the engine when you go to reinstall, have you tried using the 'Remove' feature inside of the Launcher and then navigating to Users*usernamehere*\AppData\Local\UnrealEngine and clearing out the files relating to that version there? If you cannot find the AppData folder, you can have it appear by opening the Run command from Windows' Start Menu and typing in %appdata%

avatar image Carkoon Jan 05 '16 at 11:44 PM

I hadn't tried deleting the folder in AppData. But sadly that didn't work either and resulted in the same error.

I hadn't tried deleting the folder in AppData. But sadly that didn't work either and resulted in the same error.

Edit:

After one reinstall I had this error: alt text

It says "Installation failed ... Make sure your OS is up to date." but after verifying the UE4 installation it didn't reappear.

error.png (83.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Hi, sorry that I'm only answering now. It's still the same (not working on 4.10.4) but I didn't get to try trying your suggestion. For now I'm just using the preview version of 4.11 until the final version gets released. I'm still at the beginning of learning Unreal and C++. I'm pretty sure that by the time I'll need an reliable version 4.11 will be out.

But still thank you very much for all the help!

more ▼

answered Mar 06 '16 at 05:50 PM

avatar image

Carkoon
21 1 1 3

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

It seems that you're using Visual Studio 2015 Update 1. I was unaware until a few moments ago but Update 1 is not supported for 4.10.1. You should be able to compile without an issue if you remove this update. I don't have experience uninstalling these updates so there may be a way to uninstall just the update, but if not you may need to reinstall VS2015 completely and refrain from applying the update.

more ▼

answered Jan 06 '16 at 01:58 PM

avatar image Carkoon Jan 06 '16 at 10:15 PM

Weird, the instructor of the course uses VS 2015 with Update 1.

I'll still try it though.

avatar image dkloving Jan 06 '16 at 10:57 PM

David here... that's really interesting to know! Thanks Matthew for uncovering this for us.

(And to be clear: I'm not the instructor, just trying to lend a hand where I can.)

avatar image Carkoon Feb 04 '16 at 07:27 PM

So I finally got around to try and install VS 2015 without the Update (the ISO version from the website) but it's still the same error. Anything else I could try? The engine version is now 4.10.2 though.

avatar image Matthew J Feb 04 '16 at 07:40 PM

Hello Carkoon,

I'm sorry to hear that you're still having these issues. I have found something else to test in the meantime since we last spoke however. To make sure, the error you're still having is the one in the first image in your original post correct? If so, follow the steps at the following link about Environment Variables to make sure that your Environment Variables are set up correctly in Windows.

https://wiki.unrealengine.com/Common_code_issues#RC1015

avatar image Carkoon Feb 05 '16 at 02:59 AM

To be safe here's a new screenshot: alt text

As far as I can tell the Environment Variables seem to be OK. alt text alt text

Could it be a problem that there are leftover variables from older versions? Or that the Windows Kit has version 8.1 (there's also a folder "10")?

error.png (71.2 kB)
syv.png (6.8 kB)
path.png (4.9 kB)
avatar image Matthew J Feb 08 '16 at 08:11 PM

I've never seen this be an issue, but it could possibly be due to your 110, 120, and 140 COMNTOOLS being on separate drives. Would it be possible to reinstall them on the same drive? Preferably the E:\ drive if Visual Studio 2013 was working correctly for you in the past.

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

We haven't heard from you in a while, Carkoon. Are you still experiencing this issue? If so, have you been able to try the possible fix in my previous comment? Please let me know the results of this change. In the meantime I'll be marking this issue as resolved.

more ▼

answered Feb 16 '16 at 02:55 PM

(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