[Mesa-dev] Mesa (master): glsl: Autogenerate builtin_functions.cpp as part of the build process.
jfonseca at vmware.com
Wed Jan 12 09:11:31 PST 2011
I've fixed the getopt.h dependency and talloc linking. MSVC is now
building without errors.
MinGW cross-compilation is still broken because a different compiler
must be used for builtin_functions (ordinary gcc instead of
This was also necessary for Michal's glsl frontend, so I'll bring back
the scons glue from that time.
On Tue, 2011-01-11 at 23:15 -0800, Vinson Lee wrote:
> Windows MSVC SCons build
> src\glsl\main.cpp(25) : fatal error C1083: Cannot open include file: 'getopt.h': No such file or directory
> Linux MinGW SCons build
> Linking build/windows-x86-debug/glsl/builtin_compiler.exe ...
> /usr/lib/gcc/i586-mingw32msvc/4.4.4/../../../../i586-mingw32msvc/bin/ld: cannot find -ltalloc
> From: Kenneth Graunke [kenneth at whitecape.org]
> Sent: Tuesday, January 11, 2011 9:59 PM
> To: Vinson Lee
> Cc: mesa-dev at lists.freedesktop.org
> Subject: Re: Mesa (master): glsl: Autogenerate builtin_functions.cpp as part of the build process.
> On Monday, January 10, 2011 11:31:19 pm you wrote:
> > Hi Kenneth,
> > This commit introduced build breakages with the MSVC SCons build and the
> > MinGW SCons build.
> > Vinson
> (CC'd mesa-dev)
> Hi Vinson,
> I assume it's trouble linking with talloc? I'd talked to Jakob about that on
> IRC - apparently on Linux you need 'talloc' (quoted literal) in the LIBS,
> while on Windows you need talloc (no ''s - a variable reference). He said to
> just put 'talloc' and "we will fix it."
> Or, did it break somewhere else...? Aside from reverting it (which I'm loathe
> to do), I'm not sure how to fix this.
> Sorry for the trouble.
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
More information about the mesa-dev