[Mesa-dev] Mesa (master): glsl: Autogenerate builtin_functions.cpp as part of the build process.

Vinson Lee vlee at vmware.com
Tue Jan 11 23:15:01 PST 2011


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.

--Kenneth


More information about the mesa-dev mailing list