Announcement

Collapse
No announcement yet.

Can't seem to figure out errors when trying to build from source

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

    Can't seem to figure out errors when trying to build from source

    I followed the video tutorial on downloading the unreal source code. Downloaded the zip files, cloned the repo, added the zip files, ran the bat file, opened the project and chose to bulid UE4 and got these errors.

    Code:
    Error	1	error C1083: Cannot open include file: 'tbb/scalable_allocator.h': No such file or directory	D:\DATA\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Private\HAL\MallocTBB.cpp	25	1	UE4
        Error	2	error C1083: Cannot open include file: 'unicode/locid.h': No such file or directory	D:\DATA\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMisc.cpp	21	1	UE4
        Error	3	error C1083: Cannot open include file: 'ThirdParty/zlib/zlib-1.2.5/Inc/zlib.h': No such file or directory	D:\DATA\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Private\Misc\Compression.cpp	13	1	UE4
        Error	4	error : Failed to produce item: D:\DATA\GitHub\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll	D:\DATA\GitHub\UnrealEngine\Engine\Intermediate\ProjectFiles\ERROR	UE4
        Error	5	error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets	38	5	UE4
        
    
        1>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
        1>  Building UnrealHeaderTool...
        1>  Performing 8 actions (max 4 parallel jobs)
        1>  Module.Core.2_of_8.cpp
        1>  Module.Core.1_of_8.cpp
        1>  Module.Core.3_of_8.cpp
        1>D:\DATA\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Private\HAL\MallocTBB.cpp(25): fatal error C1083: Cannot open include file: 'tbb/scalable_allocator.h': No such file or directory
        1>D:\DATA\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMisc.cpp(21): fatal error C1083: Cannot open include file: 'unicode/locid.h': No such file or directory
        1>D:\DATA\GitHub\UnrealEngine\Engine\Source\Runtime\Core\Private\Misc\Compression.cpp(13): fatal error C1083: Cannot open include file: 'ThirdParty/zlib/zlib-1.2.5/Inc/zlib.h': No such file or directory
        1>  -------- End Detailed Actions Stats -----------------------------------------------------------
        1>ERROR : UBT error : Failed to produce item: D:\DATA\GitHub\UnrealEngine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll
        1>  Cumulative action seconds (8 processors): 0.00 building projects, 2.26 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
        1>  UBT execution time: 7.94 seconds
        1>  UnrealHeaderTool failed for target 'UE4Editor' (platform: Win64, module info: D:\DATA\GitHub\UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\UnrealHeaderTool.manifest).
        1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development" exited with code -1.
        ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
    This is with a clean install of Visual Studio 2013 express.

    #2
    Did you download the Required zip files (2 of them) and unzip them in the source folder? Check that you have an Engine/Source/ThirdParty folder, if you don't then you need to get required zip files.

    Comment


      #3
      I have unziped the two required zip files into the source folder. I have the Engine/Source/ThirdParty folder.

      Comment


        #4
        D:\DATA\GitHub\UnrealEngine\Engine\Source\ThirdParty\IntelTBB\IntelTBB-4.0\include\tbb\scalable_allocator.h
        Like that?
        Twitter | MinimalUI UE4 Editor Theme
        Dark Themes for: Forum | AnswerHub | Everything else

        Comment


          #5
          Seems the "include" folder in IntelTBB-4.0 is missing for some reason. It's not in the downloaded zip files.
          Last edited by Zexanima; 07-07-2014, 01:50 AM.

          Comment


            #6
            Why might I be missing these?

            Comment


              #7
              Same problem here with latest 4.3 source including the 2 zip files that are holding the dependencies

              \UnrealEngine\Engine\Source\Runtime\Core\Private\Misc\Compression.cpp(13): fatal error C1083: Cannot open include file: 'ThirdParty/zlib/zlib-1.2.5/Inc/zlib.h': No such file or directory
              While the directory indeed doesn't hold those files. The whole directory structure looks different
              on hy HDD it has

              \UnrealEngine\Engine\Source\ThirdParty\zlib\zlib-1.2.5\Lib
              and not
              ThirdParty/zlib/zlib-1.2.5/Inc
              Last edited by KillerSneak; 07-07-2014, 03:45 PM.
              Do Not Argue Toxic Game
              Balloony PoP get it on Google Play
              Fishy Blub Blub
              get it on Google Play

              Comment


                #8
                The headers for those libraries are in the Git repo itself, not in the zip files.

                https://github.com/EpicGames/UnrealE....0/include/tbb
                https://github.com/EpicGames/UnrealE...zlib-1.2.5/Inc

                Is it possible that your .gitignore file is set to ignore those folders, perhaps? We moved the ThirdParty source code out of the zips to make it easier to track them using source control.

                Comment


                  #9
                  Originally posted by Ben Marsh View Post
                  The headers for those libraries are in the Git repo itself, not in the zip files.

                  https://github.com/EpicGames/UnrealE....0/include/tbb
                  https://github.com/EpicGames/UnrealE...zlib-1.2.5/Inc

                  Is it possible that your .gitignore file is set to ignore those folders, perhaps? We moved the ThirdParty source code out of the zips to make it easier to track them using source control.
                  Ill have a look at that once I get home again. Downloading the source from 4.3 in the zip files worked flawless.
                  Do Not Argue Toxic Game
                  Balloony PoP get it on Google Play
                  Fishy Blub Blub
                  get it on Google Play

                  Comment


                    #10
                    I have the same problem.
                    Easy weapons in Unreal Engine 4:
                    Check out Realistic Blueprint Weapons

                    Currently doing a tutorial series on Vectors and what they are good for.
                    Please visit Unreal Unscripted

                    Comment


                      #11
                      The files are downloaded from GitHub just fine.
                      They are however not included in the solution it seems.

                      And VS2013 Express craps out when you click "View all files". It just makes a long list of all the files in the project, it doesn't show excluded files and folders.

                      Where do we go from here?
                      Easy weapons in Unreal Engine 4:
                      Check out Realistic Blueprint Weapons

                      Currently doing a tutorial series on Vectors and what they are good for.
                      Please visit Unreal Unscripted

                      Comment


                        #12
                        We don't show the source for ThirdParty libraries in the solution to make Visual Studio more responsive. We have a pretty big solution already.

                        Are you still having problems being able to build? What errors are you getting?

                        Comment

                        Working...
                        X