[opensource-dev] Review Request: Windows debug build fails at run time because of an absent openjpeg.dll.

Boroondas Gupte sllists at boroon.dasgupta.ch
Sun Aug 21 02:03:38 PDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/445/#review984
-----------------------------------------------------------


> Note: In code comments are for code review only and will be removed.
As the comments indicate that this is a temporary hack, they should go in with the code, if the code is to go in. That is crucial information to anyone editing that code.

Though, is there a reason why we can't just fix this the right way right away instead of working around the problem first?


indra/cmake/Copy3rdPartyLibs.cmake
<http://codereview.secondlife.com/r/445/#comment1001>

    Don't add trailing whitespace.



indra/cmake/Copy3rdPartyLibs.cmake
<http://codereview.secondlife.com/r/445/#comment1002>

    Removing the '[' here leaves the ']' unbalanced, so I doubt that's right.


- Boroondas


On Aug. 20, 2011, 4:48 p.m., Nicky Perian wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/445/
> -----------------------------------------------------------
> 
> (Updated Aug. 20, 2011, 4:48 p.m.)
> 
> 
> Review request for Viewer.
> 
> 
> Summary
> -------
> 
> Note: In code comments are for code review only and will be removed.
> Debug builds have openjpegd.dll and it is a dependency for some of the unit tests. However, the viewer (secondlife-bin.exe) has openjpeg.dll dependency. It is the same debug library but, without the 'd' in its name. So, there are two or more dependencies of the same library with different names. This can be tested by building a debug configuration and invoking the viewer and then, the error appears about the missing openjpeg.dll. Then, change the name of openjpegd.dll to openjpeg.dll and invoke the viewer again. This time it should run correctly and present the log in page. Modifications are need to add a copy instruction so that both named versions of the debug library are present in the openjpeg archive. Additional modifications to the viewer are needed to place openjpeg.dll properly; while leaving openjpegd.dll in place for unit tests.
> 
> 
> This addresses bug https://jira.secondlife.com/browse/OPEN-112.
>     http://jira.secondlife.com/browse/https://jira.secondlife.com/browse/OPEN-112
> 
> 
> Diffs
> -----
> 
>   doc/contributions.txt a95b822cf2c2 
>   indra/cmake/Copy3rdPartyLibs.cmake a95b822cf2c2 
>   indra/newview/CMakeLists.txt a95b822cf2c2 
>   indra/newview/viewer_manifest.py a95b822cf2c2 
> 
> Diff: http://codereview.secondlife.com/r/445/diff
> 
> 
> Testing
> -------
> 
> Built Debug configuration with revised local library. Copy of revised library is here: http://bitbucket.org/NickyP/viewer-development-open-112/downloads/openjpeg-1.4-windows-20110819.tar.bz2 
> MD5 hash is 271a8e9253efaef9884181cd58984dd9.
> Logged in to aditi mesh city and walked around. No problems noted.
> 
> 
> Thanks,
> 
> Nicky
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110821/bb17bd67/attachment.htm 


More information about the opensource-dev mailing list