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

Build error on Ubuntu 22.04 #15

Open
rcraig12 opened this issue Jan 16, 2024 · 0 comments
Open

Build error on Ubuntu 22.04 #15

rcraig12 opened this issue Jan 16, 2024 · 0 comments

Comments

@rcraig12
Copy link

rcraig12 commented Jan 16, 2024

Installed using instructions on https://github.com/visrealm/hbc-56/tree/main/emulator

When running cmake --build . --config Release on Ubuntu 22.04. I get the error below.

/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_source_destroy':
SDL_waylanddatamanager.c:(.text+0x763): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_offer_receive':
SDL_waylanddatamanager.c:(.text+0x87b): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_offer_destroy':
SDL_waylanddatamanager.c:(.text+0x9f3): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_device_clear_selection':
SDL_waylanddatamanager.c:(.text+0xab8): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o: in function `Wayland_data_device_set_selection':
SDL_waylanddatamanager.c:(.text+0xb7d): undefined reference to `wl_proxy_marshal_flags'
/usr/bin/ld: CMakeFiles/SDL2.dir/src/video/wayland/SDL_waylanddatamanager.c.o:SDL_waylanddatamanager.c:(.text+0xc15): more undefined references to `wl_proxy_marshal_flags' follow
collect2: error: ld returned 1 exit status
make[2]: *** [emulator/thirdparty/SHARED/CMakeFiles/SDL2.dir/build.make:3193: emulator/thirdparty/SHARED/libSDL2-2.0.so.0.17.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:1315: emulator/thirdparty/SHARED/CMakeFiles/SDL2.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

Also I can confirm that I definitly have libwayland-dev installed

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant