Hello. I have successfully downloaded 1.22.11 source code and compiled it using VS2005 on WinXP machine. However I have ran into a weird problem. If I include a #include "llviewerinventory.h" it generates a whole bunch of error messages in compiler. Here is what they are:
1>c:\documents and settings\entheogen\my documents\school\vital lab\3d ide\new sl en\sl_1_22_11\linden\indra\llcommon\llstringtable.h(68) : error C2220: warning treated as error - no 'object' file generated 1>c:\documents and settings\entheogen\my documents\school\vital lab\3d ide\new sl en\sl_1_22_11\linden\indra\llcommon\llstringtable.h(68) : warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(151) : error C2061: syntax error : identifier 'LLFILE' 1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(152) : error C2061: syntax error : identifier 'LLFILE' 1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(152) : error C2059: syntax error : ')' 1>C:\Documents and Settings\Entheogen\My Documents\school\VITAL Lab\3d IDE\new SL EN\sl_1_22_11\linden\indra\llxml\llxmlnode.h(152) : error C2143: syntax error : missing ')' before ';' 1>c:\documents and settings\entheogen\my documents\school\vital lab\3d ide\new sl en\sl_1_22_11\linden\indra\llinventory\llpermissions.h(305) : error C2061: syntax error : identifier 'LLFILE' 1>c:\documents and settings\entheogen\my documents\school\vital lab\3d ide\new sl en\sl_1_22_11\linden\indra\llinventory\llpermissions.h(306) : error C2061: syntax error : identifier 'LLFILE' 1>c:\documents and settings\entheogen\my documents\school\vital lab\3d ide\new sl en\sl_1_22_11\linden\indra\llinventory\llpermissions.h(364) : fatal error C1903: unable to recover from previous error(s); stopping compilation If I omitt the include then everything compiles fine. I am talking about including this just from an otherwise empty .h file (with macroguards). It wasn't empty originally but I commented everything out to find source of the problem, and the source is definetly this line that includes llviewerinventory.h Any help is highly appreciated. Sincerely, Lev A. Neiman.
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges
