Comments (2)
Would you like this documented?
Yes please! This was brought to my attention some time ago but it was never addressed.
Is "shaderc" necessary for the vulkan renderer?
Short answer:
Sadly yes. Shaderc is a gigantic dependency from which we use little of it but it is needed to get glslang properly working in all platforms.
Long answer:
In theory we shouldn't need it because we only needed glslang (shaderc is a compilation of tools, and includes glslang and a stable C interface to glslang we don't actually use) and I had trouble to link against glslang directly in all the configurations we have (Debug, Release, C++98, C++ >= 11, Android, Linux, Windows) while with shaderc it just worked.
It didn't make any sense, but Google somehow sorted that out.
Without glslang we cannot compile glsl shaders; which is currently the only shader format we support for Vulkan.
from ogre-next-deps.
@darksylinc, Another issue I just got, all the dependencies build fine in debug/release, but when building the "INSTALL" project:
"/OUT:.....\ogre-next-deps\build\src\shaderc-prefix\src\shaderc-build\libshaderc_util\Debug\shaderc_util.lib" /NOLOGO /MACHINE:X64 /machine:x64 shaderc_util.dir\Debug\args.obj
2> shaderc_util.dir\Debug\compiler.obj
2> shaderc_util.dir\Debug\file_finder.obj
2> shaderc_util.dir\Debug\io.obj
2> shaderc_util.dir\Debug\message.obj
2>LINK : fatal error LNK1104: cannot open file 'shaderc_util.dir\Debug\message.obj' [...\ogre-next-deps\build\src\shaderc-prefix\src\shaderc-build\libshaderc_util\shaderc_util.vcxproj]
2>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for '...\ogre-next-deps\build\CMakeFiles\d14543c6218fc9f077e713722cf889fe\shaderc-build.rule;...\ogre-next-deps\build\CMakeFiles\d14543c6218fc9f077e713722cf889fe\shaderc-install.rule;...\ogre-next-deps\build\CMakeFiles\b42f6240be198c9ffb646529365d769a\shaderc-complete.rule;...\ogre-next-deps\build\CMakeFiles\f54f24ee0f59ec4d2c4f5236caa1b932\shaderc.rule' exited with code 1.
2>Done building project "shaderc.vcxproj" -- FAILED.
For both debug and release. The debug and release "message.obj" files exist at "...\ogre-next-deps\build\src\shaderc-prefix\src\shaderc-build\libshaderc_util\shaderc_util.dir[Debug|Release]".
Am I doing something stupid?
from ogre-next-deps.
Related Issues (10)
- SDL2 missing HOT 1
- Freeimage doesn't build with latest VS 2019 versions HOT 1
- Cannot compile under Android HOT 2
- Compiler errors building FreeImage under Linux HOT 3
- shaderc Link error when compiling INSTALL.sln HOT 5
- link error building Remotery for macOS with Xcode 14.3 beta HOT 3
- vs error at shaderc HOT 2
- FreeImage can't compile on Windows because std::binary_function was moved in MSVC 14
- Relative or absolute CMAKE_INSTALL_XXXDIR variables. HOT 4
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 ogre-next-deps.