Replies: 15 comments 32 replies
-
Hi, I've been having this same issue (M1 Max, XCode 12.2.1, x86 target) but I found that I could at least bypass this error by switching to this commit c3caf7b6bf12ae4c8e09b606f10a09776b4d1f38 and making all other critical changes myself. Interestingly the carla changes did not seem like they should cause problems but apparently they do. Then I could build Carla on my M1 and it runs like a champ |
Beta Was this translation helpful? Give feedback.
-
Hi all, so I've managed to locate the bug and create a solution. Here is the PR to the CarlaUnreal fork. For now, I recommend you use this fork and switch to the |
Beta Was this translation helpful? Give feedback.
-
Hello
Thanks for your UE4 building
Ive don UE4 build for your helping
But I have some problem in “make launch” in rosetta x86
My finder said “ can’t open the application
What’s problem with me ?
My Mac is Mac book air m1 , 8ram, 256 g
But I check 130 + GB my storage
… 2022. 1. 21. 오전 3:46, Gustavo Silvera ***@***.***> 작성:
Update: See PR here <CarlaUnreal/UnrealEngine#3>
—
Reply to this email directly, view it on GitHub <#4848 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASXRC3FT42GHPYIKJXEDJHDUXBJ6XANCNFSM5HRDHRTQ>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Hello there
I change my laptop for Carla lol to MacBook 14 m1pro
Anyway I have problem in
brew install --build-from-source mono
==> Installing dependencies for mono: cmake, pkg-config, gdbm, mpdecimal, ca-certificates, ***@***.***, readline, sqlite, xz and ***@***.***
==> Installing mono dependency: cmake
==> Pouring cmake--3.22.1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/cmake/3.22.1: 2,986 files, 41.6MB
==> Installing mono dependency: pkg-config
==> Pouring pkg-config--0.29.2_3.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/pkg-config/0.29.2_3: 11 files, 676.4KB
==> Installing mono dependency: gdbm
==> Pouring gdbm--1.22.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/gdbm/1.22: 24 files, 1MB
==> Installing mono dependency: mpdecimal
==> Pouring mpdecimal--2.5.1.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/mpdecimal/2.5.1: 71 files, 2.2MB
==> Installing mono dependency: ca-certificates
==> Pouring ca-certificates--2021-10-26.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺 /opt/homebrew/Cellar/ca-certificates/2021-10-26: 3 files, 208.5KB
==> Installing mono dependency: ***@***.***
==> Pouring ***@***.***_monterey.bottle.tar.gz
🍺 ***@***.***/1.1.1m: 8,081 files, 18MB
==> Installing mono dependency: readline
==> Pouring readline--8.1.2.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/readline/8.1.2: 48 files, 1.7MB
==> Installing mono dependency: sqlite
==> Pouring sqlite--3.37.2.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/sqlite/3.37.2: 11 files, 4.3MB
==> Installing mono dependency: xz
==> Pouring xz--5.2.5.arm64_monterey.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.2.5: 95 files, 1.4MB
==> Installing mono dependency: ***@***.***
==> Pouring ***@***.***_monterey.bottle.tar.gz
==> ***@***.***/3.10.1/bin/python3 -m ensurepip
==> ***@***.***/3.10.1/bin/python3 -m pip install -v --no-d
🍺 ***@***.***/3.10.1: 3,134 files, 57.9MB
==> Installing mono
==> Patching
==> Applying 3070886a1c5e3e3026d1077e36e67bd5310e0faa.patch
patching file packaging/MacSDK/fsharp-layout.sh
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 10928 (offset 2195 lines).
==> ./configure --prefix=/opt/homebrew/Cellar/mono/6.12.0.122_1 --enable-nls=no
==> make
Last 15 lines from /Users/choebaegjin/Library/Logs/Homebrew/mono/02.make:
6 errors generated.
make[5]: *** [libmonoutils_la-mono-context.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/libmonoutils_la-mono-property-hash.Tpo .deps/libmonoutils_la-mono-property-hash.Plo
mv -f .deps/libmonoutils_la-mono-value-hash.Tpo .deps/libmonoutils_la-mono-value-hash.Plo
mv -f .deps/libmonoutils_la-lock-free-queue.Tpo .deps/libmonoutils_la-lock-free-queue.Plo
mv -f .deps/libmonoutils_la-lock-free-array-queue.Tpo .deps/libmonoutils_la-lock-free-array-queue.Plo
mv -f .deps/libmonoutils_la-hazard-pointer.Tpo .deps/libmonoutils_la-hazard-pointer.Plo
mv -f .deps/libmonoutils_la-lock-free-alloc.Tpo .deps/libmonoutils_la-lock-free-alloc.Plo
mv -f .deps/libmonoutils_la-mono-error.Tpo .deps/libmonoutils_la-mono-error.Plo
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Why I have this issue … ?
… 2022. 1. 22. 오전 11:54, Gustavo Silvera ***@***.***> 작성:
When you run make launch the UE4.26 executable should launch on its own. But when you run make package it'll create a .app which is essentially a directory, so you'll need to open it up with open in the terminal.
—
Reply to this email directly, view it on GitHub <#4848 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASXRC3AIH3FOI3QPVWA3FWLUXIL6VANCNFSM5HRDHRTQ>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Okay I skipped this process , I think UE4 brings a version of mono !!
I think almost done lastly I have a question.
I run 'make package' in rosetta. But I think it has very long time to compile
Does this usually take a long time?
How long did it take for you?
… 2022. 1. 25. 오전 1:53, Gustavo Silvera ***@***.***> 작성:
Not sure. Also unsure if you need mono installed manually or if UE4 brings a version of mono packaged with it. But in any case, try looking at this build documentation <https://www.mono-project.com/docs/compiling-mono/mac/>.
—
Reply to this email directly, view it on GitHub <#4848 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASXRC3AGFPG6XTOIM4YX573UXV7Y3ANCNFSM5HRDHRTQ>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Yep, but It is still x86_64
I don’t know what is wrong lol..
… 2022. 1. 26. 오전 9:50, Gustavo Silvera ***@***.***> 작성:
Did you make sure to rename the old Build/ directory (from the x86 build) to Build.x86 and then do the arm64 build? then once the arm64 .egg is created you can rename it back
—
Reply to this email directly, view it on GitHub <#4848 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASXRC3A6LWAD6YXTKWZVUHTUX5AMLANCNFSM5HRDHRTQ>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
## you can see my capture in your mail!
Hmm.. I think there’s no wrong point with me..
If I want init all process where should I start now?
For installing UE4?
… 2022. 1. 26. 오후 3:26, Gustavo Silvera ***@***.***> 작성:
That it weird because I tried it again and it worked for me. Ok maybe try this: restart the Carla repo by cloning a fresh copy and FIRt compiling for arm64 (make PythonAPI) (when the environment is set to arm64 mode) then rename that Build folder to Build.arm64 and set the environment back to x86_64 then run make LibCarla (NOT make PythonAPI) and make launch/package should work as well.
—
Reply to this email directly, view it on GitHub <#4848 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASXRC3GIJQ66TFVYSLNMTL3UX6HZPANCNFSM5HRDHRTQ>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Hi dlopen(/Users/ldas/Library/Caches/Python-Eggs/carla-0.9.13-py3.8-macosx-11.0-arm64.egg-tmp/carla/libcarla.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_png_create_info_struct' Any suggestions would be very helpful. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello! |
Beta Was this translation helpful? Give feedback.
-
Thanks for the info Gustavo, I have joined the Epic org, and should be able to try an M1 built! |
Beta Was this translation helpful? Give feedback.
-
Thanks @GustavoSilvera for your great work! With your steps I was able to get Unreal and Carla running on my M1 Max, Ventura 13.1, XCode 14.2. Some remarks I stumbled across:
I hope these comments help someone. Carla runs like a charm on my M1 :) |
Beta Was this translation helpful? Give feedback.
-
Hello @GustavoSilvera first of all, thank you for your work!! I'm trying out to follow the steeps from here Mac build but I cannot find your GitHub fork described in this steep git clone https://github.com/GustavoSilvera/UnrealEngine --depth 1 -b mac-dev did you delete it? or did you rename it? could you help me please. Thank you |
Beta Was this translation helpful? Give feedback.
-
Evre one! |
Beta Was this translation helpful? Give feedback.
-
This does not work as the output gives me a "remote server returned an error: (403) Forbidden. (WebException)" error while executing the setup.sh file from the fork. I am logged in, everything is correct aswell. |
Beta Was this translation helpful? Give feedback.
-
No.I have cancelled this project.
…---Original---
From: ***@***.***>
Date: Mon, Aug 19, 2024 16:38 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [carla-simulator/carla] Build issue for UnrealEngine on Mac M1(Discussion #4848)
@newgamerboy I encountered the same problem as you, have you solved it
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm getting this linker error when building UnrealEngine for Carla on a Mac (using these instructions). I checked the MTLPP wrapper library which was built earlier in the process. The static lib file does have symbols for x86_64 architecture, which makes this error all more mysterious.
Build error output:
Beta Was this translation helpful? Give feedback.
All reactions