Announcement

Collapse
No announcement yet.

创建c++项目失败,蓝图没问题

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    创建c++项目失败,蓝图没问题

    The project could not be compiled. Would you like to open it in Visual Studio?

    Running E:/ue4/UnrealEngine4.7.6/Epic Games/4.8/Engine/Binaries/DotNET/UnrealBuildTool.exe lo Development Win64 -project="D:/Documents/Unreal Projects/lo/lo.uproject" -rocket -editorrecompile -progress -noubtmakefiles
    InitD3DDevice
    Parsing headers for loEditor
    Reflection code generated for loEditor
    Performing 7 actions (2 in parallel)
    [2/7] Resource ModuleVersionResource.rc.inl
    PCH.lo.h.cpp
    E:\ue4\UnrealEngine4.7.6\Epic Games\4.8\Engine\Source\Runtime\Core\Resources\Windows\ModuleVersionResource.rc.inl(3) : fatal error RC1015: cannot open include file 'windows.h'.
    E:\ue4\UnrealEngine4.7.6\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/7] Resource PCLaunch.rc
    E:\ue4\UnrealEngine4.7.6\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: D:\Documents\Unreal Projects\lo\Binaries\Win64\UE4Editor-lo.dll
    Total build time: 26.00 seconds

    #2
    这里的错误提示是没有打开windows.h 头文件
    你这里的是launcher 下载的UE4还是自己源代码编译的呢?
    自己编译的是否完整编译过了呢? 这个方面可以先查看一下子
    Listening take the world

    Comment

    Working...
    X