Bug 29029

Summary: mesa-demos scons build fails
Product: Mesa Reporter: nobled <nobled>
Component: DemosAssignee: mesa-dev
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:

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.