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"

Why can't I make a C++ project?

My error message is below:

 The project could not be compiled. Would you like to open it in Visual Studio?
 
 Running C:/Program Files/Epic Games/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe Shoot Development Win64 -project="C:/Users/qingfeng/Documents/Unreal Projects/Shoot/Shoot.uproject" -rocket -editorrecompile -progress -noubtmakefiles
 InitD3DDevice
 Parsing headers for ShootEditor
 Reflection code generated for ShootEditor
 Performing 10 actions (2 in parallel)
 [2/10] Resource ModuleVersionResource.rc.inl
 C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file 'windows.h'.
 PCH.Shoot.h.cpp
 C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Core\Public\HAL\PlatformIncludes.h(5) : fatal error C1083: Cannot open include file: 'new': No such file or directory
 [3/10] Resource PCLaunch.rc
 C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\Launch\Resources\Windows\PCLaunch.rc(10) : fatal error RC1015: cannot open include file 'windows.h'.
 -------- End Detailed Actions Stats -----------------------------------------------------------
 ERROR: UBT ERROR: Failed to produce item: C:\Users\qingfeng\Documents\Unreal Projects\Shoot\Binaries\Win64\UE4Editor-Shoot.dll
 Total build time: 24.95 seconds

Sorry, this is my first time using Unreal Engine and I have looked at other questions but they have been unable to help me.

-Thanks!

Product Version: UE 4.8
Tags:
more ▼

asked Aug 25 '15 at 03:25 AM in Installation & Setup

avatar image

BoboFett42
1 1 1 2

avatar image cancel Aug 25 '15 at 06:05 AM

What version of Windows and Visual Studio are you using? Do you have the Windows 8.1 SDK installed?

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

3 answers: sort voted first

Hello, BoboFett42

I am sorry to hear about your problem.

It looks like your Visual Studio installation is broken.

Thus, please check whether Visual Studio's InstallDir property is correct (it should look something like this:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE).

Also, please make sure that environment variable Path is set correctly in your system (e.g. **C:\Windows\System32**).

Finally, you can try repairing/reinstalling Visual Studio. Please don't forget to reboot after installation.

Hope this helped!

Cheers!

more ▼

answered Aug 25 '15 at 11:59 AM

avatar image

Andrii Melnyk
1.9k 60 20 112

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

I can get up to C:\Program Files (x86)\Microsoft Visual Studio 12.0 but I have no Common7 or IDE. I have Visual Studio 2017 Community. Should it still work? By the way it also does not say 12.0 and the files I have next are 2017, Installer, or Shared. Help? I am currently working on a project and some assets are only on C++.

more ▼

answered Jun 20 '18 at 04:13 AM

avatar image

X-Lemone
1 2 2

avatar image X-Lemone Jun 20 '18 at 04:14 AM

This is not an answer

avatar image X-Lemone Jun 20 '18 at 04:28 AM

Should I download this?alt text

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

Make sure visual studio is installed on the same hard drive as unreal engine 4

more ▼

answered Jun 20 '18 at 08:54 PM

avatar image

alexb105
1

(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