geode-sdk/cli

Geode mod not building/Nonexistent command in build

TechStudent10 opened this issue · 11 comments

I went ahead and followed the steps in the docs. I opened VSCode, installed both C/C++ and CMake Tools. When I configured the project, CMake errored out with this to say:

image

I tried running the above command, but it didn't work.

And no, running geode sdk install-binaries (without the path at the end) doesn't solve the issue.

Remove set(GEODE_LINK_NIGHTLY ON) from the root CMakeLists.txt file of your project, see if that works

Yep that worked. Thanks!

@camila314 I'm getting the error again after updating. geode sdk install-prebuilts isn't a command, and there is no set(GEODE_LINK_NIGHTLY ON) in the CMakeLists.txt.
image

HJfod commented

The install-prebuilts command is currently wrong, as it installs Geode to a v1.0.0-beta folder whereas CMake looks for it in v1.0.0. We will fix this soon

The install-prebuilts command is currently wrong, as it installs Geode to a v1.0.0-beta folder whereas CMake looks for it in v1.0.0. We will fix this soon

So I can't make mods until this is fixed?

And install-prebuilts does literally nothing. It doesn't exist.

image

HJfod commented

Oh whoops, seems like the CMake has the wrong command name. The correct command is geode sdk install-binaries.

Oh whoops, seems like the CMake has the wrong command name. The correct command is geode sdk install-binaries.

Alright. So I just have to rename it as a temporary workaround?

HJfod commented

Yeah, I'm currently pushing a fix for CLI that should be out in a few minutes

Alright. Thanks.

FYI for anyone experiencing this bug you need to go to {GEODE_SDK}/bin and remove -beta from v1.0.0-beta until the bug is resolved.