Skip to content

cannot build, opengl and sdl2 not found #3

Description

@bubblecookies

ok bear with me now, im very fresh to building from source

im trying to build the prboom wad and cmake says

-- Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY OPENGL_INCLUDE_DIR)
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR) (Required is
  at least version "2.0.7")
Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindSDL2.cmake:293 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:102 (find_package)

however it never mentions opengl or sdl in the readme, are they meant to be installed?

i git cloned then cded into Dwasm. this is the command i used

mkdir build_native
cd build_native
cmake .. -DCMAKE_BUILD_TYPE=Release
make

cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions