Bug 27748 - MesaLib-7.8.1.zip windows compilation error
Summary: MesaLib-7.8.1.zip windows compilation error
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: All Windows (All)
: medium major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-20 03:32 UTC by remi
Modified: 2010-08-17 13:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description remi 2010-04-20 03:32:17 UTC
Compiling...
1>slang_compile.c
1>..\..\..\..\src\mesa\shader\slang\slang_compile.c(2797) : fatal error C1083: Cannot open include file: 'library/slang_core_gc.h': No such file or directory
Comment 1 Karl Schultz 2010-04-20 11:05:01 UTC
I built from the zip files today with no errors.

library/slang_core_gc.h is a file that is generated at build time by the shader compiler to create pre-defined shaders.

The glsl_apps_compile project within the solution builds this shader compiler executable and then the build system invokes this shader compiler during the building of the mesa project to generate the slang_core_gc.h header file, along with a few others.

Normally, if you build the entire solution, this should just work, as the shader compiler executable is built before the mesa project.  However, if you force build the mesa project without building the shader compiler (in the glsl_apps_compile project), then the header file will be missing.  The dependencies in the solution are set up to build things in the right order, unless they are overridden.

Please be sure you are building glsl_apps_compile before building mesa.

If the problem persists, please post the complete log file.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.