Bug 29029 - mesa-demos scons build fails
Summary: mesa-demos scons build fails
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Demos (show other bugs)
Version: git
Hardware: Other Windows (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 14:22 UTC by nobled
Modified: 2011-03-03 06:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description nobled 2010-07-12 14:22:03 UTC
Mesa demos git checkout: 97af09dccce27cf80b421d41449c9776aec8af6d
OS: Windows XP SP3
Compiler: MSVC 10.0 (aka Visual Studio C++ 2010)

The error message is different each time, and usually the text is almost completely garbled, but the scons build on Windows always fails trying to link arbfslight.exe, complaining about X number of 'unresolved externals' (the number of them keeps changing from build to build).

For example:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
  Linking build\windows-x86-debug\demos\arbfplight.exe ...
  Linking build\windows-x86-debug\demos\arbfslight.exe ...
arbfplight.obj : error LNK2019: unresolved external symbol __imp__glewInit referenced in function _main
arbfplight.obj : error LNK2001: unresolved external symbol __imp____glewProgramLocalParameter4fvARB
arbfplight.obj : error LNK2001: unresolved external symbol __imp____glewDeleteProgramsARB
arbfplight.obj : error LNK2001: unresolved external symbol __imp____glewGetProgramLocalParameterdvARB
arbfplight.obj : error LNK2001: unresolved external symbol __imp____glewProgramLocalParameter4dARB
arbfplight.obj : error LNK2001: unresolved external symbol __imp____glewIsProgramARB
arbfplight.obj : error LNK2001: unresolved external symbol __imp____glewProgramStringARB
arbfplight.obj : error LNK2001: unresolved external symarbfsligbol __imp____glewBindProgramARB
ahrtb.objf p: leirgrhotr. obLjN : error LNK2001: unresolKv2e0d1 9e:xternal symbol __imp____glewGenProgra musnArReBs
obluvieldd \ewxitnedronwasl- xs8y6m-bdoelb ug\_dem_oism\pa_rb_fgplleiwgIhnitt. exre : effaetraeln cererodr in f uncLNtKi
1o120: n9 unre s_main
olved externaarlbsf
slight.obj : error LNK2001: unresolved external symbol __imp____glewUniform3fvARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewUseProgramObjectARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewUniform4fvARB
arbfslight.obj : error Lscons: *** [build\windows-x86-debug\demos\arbfplight.exe] Error 1120
NK2001: unresolved external symbol __imp____glewGetUniformLocationARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewLinkProgramARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewAttachObjectARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgramObjectARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewCompileShaderARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewShaderSourceARB
arbfslight.obj : error LNK2001: unresolved external symbol __imp____glewCreateShaderObjectARB
build\windows-x86-debug\demos\arbfslight.exe : fatal error LNK1120: 11 unresolved externals
scons: *** [build\windows-x86-debug\demos\arbfslight.exe] Error 1120
scons: building terminated because of errors.
Comment 1 Marek Olšák 2011-03-03 06:13:14 UTC
Demos are now in a separate repository and there are no scons build scripts. Closing.


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.