Comments (2)
Structure of GLSLANG installation folder
| install folder
|
+---lib
| | libOSDependentd.a
| | libglslangd.a
| | libMachineIndependentd.a
| | libGenericCodeGend.a
| | libOGLCompilerd.a
| | libglslang-default-resource-limitsd.a
| | libSPVRemapperd.a
| | libSPIRVd.a
| | libHLSLd.a
| |
| +---cmake
| | OSDependentTargets.cmake
| | glslangTargets.cmake
| | OGLCompilerTargets.cmake
| | glslangValidatorTargets.cmake
| | spirv-remapTargets.cmake
| | glslang-default-resource-limitsTargets.cmake
| | SPVRemapperTargets.cmake
| | SPIRVTargets.cmake
| | HLSLTargets.cmake
| |
| \---glslang
| glslang-targets.cmake
| glslang-targets-debug.cmake
| glslang-config.cmake
| glslang-config-version.cmake
|
+---include
| \---glslang
| | build_info.h
| |
| +---Public
| | ShaderLang.h
| |
| +---Include
| | arrays.h
| | BaseTypes.h
| | Common.h
| | ConstantUnion.h
| | glslang_c_interface.h
| | glslang_c_shader_types.h
| | InfoSink.h
| | InitializeGlobals.h
| | intermediate.h
| | PoolAlloc.h
| | ResourceLimits.h
| | ShHandle.h
| | SpirvIntrinsics.h
| | Types.h
| |
| +---MachineIndependent
| | | attribute.h
| | | glslang_tab.cpp.h
| | | gl_types.h
| | | Initialize.h
| | | iomapper.h
| | | LiveTraverser.h
| | | localintermediate.h
| | | ParseHelper.h
| | | reflection.h
| | | RemoveTree.h
| | | Scan.h
| | | ScanContext.h
| | | SymbolTable.h
| | | Versions.h
| | | parseVersions.h
| | | propagateNoContraction.h
| | |
| | \---preprocessor
| | PpContext.h
| | PpTokens.h
| |
| +---HLSL
| | hlslAttributes.h
| | hlslParseHelper.h
| | hlslTokens.h
| | hlslScanContext.h
| | hlslOpMap.h
| | hlslTokenStream.h
| | hlslGrammar.h
| | hlslParseables.h
| |
| \---SPIRV
| bitutils.h
| spirv.hpp
| GLSL.std.450.h
| GLSL.ext.EXT.h
| GLSL.ext.KHR.h
| GlslangToSpv.h
| hex_float.h
| Logger.h
| SpvBuilder.h
| spvIR.h
| doc.h
| SpvTools.h
| disassemble.h
| GLSL.ext.AMD.h
| GLSL.ext.NV.h
| NonSemanticDebugPrintf.h
| SPVRemapper.h
|
\---bin
glslangValidator.exe
spirv-remap.exe
from real-esrgan-ncnn-vulkan.
@xinntao This is no longer "just a bunch of cmake deprecation warnings", but I'm getting actual errors now. In other words: this project fails to build nowadays. Worse yet, it is actually being actively used by various upstream projects, such as https://gitlab.gnome.org/World/Upscaler.
The complete cmake log:
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found glslangValidator: /usr/bin/glslangValidator
-- Using glslang install located at /usr/lib/cmake
CMake Warning at /usr/lib/cmake/OSDependentTargets.cmake:2 (message):
Using `OSDependentTargets.cmake` is deprecated: use `find_package(glslang)`
to find glslang CMake targets.
Call Stack (most recent call first):
CMakeLists.txt:110 (include)
CMake Error at /usr/lib/cmake/OSDependentTargets.cmake:8 (add_library):
add_library cannot create ALIAS target "OSDependent" because target
"glslang::OSDependent" does not already exist.
Call Stack (most recent call first):
CMakeLists.txt:110 (include)
CMake Error at CMakeLists.txt:111 (include):
include could not find requested file:
/usr/lib/cmake/OGLCompilerTargets.cmake
CMake Warning at /usr/lib/cmake/glslangTargets.cmake:2 (message):
Using `glslangTargets.cmake` is deprecated: use `find_package(glslang)` to
find glslang CMake targets.
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
CMake Error at /usr/lib/cmake/glslangTargets.cmake:12 (add_library):
add_library cannot create ALIAS target "MachineIndependent" because target
"glslang::MachineIndependent" does not already exist.
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
CMake Error at /usr/lib/cmake/glslangTargets.cmake:13 (add_library):
add_library cannot create ALIAS target "GenericCodeGen" because target
"glslang::GenericCodeGen" does not already exist.
Call Stack (most recent call first):
CMakeLists.txt:116 (include)
CMake Warning at /usr/lib/cmake/SPIRVTargets.cmake:2 (message):
Using `SPIRVTargets.cmake` is deprecated: use `find_package(glslang)` to
find glslang CMake targets.
Call Stack (most recent call first):
CMakeLists.txt:117 (include)
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Configuring incomplete, errors occurred!
The cmake invocation (ran from a fully up-to-date arch linux):
cmake -B build -S "$_pkgname/src" \
-DBUILD_SHARED_LIBS=0 \
-DUSE_SYSTEM_NCNN=1 \
-DUSE_SYSTEM_WEBP=1 \
-DGLSLANG_TARGET_DIR=/usr/lib/cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-Wno-dev
from real-esrgan-ncnn-vulkan.
Related Issues (20)
- Image tiles strangely merge HOT 4
- Please add armhf support (Raspberry Pi 4) HOT 1
- 错误 不知道为啥
- High CPU usage and Low GPU
- How to use without files on disk? HOT 2
- Segfault on MacOS since upgrading to Ventura HOT 4
- Use GPU on M2 Mac?
- Can not convert RealESRGAN output to OpenCV image in C++ HOT 1
- How to convert fintuned RealESRGAN_x4plus pytorch pth file into ncnn-vulkan weight file HOT 2
- vulkan update rtx 4090 please HOT 1
- How to choose / select another model_name ? HOT 1
- 能否提供v3的x1模型?
- libvulkan.so.1 is missing - no guide where to begin HOT 1
- how to convert python model (pth) to ncnn (bin & param) model HOT 4
- How to add new ncnn model to the program and execute in the command line HOT 1
- How do I use this in android app?
- realesrgan-ncnn-vulkan (v0.2.0) stucks/hangs on Google Colab (Ubuntu 22.04 LTS / Tesla T4 GPU /Vulkan 1.3.231) HOT 1
- this app cant run on your PC, please check the software publisher HOT 6
- How to run the binary in Ubuntu? HOT 1
- [QUESTION] as vapoursynth plugin? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from real-esrgan-ncnn-vulkan.