[sldev] Patch VS 2005EE compilation problems, missing files in the source tarball 80044.

norritt at t-online.de norritt at t-online.de
Mon Mar 3 06:20:08 PST 2008


Hello everyone,

I just tried to build the Windlight Firstlook Viewer tarball
1.19.0.80044. I ran into several compiler errors due to implicit
typecasts VS 2005 EE couldn't resolve. Anyhow I managed to write a
code patch to resolve these issues.

During the first build I got a list of error messages similar to
the output Adam Zaius posted on the wiki:

https://wiki.secondlife.com/wiki/User:Adam_Zaius/MSVS2005_Errors

I succeeded in reducing the compiler errors so far. Though three errors
remain. The workarounds listed in the wiki don't help since neiter
ytab.hpp, ytab.spp nor ytab.h exist in the tarball. I got the same
problem with lex_yy.cpp/h/hpp. (The VC++ Lib/Include/Exec paths are all
set correctly, I also added the Python and cygwin binary paths).

Finally I ran into this error:

LINK : fatal error LNK1181: cannot open input file
'..\lib_release\i686-win32\lscript_compile.lib'

I couldn't find any info why this occurs at all. Has anyone experienced
similar problems? I'd be happy about suggestions on how to fix this so I
hopefully can test my patch before the next release. If I can verify it
I'll submit the diff patch so the VS2005 EE build will be possible
without any problems.

Here is the complete output of the remaining errors:

1>------ Build started: Project: lscript_compile_fb, Configuration:
Release Win32 ------
1>Building ytab.cpp
1>/usr/local/share/bison.simple: No such file or directory
1>bison.exe: mv.exe: ytab.hpp: No such file or directory
1>Project : error PRJ0019: A tool returned an error code from "Building
ytab.cpp"
1>Build log was saved at
"file://h:\sl\wl\linden\indra\lscript\lscript_compile\Release_fb\BuildLog.htm"
1>lscript_compile_fb - 1 error(s), 0 warning(s)
2>------ Build started: Project: lscript_compile, Configuration: Release
Win32 ------
2>Compiling...
2>ytab.cpp
2>c1xx : fatal error C1083: Cannot open source file: '.\ytab.cpp': No
such file or directory
2>lex_yy.cpp
2>c1xx : fatal error C1083: Cannot open source file: '.\lex_yy.cpp': No
such file or directory
2>Generating Code...
2>Build log was saved at
"file://h:\sl\wl\linden\indra\lscript\lscript_compile\Release\BuildLog.htm"
2>lscript_compile - 2 error(s), 0 warning(s)
3>------ Build started: Project: newview, Configuration:
ReleaseForDownload Win32 ------
3>Executing pre-build batch file
3>master:
http://secondlife.com/app/message_template/master_message_template.msg
3>current: h:\sl\wl\linden\scripts\messages\message_template.msg
3>--- PASS ---
3>Newer
3> in message GroupProposalBallot: is more deprecated: UDPDeprecated vs.
NotDeprecated in base
3> in message AgentDropGroup: is more deprecated: UDPDeprecated vs.
NotDeprecated in base
3> in message ScriptRunningReply: is more deprecated: UDPDeprecated vs.
NotDeprecated in base
3> in message StartGroupProposal: is more deprecated: UDPDeprecated vs.
NotDeprecated in base
3> in message ParcelProperties: has 1 extra blocks
3>
3>PREBUILD SUCCESSFUL
3>Linking...
3>LINK : fatal error LNK1181: cannot open input file
'..\lib_release\i686-win32\lscript_compile.lib'
3>Build log was saved at
"file://h:\sl\wl\linden\indra\newview\ReleaseForDownload\BuildLog.htm"
3>newview - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 19 up-to-date, 0 skipped ==========

-- 
Yours Sincerely
norritt Xi
mailto: norritt at bytefortress.de

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.8 (MingW32)

mQGiBEd/pHwRBADUxOJrsDdvgt1luNwZ15WSSR55qQWPxRgp7zeSu5TX6OWdV5aW
knA+sJliuQ+2za+MAdSZsSmc//FaRFnSil7QavzBK0CwW0C6Af5gYPiLMRZtzK70
UCee4/NmSdfwTrhMc4QfY1tgbMWJccyR4QPoXDntuQCxOdeSSjhoZKD8PwCgvtk6
NZI9beq1xKfPuxg4uoPkrfMEAKZB7TSJVh+S2Va/5SEX5SCYOKH7jPaou4VPFK8v
bmohTRVV3lgSmEYFWW6eIF7fqRydbaY2cPAjn4wVmG1nGf9hbABudYiCai4XZrNO
ZiF2xtyUMJLAfqzq3YV6Z6e8iMkIhjEEV/wvzYD676yw3ZSuf5eJ7QQwqJfHOw9d
syCLBACguFlkj3VVlTCCfQ5U5YQVaax3sk3CSlx4FbpdG0nr3eb8pi8XTTsbrozh
ToGtVHc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