Package Details: vkcube-git r121.4ca9010-1

Git Clone URL: https://aur.archlinux.org/vkcube-git.git (read-only)
Package Base: vkcube-git
Description: Demo cube app for Vulkan
Upstream URL: https://github.com/krh/vkcube
Keywords: vkcube vulkan
Licenses: MIT
Submitter: dvdios
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 16
Popularity: 0.044713
First Submitted: 2016-02-18 22:36
Last Updated: 2019-02-23 06:50

Latest Comments

1 2 Next › Last »

Taurolyon commented on 2018-12-30 01:03

Can confirm glslc-git is a missing dependency.

maxi_jac commented on 2018-04-14 15:47

glslc is not required actually.

The PKBUILD is absolutely broken though, here is a patch :

--- PKGBUILD    2018-04-14 18:42:18.419840134 +0200
+++ PKGBUILD.my 2018-04-14 18:43:07.756507848 +0200
@@ -19,11 +19,14 @@

 build() {
   cd "${srcdir}"/vkcube
+  rm -rf build
   meson build
+  cd build
+  ninja
 }

 package() {
-  cd "${srcdir}"/vkcube
+  cd "${srcdir}"/vkcube/build
   install -dm755 "${pkgdir}"/usr/bin
   install  -m755 vkcube "${pkgdir}"/usr/bin/vkcube
 }

sehraf commented on 2018-03-31 10:10

The error "Program glslc found: NO" still exists (already reported by rnestler). I guess glslc-git might be a missing dependency.

postadelmaga commented on 2018-03-09 19:38

I still have issues ( after manually update the PKGBUILD)

Found ninja-1.8.2 at /usr/bin/ninja
[7/7] Linking target vkcube.
FAILED: vkcube 
cc  -o vkcube 'vkcube@exe/xdg-shell-unstable-v6-protocol.c.o'     'vkcube@exe/main.c.o' 'vkcube@exe/cube.c.o' 'vkcube@exe/esTransform.c.o' -Wl,--    no-undefined -Wl,--as-needed -march=native -O2 -pipe -fstack-protector-strong -    fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,--start-group -ldrm     -lgbm -lpng16 -lz -lwayland-client -lxcb -lvulkan -Wl,--end-group  
/usr/bin/ld: vkcube@exe/esTransform.c.o: undefined reference to symbol 'sincosf@@GLIBC_2.2.5'
/usr/lib/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

CoD-Segfault commented on 2018-01-21 17:04

The following changes fix build.

build() {
  cd "${srcdir}"/vkcube
  meson build
  cd "${srcdir}"/vkcube/build
  ninja
}

package() {
  cd "${srcdir}"/vkcube/build
  install -dm755 "${pkgdir}"/usr/bin
  install  -m755 vkcube "${pkgdir}"/usr/bin/vkcube
}

rnestler commented on 2018-01-21 16:40

I get a build error:

==> Starting build()...
The Meson build system
Version: 0.44.0
Source dir: /tmp/yaourt-tmp-roughl/aur-vkcube-git/src/vkcube
Build dir: /tmp/yaourt-tmp-roughl/aur-vkcube-git/src/vkcube/build
Build type: native build
Project name: vkcube
Native C compiler: cc (gcc 7.2.1)
Appending CFLAGS from environment: '-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt'
Appending LDFLAGS from environment: '-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
Appending CPPFLAGS from environment: '-D_FORTIFY_SOURCE=2'
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Native dependency libdrm found: YES 2.4.89
Native dependency gbm found: YES 17.3.2
Native dependency libpng found: YES 1.6.34
Native dependency wayland-client found: YES 1.14.0
Native dependency xcb found: YES 1.12
Native dependency vulkan found: YES 1.0.61
Has header "vulkan/vulkan_intel.h": YES
Program glslc found: NO
Program nonexistingprogram found: NO
Program cp found: YES (/usr/bin/cp)
Build targets in project: 1
Found ninja-1.8.2 at /usr/bin/ninja
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'vkcube': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Makepkg was unable to build vkcube-git.

Anonymous comment on 2017-10-11 20:18

This package no longer uses a makefile, it has switched to meson.

ase1590 commented on 2017-03-31 05:15

I feel it should be added to the description that this is geared only for Intel devices to test vulkan and not nvidia or AMDGPU. it instantly crashed out on vulkan-radeon testing and it seems it doesnt work for many nvidia users either.

dvdios commented on 2016-12-30 22:06

@Smasher816
Sorry, but vkcube is developed by Intel developer so building require specifc methods found only in <vulkan/vulkan_intel.h> that is provided only by vulkan-intel.
So, until that is fixed upstream, vulkan-intel must remain only a make dependency.

Smasher816 commented on 2016-12-30 21:30

This should not depend on vulkan-intel directly (it breaks nvidia drivers). See https://wiki.archlinux.org/index.php/Vulkan#Nvidia_-_vulkan_is_not_working_and_can_not_initialize