Difference between revisions of "Talk:Compiling the viewer (Mac OS X)"

From Second Life Wiki
Jump to navigation Jump to search
(Requested information to help track down environment-specific issues)
(build the project w/ gcc 3.3 or 4.0?)
Line 27: Line 27:
:How does it run compared to the Linden Labs' release? [[User:David Frantisek|David Frantisek]] 00:22, 12 January 2007 (PST)
:How does it run compared to the Linden Labs' release? [[User:David Frantisek|David Frantisek]] 00:22, 12 January 2007 (PST)
:: Even slower. I'll pop in some more memory and see if that helps. [[User:Phineas Pegler|Phineas Pegler]] 10:06, 12 January 2007 (EST)
:: Even slower. I'll pop in some more memory and see if that helps. [[User:Phineas Pegler|Phineas Pegler]] 10:06, 12 January 2007 (EST)
== build the project w/ gcc 3.3 or 4.0? ==
In the section "Building the Viewer", it describes setting up and building, then changing your gcc back to 4.0.  When I tried building with gcc set to 3.3, I got lots of errors about std::isfinite not defined (sorry I did not copy the exact error).
When I set gcc to 4.0 first, then built, I was able to build the client a-ok.  I was thinking of reversing the two paragraphs (gcc 4.0 first, then build project) -- but I don't have any knowledge of the gcc, so figured I'd ask here.

Revision as of 20:06, 4 February 2007

PLEASE NOTE

When you report any problem, PLEASE post your OS version and version of Xcode. This will help identify the environments that have issues, and allow the creation of workarounds specific to those environments. Thank you! Hunting Hare 01:36, 15 January 2007 (PST)

Mozilla

I'm a bit confused about the Mozilla lib dependency--perhaps if someone knew what was actually required to be compiled (even if it would be somewhat difficult) we could at least try. :-) Thanks. David Frantisek 19:55, 8 January 2007 (PST)

Problems with directions

It seems like there are a couple places here where problems are created because of the use of "../.." I'm not all that familiar with use of the terminal, but I think this puts you in your home directory, which is okay as long as that's the top-level of your project, but not if the top-level is ~/Desktop or somewhere else entirely. David Frantisek 19:55, 8 January 2007 (PST)

../.. refers to the parent of the parent folder -- from /Users/yourusername/ , ../.. would refer to the root directory that contains the Users folder. Remember, Mac OS X has the technological underpinning of BSD UNIX. If you're not familiar with the use of the Terminal, then you will likely find a book on using UNIX very helpful. For reference, the single character ~ refers to your home directory but only if it's used as the first element of a path specification -- ~/Desktop refers to your Desktop folder. ~username/ refers to the home directory of username. Hunting Hare 01:36, 15 January 2007 (PST)

Curl

In the download of the SL libs, header files for Curl are included. Is this something that should is also required for a succesful build? Thanks. David Frantisek 19:57, 8 January 2007 (PST)

OpenJPEG

At least on my Macbook Pro, the latest (1.1) version of OpenJPEG would not compile, giving the error "make: *** No rule to make target `libopenjpeg/fix.o', needed by `libopenjpeg.a'. Stop.". Downloading the 1.0 version and following the instructions worked fine. Phineas Pegler 22:48, 8 January 2007 (EST)

I had the same experience, although I didn't try the 1.0 version - thanks for the suggestion :-) David Frantisek 00:21, 12 January 2007 (PST)

Compiling/Running on OS X

I have the client successfully built and running on my Macbook Pro running 10.4.8 and XCode 2.2.1, using the linden library tarball. The only stumbling block is that it would not run using the "Development" build configuration, only under the "Deployment" config. Running under "Development" crashed on startup within Freetype, with a EXC_BAD_ACCESS. Phineas Pegler 15:48, 11 January 2007 (EST)

How does it run compared to the Linden Labs' release? David Frantisek 00:22, 12 January 2007 (PST)
Even slower. I'll pop in some more memory and see if that helps. Phineas Pegler 10:06, 12 January 2007 (EST)

build the project w/ gcc 3.3 or 4.0?

In the section "Building the Viewer", it describes setting up and building, then changing your gcc back to 4.0. When I tried building with gcc set to 3.3, I got lots of errors about std::isfinite not defined (sorry I did not copy the exact error).

When I set gcc to 4.0 first, then built, I was able to build the client a-ok. I was thinking of reversing the two paragraphs (gcc 4.0 first, then build project) -- but I don't have any knowledge of the gcc, so figured I'd ask here.