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

need help #1

Open
magicse opened this issue Aug 28, 2022 · 1 comment
Open

need help #1

magicse opened this issue Aug 28, 2022 · 1 comment

Comments

@magicse
Copy link

magicse commented Aug 28, 2022

Hi, thank you for your work.
Could you help me.
I have this CMakeLists.txt file.
From this project Real-ESRGAN-ncnn-vulkan
But I always get next errors from Cmake, GLSLang_DIR - pointed to Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/lib/cmake

Found glslangValidator: Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/Vulkan_SDK/Bin/glslangValidator.exe
Using glslang install located at Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/lib/cmake
CMake Warning at Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/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 Warning at Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/lib/cmake/OGLCompilerTargets.cmake:2 (message):
  Using `OGLCompilerTargets.cmake` is deprecated: use `find_package(glslang)`
  to find glslang CMake targets.
Call Stack (most recent call first):
  CMakeLists.txt:111 (include)


CMake Warning at Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/lib/cmake/HLSLTargets.cmake:2 (message):
  Using `HLSLTargets.cmake` is deprecated: use `find_package(glslang)` to
  find glslang CMake targets.
Call Stack (most recent call first):
  CMakeLists.txt:114 (include)


CMake Warning at Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/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 Warning at Z:/AI_SDK/CPP_GFPGAN/Real-ESRGAN-ncnn-vulkan/vulkan/glslang-master-tot/Build/install/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)


CMake Error at CMakeLists.txt:245 (message):
  The submodules were not downloaded! Please update submodules with "git
  submodule update --init --recursive" and try again.


Configuring incomplete, errors occurred!
@magicse
Copy link
Author

magicse commented Aug 28, 2022

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 

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