Skip to content

[Bug] gives me an error when building for xbox 360 #1334

@k1ttiezsaymeow

Description

@k1ttiezsaymeow

Bug description

When I try to build for xbox 360 with cmake it throws an error, I have no experience in C++ whatsoever, but I think it's an issue with the CMakeLists.txt in the Minecraft.Client folder. It's trying to refrence a file that doesn't exist.
I may add that it also says there are no sources given to target Minecraft.Client, and that also I tried with the windows x64 and it worked fine.
Error:

CMake Error at Minecraft.Client/CMakeLists.txt:26 (add_executable):
  Cannot find source file:

    C:/Users/David/source/repos/MinecraftConsolesxbox2/Minecraft.Client/Common/XUI/XUI_Scene_Beacon.cpp


CMake Error at Minecraft.Client/CMakeLists.txt:26 (add_executable):
  No SOURCES given to target: Minecraft.Client

To Reproduce

  1. When in folder, do cmake --preset xbox360
  2. There's your error.

Expected behavior

It should build just fine and I would be able to run it on my Xbox 360.

Screenshots

No response

Videos

No response

Version

a94ee1c

Build Type

  • Release
  • Debug

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions