[sldev] Documenting the viewer source

Dale Mahalko dmahalko at gmail.com
Sat Jul 19 10:06:43 PDT 2008


After doing some more testing, I see that right-clicking on a
definition like "F32" only works within "llcommon.vcproj", but does
not work in other projects such as "newview.vcproj".

If it's supposed to "just work" then I probably don't have VS2003 set
up correctly, and something needs to be done to make VS2003 load all
these projects simultaneously or tell it to look across all the
various project files to find source definitions across all of them.

------------------------------------

Fresh reinstall of VS2003 on Windows XP:

1. Create working directory "C:\SL_Viewer_Builds\1_20_12_RC"
2. 7-Zip: Unzip "slviewer-src-Branch_1-20-Viewer-2-r90824.zip" to here
3. 7-Zip: Unzip "slviewer-artwork-Branch_1-20-Viewer-2-r90824.zip" to here
4. 7-Zip: Unzip "slviewer-win32-libs-Branch_1-20-Viewer-2-r90824.zip" to here
5. Copy the additional 3rd party libs into here (Fmod, Qucktime)
6. Open VS2003, open project "\linden\indra\newview\newview.vcproj"

Solution "Newview" -> expand "Source Files" -> open "llagent.cpp" at
top as random test subject

In section:
// Mousewheel camera zoom
const F32 MIN_ZOOM_FRACTION = 0.25f;
const F32 INITIAL_ZOOM_FRACTION = 1.f;

Right-click on "F32", select "Go to Definition"
*** ERROR: Microsoft Development Environment / The symbol 'F32' is not defined.

Right-click on "F32", select "Go to Declaration"
*** ERROR: Microsoft Development Environment / The symbol 'F32' is not defined.

-----------------------------------------------

In project "linden\indra\llcommon\llcommon.vcproj", if I right-click
on "F32" in "llapp.cpp", and select "go to definition" or "go to
declaration", it does open stdtypes.h and jump to the referenced line.

Having llcommon.vcproj open in another window has no effect on the
newview project. It still says "not defined" if I right-click on F32
in llagent.cpp in newview.vcproj.


- Scalar Tardis / Dale Mahalko



On Sat, Jul 19, 2008 at 3:00 AM, Dante Tucker <danteferret at gmail.com> wrote:
> hmm.... Usualy i just right click on it, and it gives you options like that,
> to follow it through to where it was declared etc.
>


More information about the SLDev mailing list