Jump to content

Trying and failing to compile UE5

Linus No Beard

when i am compiling UE5 i am getting the flowing errors

Error C4668 '_NOEXCEPT_TYPES_SUPPORTED' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' UE5 C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h 211

Error C4668 '__cpp_noexcept_function_type' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' UE5 C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h 211

Error C4668 '_NOEXCEPT_TYPES_SUPPORTED' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' UE5 C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h 371

Error C4668 '__cpp_noexcept_function_type' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif' UE5 C:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt\wrl\event.h 371

I dont know how to do c++ that good how do i fix this i am using the 5.0 Early Access 2 version of ue5 to compile

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Linus No Beard said:

when i am compiling UE5 i am getting the flowing errors

It looks like your missing a files that would contain macro definitions.

 

3 minutes ago, Linus No Beard said:

i am using the 5.0 Early Access 2 version of ue5 to compile

Link bork.

 

3 minutes ago, Linus No Beard said:

I dont know how to do c++ that good

Why are you trying to compile the engine then?

Main System (Byarlant): Ryzen 7 5800X | Asus B550-Creator ProArt | EK 240mm Basic AIO | 16GB G.Skill DDR4 3200MT/s CAS-14 | XFX Speedster SWFT 210 RX 6600 | Samsung 990 PRO 2TB / Samsung 960 PRO 512GB / 4× Crucial MX500 2TB (RAID-0) | Corsair RM750X | a 10G NIC (pending) | Inateck USB 3.0 Card | Hyte Y60 Case | Dell U3415W Monitor | Keychron K4 Brown (white backlight)

 

Laptop (Narrative): Lenovo Flex 5 81X20005US | Ryzen 5 4500U | 16GB RAM (soldered) | Vega 6 Graphics | SKHynix P31 1TB NVMe SSD | Intel AX200 Wifi (all-around awesome machine)

 

Proxmox Server (Veda): Ryzen 7 3800XT | AsRock Rack X470D4U | Corsair H80i v2 | 64GB Micron DDR4 ECC 3200MT/s | 4× WD 10TB / 4× Seagate 14TB Exos / 8× WD 12TB (custom external SAS enclosure) / 2× Samsung PM963a 960GB SSD | Seasonic Prime Fanless 500W | Intel X550-T2 10G NIC | LSI 9300-16i HBA | Fractal Design Node 804 Case (side panels swapped to show off drives) | VMs: TrueNAS Scale; Ubuntu Server (PiHole/PiVPN/NGINX?); Windows 10 Pro; Ubuntu Server (Apache/MySQL)


Media Center/Video Capture (Jesta Cannon): Ryzen 5 1600X | ASRock B450M Pro4 R2.0 | Noctua NH-L12S | 16GB Crucial DDR4 3200MT/s CAS-22 | EVGA GTX750Ti SC | UMIS NVMe SSD 256GB / TEAMGROUP MS30 1TB | Corsair CX450M | Viewcast Osprey 260e Video Capture | Mellanox ConnectX-2 10G NIC | LG UH12NS30 BD-ROM | Silverstone Sugo SG-11 Case | Sony XR65A80K

 

Camera: Sony ɑ7II w/ Meike Grip | Sony SEL24240 | Samyang 35mm ƒ/2.8 | Sony SEL50F18F | Sony SEL2870 (kit lens) | PNY Elite Perfomance 512GB SDXC card

 

Network:

Spoiler
                           ┌─────────────── Office/Rack ────────────────────────────────────────────────────────────────────────────┐
Google Fiber Webpass ────── UniFi Security Gateway ─── UniFi Switch 8-60W ─┬─ UniFi Switch Flex XG ═╦═ Veda (Proxmox Virtual Switch)
(500Mbps↑/500Mbps↓)                             UniFi CloudKey Gen2 (PoE) ─┴─ Veda (IPMI)           ╠═ Veda-NAS (HW Passthrough NIC)
╔═══════════════════════════════════════════════════════════════════════════════════════════════════╩═ Narrative (Asus USB 2.5G NIC)
║ ┌────── Closet ──────┐   ┌─────────────── Bedroom ──────────────────────────────────────────────────────┐
╚═ UniFi Switch Flex XG ═╤═ UniFi Switch Flex XG ═╦═ Byarlant
   (PoE)                 │                        ╠═ Narrative (Cable Matters USB-PD 2.5G Ethernet Dongle)
                         │                        ╚═ Jesta Cannon*
                         │ ┌─────────────── Media Center ──────────────────────────────────┐
