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"

Visual Studio take forever to compile

Visual studio take a long time to compile c++ code.

Here's my last compilation :

Added 1 member variable with a getter.

VS output :

 1>------ Début de la génération : Projet : MyGame, Configuration : Development_Editor x64 ------
 1>Compiling game modules for hot reload
 1>Parsing headers for MyGameEditor
 1>  Running UnrealHeaderTool "MyGame.uproject" "MyGameEditor.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
 1>Reflection code generated for MyGameEditor in 41.839031 seconds
 1>Performing 4 actions (2 in parallel)
 1>Module.MyGame.gen.cpp
 1>Module.MyGame.cpp
 1>[3/4] Link UE4Editor-MyGame-5481.dll
 1>[4/4] Link UE4Editor-MyGame-5481.lib
 1>   Création de la bibliothÞque UE4Editor-MyGame-5481.lib et de l'objet UE4Editor-MyGame-5481.exp
 1>   Création de la bibliothèque UE4Editor-MyGame-5481.suppressed.lib et de l'objet UE4Editor-MyGame-5481.suppressed.exp
 1>Deploying MyGameEditor Win64 Development...
 1>Total build time: 465.71 seconds (Local executor: 417.24 seconds)
 ========== Génération : 1 a réussi, 0 a échoué, 0 mis à jour, 0 a été ignoré ==========

Yes, 417 seconds.... ~6 minutes for 1 variable and 1 getter.

Here's my taskmanager while compiling. Proc is not used at all. Task manager

My computer stats :

Proc : Intel(R) Core(TM) i5-4210M 2.60GHz

RAM : 8 Go

OS : Windows 64bits

HDD : 7200 tr/min, 6 Gbits/s

What could cause this slow compile time ?

Thanks.

Product Version: UE 4.19
Tags:
taskmanager.png (56.3 kB)
more ▼

asked Jun 16 '18 at 03:59 PM in C++ Programming

avatar image

Amneri
131 3 5 14

(comments are locked)
10|2000 characters needed characters left

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