Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24.09 Release - Building for macOS without a specified project fails #18488

Open
Hotshot5000 opened this issue Nov 20, 2024 · 1 comment
Open
Assignees
Labels
kind/bug-2409 Used for stabilization/24.09 issues needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/build Categorizes an issue or PR as relevant to SIG Build.

Comments

@Hotshot5000
Copy link

Bug Description

Try to build o3de for mac os:
cmake -B build/mac -G "Xcode" -DLY_UNITY_BUILD=ON

Assets-Required

No assets required to reproduce.

Steps to Reproduce

Run from o3de folder:
cmake -B build/mac -G "Xcode" -DLY_UNITY_BUILD=ON

Expected Behavior

The project to be generated.

Actual Behavior

sebastian@MacBookPro o3de % cmake -B build/mac -G "Xcode" -DLY_UNITY_BUILD=ON
-- Using package /Users/sebastian/.o3de/3rdParty/packages/zlib-1.2.11-rev5-mac
-- Using the O3DE version of the ZLIB library from /Users/sebastian/.o3de/3rdParty/packages/zlib-1.2.11-rev5-mac
-- Using package /Users/sebastian/.o3de/3rdParty/packages/qt-5.15.2-rev8-mac
-- Using package /Users/sebastian/.o3de/Python/packages/python-3.10.13-rev1-darwin
-- Using Python venv at /Users/sebastian/.o3de/Python/venv/d3d37a08
-- Using package /Users/sebastian/.o3de/3rdParty/packages/RapidJSON-1.1.0-rev1-multiplatform
-- Using package /Users/sebastian/.o3de/3rdParty/packages/Lua-5.4.4-rev1-mac
-- Using package /Users/sebastian/.o3de/3rdParty/packages/RapidXML-1.13-rev1-multiplatform
-- Using package /Users/sebastian/.o3de/3rdParty/packages/zstd-1.35-multiplatform
-- Using package /Users/sebastian/.o3de/3rdParty/packages/cityhash-1.1-multiplatform
-- Using package /Users/sebastian/.o3de/3rdParty/packages/googletest-1.8.1-rev4-mac
-- Using package /Users/sebastian/.o3de/3rdParty/packages/googlebenchmark-1.7.0-rev1-mac
-- Using package /Users/sebastian/.o3de/3rdParty/packages/lz4-1.9.4-rev1-mac
-- Using package /Users/sebastian/.o3de/3rdParty/packages/SQLite-3.37.2-rev2-mac
-- Using package /Users/sebastian/.o3de/3rdParty/packages/OpenSSL-1.1.1o-rev1-mac
CMake Error at Code/LauncherUnified/Platform/Mac/launcher_project_mac.cmake:26 (message):
Missing 'Resources' folder. Candidate paths tried were:
/Resources/Platform/Mac /Gem/Resources/Platform/Mac
/Gem/Resources/MacLauncher
Call Stack (most recent call first):
cmake/LYWrappers.cmake:652 (include)
cmake/LYWrappers.cmake:316 (ly_configure_target_platform_properties)
Code/LauncherUnified/launcher_generator.cmake:164 (ly_add_target)
Code/LauncherUnified/CMakeLists.txt:105 (include)

-- Configuring incomplete, errors occurred!

Screenshots/Videos

Not applicable.

Found In Branch

point-release/24091 or main.

Commit ID From

da3e1d3

Desktop/Device

Macbook Pro M1 16GB RAM 2020 (First generation).
MacOS Sequoia 15.1.

Additional Context

No response

@Hotshot5000 Hotshot5000 added kind/bug-2409 Used for stabilization/24.09 issues needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Nov 20, 2024
@jhanca-robotecai jhanca-robotecai added sig/build Categorizes an issue or PR as relevant to SIG Build. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 21, 2024
@spham-amzn
Copy link
Contributor

This appears to be a problem with release 24091/main. I can repro it there, but development branch works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-2409 Used for stabilization/24.09 issues needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. sig/build Categorizes an issue or PR as relevant to SIG Build.
Projects
None yet
Development

No branches or pull requests

4 participants