Is my issue the FIRST one? ^_^ Just wanna have some fun...
My OS:
29 ✔ uname -r ~
5.3.0-53-generic
30 ✔ lsb_release -a ~
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
31 ✔ gcc --version ~
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Driver version: 440.82
CUDA Driver Version / Runtime Version 10.2 / 10.2
I met the following ERROR messages:
[ 80%] Building CXX object src/CMakeFiles/ncnn.dir/modelbin.cpp.o
cd ....../eq-ncnn/build_18.04/src && /usr/bin/c++ -I....../eq-ncnn/src -I....../eq-ncnn/build_18.04/src -I....../eq-ncnn/src/layer -O3 -DNDEBUG -Wall -Wextra -Wno-unused-function -fPIC -Ofast -ffast-math -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -o CMakeFiles/ncnn.dir/modelbin.cpp.o -c ....../eq-ncnn/src/modelbin.cpp
....../eq-ncnn/src/gpu.cpp: In function ‘int ncnn::create_gpu_instance()’:
....../eq-ncnn/src/gpu.cpp:635:13: error: ‘VkPhysicalDevice8BitStorageFeaturesKHR’ was not declared in this scope
VkPhysicalDevice8BitStorageFeaturesKHR query8BitStorageFeatures;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....../eq-ncnn/src/gpu.cpp:635:13: note: suggested alternative: ‘VkPhysicalDevice16BitStorageFeaturesKHR’
VkPhysicalDevice8BitStorageFeaturesKHR query8BitStorageFeatures;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VkPhysicalDevice16BitStorageFeaturesKHR
....../eq-ncnn/src/gpu.cpp:636:13: error: ‘query8BitStorageFeatures’ was not declared in this scope
query8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~
....../eq-ncnn/src/gpu.cpp:636:13: note: suggested alternative: ‘queryExtensionFeatures’
query8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~
queryExtensionFeatures
....../eq-ncnn/src/gpu.cpp:636:46: error: ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR’ was not declared in this scope
query8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....../eq-ncnn/src/gpu.cpp:636:46: note: suggested alternative: ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR’
query8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR
[ 83%] Building CXX object src/CMakeFiles/ncnn.dir/layer/bnll.cpp.o
cd ....../eq-ncnn/build_18.04/src && /usr/bin/c++ -I....../eq-ncnn/src -I....../eq-ncnn/build_18.04/src -I....../eq-ncnn/src/layer -O3 -DNDEBUG -Wall -Wextra -Wno-unused-function -fPIC -Ofast -ffast-math -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -o CMakeFiles/ncnn.dir/layer/bnll.cpp.o -c ....../eq-ncnn/src/layer/bnll.cpp
....../eq-ncnn/src/gpu.cpp: In constructor ‘ncnn::VulkanDevice::VulkanDevice(int)’:
....../eq-ncnn/src/gpu.cpp:782:5: error: ‘VkPhysicalDevice8BitStorageFeaturesKHR’ was not declared in this scope
VkPhysicalDevice8BitStorageFeaturesKHR enabled8BitStorageFeatures;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....../eq-ncnn/src/gpu.cpp:782:5: note: suggested alternative: ‘VkPhysicalDevice16BitStorageFeaturesKHR’
VkPhysicalDevice8BitStorageFeaturesKHR enabled8BitStorageFeatures;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VkPhysicalDevice16BitStorageFeaturesKHR
....../eq-ncnn/src/gpu.cpp:783:5: error: ‘enabled8BitStorageFeatures’ was not declared in this scope
enabled8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~~~
....../eq-ncnn/src/gpu.cpp:783:5: note: suggested alternative: ‘enabledExtensionFeatures’
enabled8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~~~
enabledExtensionFeatures
....../eq-ncnn/src/gpu.cpp:783:40: error: ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR’ was not declared in this scope
enabled8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....../eq-ncnn/src/gpu.cpp:783:40: note: suggested alternative: ‘VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR’
enabled8BitStorageFeatures.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR
Can anybody help?
Cheers
Pei
Is my issue the FIRST one? ^_^ Just wanna have some fun...
My OS:
I met the following ERROR messages:
Can anybody help?
Cheers
Pei