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

CMake Error while compiling: Could not find CMAKE_ASM_COMPILER using the following names: mips-n64-gcc #96

Open
AgentCichy opened this issue Dec 10, 2024 · 1 comment
Labels
building Issues and pull requests related to building the code question Further information is requested

Comments

@AgentCichy
Copy link

CMake Error at cmake/Toolchain-N64.cmake:29 (find_program):
Could not find CMAKE_ASM_COMPILER using the following names: mips-n64-gcc
Call Stack (most recent call first):
/usr/share/cmake-3.30/Modules/CMakeDetermineSystem.cmake:143 (include)
CMakeLists.txt:2 (project)

CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
obraz

@mwpenny
Copy link
Owner

mwpenny commented Dec 10, 2024

Hi. It looks like there are multiple issues here.

  1. CMake can't find Ninja. Is it installed? If not, you'll need to either install it or you can use "Unix Makefiles" instead of "Ninja" in the CMake command to build with make.
  2. CMake can't find the GCC compiler from the N64 toolchain (mips-n64-gcc). Do you have it installed? Did you build it yourself and so it has a different name?

In general, make sure you've followed the build instructions and set up all necessary dependencies before building.

@mwpenny mwpenny added question Further information is requested building Issues and pull requests related to building the code labels Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Issues and pull requests related to building the code question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants
@mwpenny @AgentCichy and others