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"

Cannot compile Engine from source with VS2017 if VS2013 is also installed

Simple as that. -2017 parameter does not seem to be passed in all cases (generally if i see "Generating makefile" in the output log, it means it has stopped caring for -2017, and will start using v12.0/cl.exe instead of the 14.1 toolkit. So if i regenerate all project files and clean all the stuff, i can get UHT to build if i just build that project, but as soon as i start to build UE4 it will do the generating makefile thing and ignore -2017, using vs2013 cl.exe which means that UHT wont build because of vs2013 not liking the TArray of TUniquePtr in UHT .cpp file.

I would be ok if i could build with either 2017 or 2013, but UE4 does not want to cooperate, also where is the post formally announcing deprecation of vs2013 ? Because i cant find it anywhere

Product Version: UE 4.15
more ▼

asked Mar 17 '17 at 02:38 AM in C++ Programming

avatar image

188 24 31 145

avatar image rajkosto Mar 18 '17 at 05:20 PM

A workaround to get it compiling NOW is to change the order in UEBuildWindows.cs function GetDefaultCompiler after the comment // Second, default based on what's installed, test for 2015 first

of course, for proper usage, it REALLY SHOULD pass the -2017 flag properly to the makefile generator or whatever is ignoring it right now and just using the default order.

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

0 answers: sort voted first
Be the first one to answer this question
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