Skip to content

GLSMAC coredumps on NetBSD 10.1 #57

@LuboGD

Description

@LuboGD

The good news is that all the build dependencies seem to be available.

One important caveat is CMake doesn't pick up SDL2 automatically. I believe due to a bug upstream with NetBSD SDL2 package.
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=59830

For some reason they have the SDL2 package-config (.pc) file named sdl2.pc (all lowercase), and the SDL2_image has it named SDL2_image.pc.

So after I got past that, GLSMAC built according to your instructions!

Compiled binary (release) coredumps. Seems to be at least vaguely similar to your issue #21 with huge maps, but not dependent on map size, and crashes no matter what. All my GPUs are pretty retro AMD. Here's the one on the desktop I used during this build:
VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity 2 [Radeon HD 7540D]

terminate called after throwing an instance of 'std::runtime_error'
what(): OpenGL error occured in render loop, aborting: 1281
[1] Abort trap (core dumped) ./GLSMAC

Please advise if any other logging info is required. Thanks for making GLSMAC, it shows great promise, and I look forward to updates!

P.S. GLSMAC compiles and runs ok on Adelie Linux, an Alpine derivative.

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