Difference between revisions of "User:Stefano CiscoSystems/Compiling Issues with Vista and MSV2005"
m (New page: Issue: No textures - all gray world when launching my own compiled) |
|||
Line 1: | Line 1: | ||
= Error: No textures - all gray world when launching my own compiled Viewer = | |||
[[Image:NoTexturesViewerScreenshot.jpg|right|thumb|200px|]] | |||
A picture is worth one thousand words :) | |||
I have very few warnings left in my compilation/linking (probably gonna join them at some point if it might help), and mostly looking for a weird vc80_ib_1.pdb in relation to debug information for llmozlib-vc80 that i took from the Linden official libraries. | |||
To me it sounds like there's some mismatch in one of the libs or the dlls among: openjpeg,libjpeg_6b, or libpng. | |||
Sounds slightly related to [https://jira.secondlife.com/browse/VWR-123 bug VWR-123] | |||
'''That's my guess, but maybe somebody knowing better how things work can point me towards the error straight away?''' | |||
(I already tried using the libs from the Linden Libraries file, and that's no good) | |||
These the library versions i use (or tried using but did not work): | |||
<code><pre> | |||
c-ares: 1.4.0 | |||
expat: 2.0.1 | |||
jpegsrc: 6b | |||
libogg: 1.1.3 | |||
libvorbis: 1.2.0 | |||
openjpeg: 1.2 | |||
openssl: 0.9.8e | |||
TUT: 2006-11-04 | |||
xmlrpc-epi: 0.51 | |||
zlib: 1.2.3 | |||
apr: 1.2.11 | |||
apr-iconv: 1.2.10 | |||
apr-util: 1.2.10 | |||
boost: 1.34.1 | |||
curl: 7.17.0 | |||
fmodapi: 3.7.5 | |||
freetype: 2.3.4 | |||
libpng: 1.2.8 (had some issues compiling this with zlib) | |||
</pre></code> | |||
'''Is there a way to understand if the libraries I am linking are fine without doing the full link and launching the client trial and error procedure?''' Like, a version browser or something. | |||
== My notes on the 3rd party libraries == | |||
In general, some libraries I ended up using the pre-compiled ones downloaded from the wiki because following the instructions to compile the 3rd party libraries would keep on hitting missing symbols. Without a list of the required versions (unless the one [https://wiki.secondlife.com/wiki/Third_Party_Libraries here] is really up-to-date?), and with compile instructions that are not always working with 2005, it has been really painful. | |||
=== Freetype === | |||
Freetype, stick with 2.3.4: 2.3.5 was not working with me, missing some symbols. | |||
=== Ares === | |||
What the he&&?! I could find no info on what's missing wrt to the C-Ares libraries. | |||
The VS project comes requiring even a libares.lib library, but I noticed that removing that requirement but still adding and /ares/ares.h subdirectory for the includes solve the issue. | |||
I wonder if everything necessary is inside the curl library already? | |||
=== cURL === | |||
I really did not manage to get libraries that would link. I ended up using the Linden ones. | |||
=== ZLib/PNG12 === | |||
Had some problems too | |||
=== TUT === | |||
Only version: 2006-11-04 | |||
works with the patch. |
Revision as of 09:52, 18 October 2007
Error: No textures - all gray world when launching my own compiled Viewer
A picture is worth one thousand words :)
I have very few warnings left in my compilation/linking (probably gonna join them at some point if it might help), and mostly looking for a weird vc80_ib_1.pdb in relation to debug information for llmozlib-vc80 that i took from the Linden official libraries.
To me it sounds like there's some mismatch in one of the libs or the dlls among: openjpeg,libjpeg_6b, or libpng. Sounds slightly related to bug VWR-123 That's my guess, but maybe somebody knowing better how things work can point me towards the error straight away?
(I already tried using the libs from the Linden Libraries file, and that's no good)
These the library versions i use (or tried using but did not work):
c-ares: 1.4.0
expat: 2.0.1
jpegsrc: 6b
libogg: 1.1.3
libvorbis: 1.2.0
openjpeg: 1.2
openssl: 0.9.8e
TUT: 2006-11-04
xmlrpc-epi: 0.51
zlib: 1.2.3
apr: 1.2.11
apr-iconv: 1.2.10
apr-util: 1.2.10
boost: 1.34.1
curl: 7.17.0
fmodapi: 3.7.5
freetype: 2.3.4
libpng: 1.2.8 (had some issues compiling this with zlib)
Is there a way to understand if the libraries I am linking are fine without doing the full link and launching the client trial and error procedure? Like, a version browser or something.
My notes on the 3rd party libraries
In general, some libraries I ended up using the pre-compiled ones downloaded from the wiki because following the instructions to compile the 3rd party libraries would keep on hitting missing symbols. Without a list of the required versions (unless the one here is really up-to-date?), and with compile instructions that are not always working with 2005, it has been really painful.
Freetype
Freetype, stick with 2.3.4: 2.3.5 was not working with me, missing some symbols.
Ares
What the he&&?! I could find no info on what's missing wrt to the C-Ares libraries. The VS project comes requiring even a libares.lib library, but I noticed that removing that requirement but still adding and /ares/ares.h subdirectory for the includes solve the issue. I wonder if everything necessary is inside the curl library already?
cURL
I really did not manage to get libraries that would link. I ended up using the Linden ones.
ZLib/PNG12
Had some problems too
TUT
Only version: 2006-11-04 works with the patch.