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

GLSLANG fails on SHARED mode compilation #2057

Closed
vivazkote opened this issue Sep 27, 2021 · 3 comments
Closed

GLSLANG fails on SHARED mode compilation #2057

vivazkote opened this issue Sep 27, 2021 · 3 comments

Comments

@vivazkote
Copy link

vivazkote commented Sep 27, 2021

GLSLANG fails on SHARED mode compilation. (while Static compilation is good.)
P.S. from 19 september I have good build, so maybe GLSLANG itself messups? i will write on their wall also.

LD	libavfilter/avfilter-8.dll
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x4e): undefined reference to `glslang::TShader::TShader(EShLanguage)'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x82): undefined reference to `glslang::TShader::setStrings(char const* const*, int)'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0xc9): undefined reference to `glslang::TShader::parse(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, glslang::TShader::Includer&)'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0xe9): undefined reference to `glslang::TProgram::TProgram()'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x12a): undefined reference to `glslang::TProgram::link(EShMessages)'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x17f): undefined reference to `glslang::GlslangToSpv(glslang::TIntermediate const&, std::vector<unsigned int, std::allocator<unsigned int> >&, spv::SpvBuildLogger*, glslang::SpvOptions*)'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x1d3): undefined reference to `glslang::TProgram::getInfoLog()'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x203): undefined reference to `glslang::TShader::getInfoLog()'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x2c1): undefined reference to `glslang::InitializeProcess()'
ld.exe: libavfilter/glslang.o:glslang.cpp:(.text+0x309): undefined reference to `glslang::FinalizeProcess()'
collect2.exe: error: ld returned 1 exit status
@vivazkote
Copy link
Author

greg-lunarg replied, that At the moment glslang is not supporting a shared build and not creating any shared objects.
KhronosGroup/glslang#2769
seems, success was accidental ~8

@kimown
Copy link

kimown commented Oct 29, 2021

I have same problem, yesterday I build shared build of ffmpeg+glslang successfully, but today I tried same commands, it always failed, do you have any idea?

@Biswa96
Copy link
Contributor

Biswa96 commented Nov 16, 2021

Is this still a issue now? glslang has shared libraries here https://packages.msys2.org/package/mingw-w64-x86_64-glslang?repo=mingw64

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

3 participants