Patoke / re-plants-vs-zombies

A project to rebuild all functionality via reverse engineering from the GOTY version of Plants VS Zombies (and expand upon it)
Creative Commons Zero v1.0 Universal
91 stars 12 forks source link

Cmake build failing #9

Closed Vali-98 closed 4 months ago

Vali-98 commented 9 months ago

As stated in the build steps, the following command is run:

cmake --build cmake-build

This however results in a build failure:

Looking for a ASM_NASM compiler failed with the following output:
-- The ASM_NASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:2 (project):
  No CMAKE_ASM_NASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM_NASM" or the CMake cache entry CMAKE_ASM_NASM_COMPILER to the
  full path to the compiler, or to the compiler name if it is in the PATH.

I have defined ASM_NASM in my environment variables.

This was tested in both Visual Studio and Visual Studio Code

minerscale commented 9 months ago

As a sanity check, do you have nasm (netwide assembler) installed? And if you have it installed, can it target 64 bit architectures?

I'm not actually sure what nasm is needed for in the build process but I would imagine that it's for SDL_Image for some of the image processing SIMD.

Apologies about the largely useless question but I don't run windows and am at a bit of a loss as to how to proceed. I don't think it's an issue with the build configuration though.

minerscale commented 4 months ago

closed for lack of activity, not enough information.