Notes:                   └─ UniFi Switch 8 ─────────┬─ UniFi Access Point nanoHD (PoE)
═══ is Multi-Gigabit                                ├─ Sony Playstation 4 
─── is Gigabit                                      ├─ Pioneer VSX-S520
* = cable passed to Bedroom from Media Center       ├─ Sony XR65A80K (Google TV)
** = cable passed from Media Center to Bedroom      └─ Work Laptop** (Startech USB-PD Dock)

Retired/Other:

Spoiler

Laptop (Rozen-Zulu): Sony VAIO VPCF13WFX | Core i7-740QM | 8GB Patriot DDR3 | GT 425M | Samsung 850EVO 250GB SSD | Blu-ray Drive | Intel 7260 Wifi (lived a good life, retired with honor)

Testbed/Old Desktop (Kshatriya): Xeon X5470 @ 4.0GHz | ZALMAN CNPS9500 | Gigabyte EP45-UD3L | 8GB Nanya DDR2 400MHz | XFX HD6870 DD | OCZ Vertex 3 Max-IOPS 120GB | Corsair CX430M | HooToo USB 3.0 PCIe Card | Osprey 230 Video Capture | NZXT H230 Case

TrueNAS Server (La Vie en Rose): Xeon E3-1241v3 | Supermicro X10SLL-F | Corsair H60 | 32GB Micron DDR3L ECC 1600MHz | 1x Kingston 16GB SSD / Crucial MX500 500GB

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, AbydosOne said:

It looks like your missing a files that would contain macro definitions.

i copied it verbatim

Just now, AbydosOne said:

Link bork.

you need to follow this guide to get access https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ProgrammingWithCPP/DownloadingSourceCode/

1 minute ago, AbydosOne said:

Why are you trying to compile the engine then?

trying to work around a bug in the precompiled one 

Link to comment
Share on other sites

Link to post
Share on other sites

Is the version you are trying to compile verified to actually compile? I saw a post on reddit of someone who was compiling UE5 every day to keep track of which commits do and which don't compile. Might be worth tracking down as there's no point in trying to debug something that doesn't work in the first place.

Crystal: CPU: i7 7700K | Motherboard: Asus ROG Strix Z270F | RAM: GSkill 16 GB@3200MHz | GPU: Nvidia GTX 1080 Ti FE | Case: Corsair Crystal 570X (black) | PSU: EVGA Supernova G2 1000W | Monitor: Asus VG248QE 24"

Laptop: Dell XPS 13 9370 | CPU: i5 10510U | RAM: 16 GB

Server: CPU: i5 4690k | RAM: 16 GB | Case: Corsair Graphite 760T White | Storage: 19 TB

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, tikker said:

Is the version you are trying to compile verified to actually compile? I saw a post on reddit of someone who was compiling UE5 every day to keep track of which commits do and which don't compile. Might be worth tracking down as there's no point in trying to debug something that doesn't work in the first place.

i downloaded a release build

Link to comment
Share on other sites

Link to post
Share on other sites

16 hours ago, Monac said:

did not work

Link to comment
Share on other sites

Link to post
Share on other sites

I compiled it on my Linux machine just fine. Took some bloody compilation time but works in the end.  Did you read their official guide for windows compilation?

Sudo make me a sandwich 

Link to comment
Share on other sites

Link to post
Share on other sites

18 hours ago, wasab said:

I compiled it on my Linux machine just fine. Took some bloody compilation time but works in the end.  Did you read their official guide for windows compilation?

yes i did i know what i need to do it just wont work

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...
On 2/11/2022 at 10:32 PM, Linus No Beard said:

yes i did i know what i need to do it just wont work

Hey, run into the exact same problem after building the engine manually without the RunUAT.bat file, did you get it to work?

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, Ziplaw said:

Hey, run into the exact same problem after building the engine manually without the RunUAT.bat file, did you get it to work?

i just gave up and got a 240 GB ssd for windows to game dev on

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 weeks later...

What Linux distro? Epic only supports Ubuntu so it might not work on others (including Ubuntu distros)

CPU - Ryzen 7 3700X | RAM - 64 GB DDR4 3200MHz | GPU - Nvidia GTX 1660 ti | MOBO -  MSI B550 Gaming Plus

Link to comment
Share on other sites

Link to post
Share on other sites

On 4/24/2022 at 6:39 PM, PocketNerd said:

What Linux distro? Epic only supports Ubuntu so it might not work on others (including Ubuntu distros)

Arch it worked before the most recent version

Link to comment
Share on other sites

Link to post
Share on other sites

4 hours ago, Linus No Beard said:

Arch it worked before the most recent version

Then it's likely a problem with that specific commit. Though I've had decent luck erasing the contents of my UE source folder and doing a fresh setup.

CPU - Ryzen 7 3700X | RAM - 64 GB DDR4 3200MHz | GPU - Nvidia GTX 1660 ti | MOBO -  MSI B550 Gaming Plus

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×