Changeset 26531
- Timestamp:
- 2007-03-03 11:34:44 (4 years ago)
- Location:
- CS/trunk/docs/texinfo
- Files:
-
- 4 modified
-
build/extlibs.txi (modified) (2 diffs)
-
build/platform/win32/msvc/msvc7.txi (modified) (3 diffs)
-
build/sysreq.txi (modified) (1 diff)
-
usingcs/scf/smartptr.txi (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CS/trunk/docs/texinfo/build/extlibs.txi
r26526 r26531 143 143 144 144 This is needed to enable graphical output on a number of Unix-like operating 145 systems, most prominently @sc{gnu}/Linux. It is \emph{not} needed for Windows145 systems, most prominently @sc{gnu}/Linux. It is @emph{not} needed for Windows 146 146 or MacOS/X. 147 147 … … 158 158 @cindex Libraries, OpenGL 159 159 160 OpenGL is needed to provide accelerated 3D graphics \emph{on all platforms}.160 OpenGL is needed to provide accelerated 3D graphics @emph{on all platforms}. 161 161 162 162 No special effort is usually needed to install the development components on -
CS/trunk/docs/texinfo/build/platform/win32/msvc/msvc7.txi
r26339 r26531 224 224 Q1. @emph{I'm using the Visual C++ 2005 Express Edition and I get a lot of 225 225 ``file not found'' errors for @file{windef.h} and others. What is wrong?} 226 226 227 Q2. @emph{I'm using the Visual C++ 2005 Express Edition and I get a lot of 227 228 ``unresolved symbol'' errors for names like … … 265 266 266 267 @item 267 Q. @emph{I've got unresolved symbols.}268 269 A. What kind of symbols?270 271 @itemize @minus272 @item273 @samp{_png_@dots{}}: That means that you don't link the project with274 @file{libpng.lib}. Just take a look below where it is explained how to do so.275 276 @item277 @samp{_inflate@dots{}} and @samp{_deflate@dots{}}: Well, it seems to your278 project lacks @file{zlib.lib}. The trick is explained just below, so hang on.279 280 @item281 @samp{_DirectDraw@dots{}}: Same as above, but for @file{ddraw.lib} (DirectX282 component), look below.283 284 @item285 268 Q. @emph{How can I reduce build times?} 286 269 … … 293 276 @item 294 277 Q. @emph{How can I reduce build sizes?} 278 295 279 A. Build only the projects you will need. 280 296 281 A. Turning off precompiled headers tends to save a large amount of file space 297 282 while increasing build times somewhat. 298 283 299 284 @item 300 Any others: It seems that there is a missing source file in the project. 301 302 For Crystal Space the MSVC project files are generated once every 24 hours, so303 normally all missing sources should have been added after that time. If you 304 can't wait that long, or the file is still missing, contact one of the Crystal 305 Space developers.285 Q. @emph{It seems that there is a missing source file in the project.} 286 287 A. For Crystal Space the MSVC project files are generated once every 24 hours, 288 so normally all missing sources should have been added after that time. If 289 you can't wait that long, or the file is still missing, contact one of the 290 Crystal Space developers. 306 291 307 292 For third party projects it's usually the best idea to contact one of it's 308 293 developers, they should be able to tell you which file is missing. 294 @end itemize 309 295 310 296 @subsubheading Executing -
CS/trunk/docs/texinfo/build/sysreq.txi
r26526 r26531 72 72 @item X Window System 73 73 This is needed to enable graphical output on a number of Unix-like operating 74 systems, most prominently @sc{gnu}/Linux. It is \emph{not} needed for Windows74 systems, most prominently @sc{gnu}/Linux. It is @emph{not} needed for Windows 75 75 or MacOS/X. 76 76 77 77 @item OpenGL 78 OpenGL is needed to provide accelerated 3D graphics \emph{on all platforms}.78 OpenGL is needed to provide accelerated 3D graphics @emph{on all platforms}. 79 79 80 80 Note that no special effort is usually needed to install the development -
CS/trunk/docs/texinfo/usingcs/scf/smartptr.txi
r26378 r26531 97 97 need to be aware of the interactions with reference counting. 98 98 99 Assigning a smart pointer to a normal pointer \emph{does not} change the99 Assigning a smart pointer to a normal pointer @emph{does not} change the 100 100 reference count of the object. This can be beneficial as the reference 101 101 counting overhead is avoided. It can also be dangerous, as the normal pointer … … 105 105 the normal pointer. If that's not guaranteed use a @code{csRef<>} instead. 106 106 107 Assigning a normal pointer to a smart pointer \emph{does} change the reference107 Assigning a normal pointer to a smart pointer @emph{does} change the reference 108 108 count: ownership is taken, ie the reference count is increased. This can 109 109 cause a leaked reference in certain circumstances. One notable instance is … … 114 114 leak. 115 115 116 The recommend way to deal with that is to \emph{never} assign an object116 The recommend way to deal with that is to @emph{never} assign an object 117 117 allocated with @samp{new} to a smart pointer directly. Instead use it's 118 118 @code{AttachNew()} method which will take care of the proper reference … … 399 399 @code{csRef<>} object to take ownership. 400 400 401 @example 402 // Passing a csRef<iFoo> as parameter: usually unnecessary 403 void Bar (csRef<iFoo>& stuff) @{ @dots{} @} 404 405 // iFoo* is usually completely adequate 406 void Baz (iFoo* stuff) 407 @{ 408 @dots{} 409 /* If 'stuff' runs the risk of being released you can always assign it to 410 * a csRef<> in the function body. */ 411 csRef<iFoo> keepRef = stuff; 412 @dots{} 413 @} 414 @end example 415 401 416 @subsubheading Warnings About csPtr<>! 402 417
