[sldev] Compile errors of SL viewer 1.20 in VS2005

Felix Duesenburg kfa at gmx.net
Fri Apr 25 03:26:14 PDT 2008


Hi,

I think you first need to make sure that your build environment is setup
properly. Actually you shouldn't get these include errors then.

http://wiki.secondlife.com/wiki/Microsoft_Visual_Studio
http://wiki.secondlife.com/wiki/Compiling_the_viewer_%28MSVS2005%29
http://wiki.secondlife.com/wiki/Converting_project_files_for_MSVS2005

The last step shouldn't be necessary anymore, but it helps looking there
in case you still run into trouble.

Good luck!

Felix


wuhanzymail wrote:
> Hi,
>  
> This is the first time I compile secondlife viewer using VS2005. I download source code of 1.20 (slviewer-src-Branch_1-20-Viewer-r85643) and try to compile them but get below errors:
>  
> 1>------ Build started: Project: lscript_compile, Configuration: ReleaseNoOpt Win32 ------
> 1>Compiling...
> 1>lex_yy.cpp
> 1>...\linden\indra\lscript\lscript_compile\lex_yy.cpp(2514) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
> 1>Build log was saved at "...\linden\indra\lscript\lscript_compile\ReleaseNoOpt\BuildLog.htm"
> 1>lscript_compile - 1 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
>  
>  
> 1>------ Build started: Project: newview, Configuration: ReleaseNoOpt Win32 ------
> 1>Compiling resources...
> 1>.\res\newViewRes.rc(66) : error RC2135 : file not found: icon1.ico
> 1>.\res\newViewRes.rc(224) : error RC2135 : file not found: toolplay.cur
> 1>.\res\newViewRes.rc(225) : error RC2135 : file not found: toolpause.cur
> 1>.\res\newViewRes.rc(226) : error RC2135 : file not found: toolmediaopen.cur
> 1>Build log was saved at "...\linden\indra\newview\ReleaseNoOpt\BuildLog.htm"
> 1>newview - 4 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
>  
>  
> 1>------ Build started: Project: win_crash_logger, Configuration: ReleaseNoOpt Win32 ------
> 1>Compiling...
> 1>llcrashloggerwindows.cpp
> 1>...\linden\libraries\include\boost/utility/enable_if.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
> 1>...\linden\libraries\include\boost/utility/enable_if.hpp : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
> 1>.\llcrashloggerwindows.cpp(102) : error C2440: 'initializing' : cannot convert from 'llutf16string' to 'std::basic_string<_Elem,_Traits,_Ax>'
> 1>        with
> 1>        [
> 1>            _Elem=wchar_t,
> 1>            _Traits=std::char_traits<wchar_t>,
> 1>            _Ax=std::allocator<wchar_t>
> 1>        ]
> 1>        No constructor could take the source type, or constructor overload resolution was ambiguous
> 1>Build log was saved at "...\linden\indra\win_crash_logger\ReleaseNoOpt\BuildLog.htm"
> 1>win_crash_logger - 1 error(s), 2 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
>  
> I don't know what's the problems. Would you please give me some suggestions or solutions? I will appreciate for that. Thank you very much!
>  
> Best Regards,
> Ying
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html



More information about the SLDev mailing list