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 failed #12

Open
cafeina-software opened this issue Jan 19, 2019 · 6 comments
Open

Build failed #12

cafeina-software opened this issue Jan 19, 2019 · 6 comments

Comments

@cafeina-software
Copy link

cafeina-software commented Jan 19, 2019

Building from Ubuntu 18.04.

INSTALL file suggest at the beginning to install SDL2 libraries, but below suggest to install libsdl1.2-dev, that doesn't have SDL_vulkan.h

After installed libsdl2-dev and copied config_vkpt as .config for linux as suggested, I ran make, but I got these errors:

(see gist https://gist.github.com/fuckyourselfup/46e189ef591fbe639d565aff6aaa9e06)

@auroranil
Copy link

Got the same error. I copied config_vkpt file and renamed it as .config, and added these two lines:

CONFIG_VKPT_RENDERER=y
CONFIG_SDL2=y

I've compiled and installed SDL 2.0.8 library as well as installed libvulkan-dev and few other libraries via apt-get.

@cafeina-software
Copy link
Author

cafeina-software commented Jan 20, 2019

I have already installed libsdl2, libvulkan and their dev packages, and config_vkpt has already CONFIG_SDL2=1 and CONFIG_VKPT=1. I changed "1" with "y" but I got the same errors you can read in the gist above.

@cschied
Copy link
Owner

cschied commented Jan 20, 2019

You need a more recent version of the vulkan SDK. You should be able to update the SDK with the following commands:
wget -qO - http://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add - sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-1.1.92-bionic.list http://packages.lunarg.com/vulkan/1.1.92/lunarg-vulkan-1.1.92-bionic.list sudo apt update

@ThomasBrierley
Copy link

ThomasBrierley commented Feb 10, 2019

For Debian Buster (sid), I needed these extra bits to build:

cp config_vkpt .config

sudo apt install -y \
    libjpeg-dev \
    libvulkan-dev \
    libsdl2-dev

On top of build-essential autoconf automake which i always have installed - there may of course be others I already had installed.

libvulkan seems to be up-to-date enough on sid to build, but I cannot comment on running... I don't have an nvidia card :P should've looked up the requirements before bothering.

@QUASARFREAK
Copy link

In KDE Neon (Ubuntu 18.04) the compiling works after installing the glslang-tools from lunarg repo

@plankatron
Copy link

linux mint 19.1 (ubuntu 18.04) vulkan sdk package install fails with :
The following packages have unmet dependencies:
lunarg-vulkan-sdk : Depends: libvulkan-dev (>= 1.1.101.0~rc1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

currently have installed
libvulkan1:amd64 (1.1.101.0-2gpu18.04.1) ...
libvulkan-dev:amd64 (1.1.101.0-2
gpu18.04.1) ...

hopefully can get some ideas on how to resolve this

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

6 participants