[opensource-dev] 1 more compiling issue
Philippe (Merov) Bossut
merov at lindenlab.com
Fri May 7 16:30:10 PDT 2010
Hi Jonathan,
You're running into unit test failure. Not sure why (I haven't looked at
that test, look into the <test>_ok.txt file to find out what failed) but, if
blocked, you have 2 solutions:
- Just build the viewer target: open the sln project and select only the
viewer to be built
- Silence the test: go into llmessage/CMakeLists.txt and comment out that
test:
if (LL_TESTS)
SET(llmessage_TEST_SOURCE_FILES
# llhttpclientadapter.cpp
llmime.cpp
llnamevalue.cpp
# lltrustedmessageservice.cpp Jonathan comments out so he can
build...
lltemplatemessagedispatcher.cpp
llregionpresenceverifier.cpp
)
LL_ADD_PROJECT_UNIT_TESTS(llmessage "${llmessage_TEST_SOURCE_FILES}")
Unit tests are your friends though. When I have such a problem, I usually
only build the viewer target (so I can feel I'm making progress...) and then
try to understand why the test is failing.
Cheers,
- Merov
On Sat, May 1, 2010 at 4:48 AM, Jonathan Welch <jhwelch at gmail.com> wrote:
> I am also getting about a dozen of messages along these lines...any ideas?
>
> Build Log Build started: Project:
> lltrustedmessageservice_test_ok, Configuration: RelWithDebInfo|Win32
> Command Lines Creating temporary file
> "C:\DOCUME~1\jhwelch\LOCALS~1\Temp\BAT00014D13562988.bat" with
> contents
> [
> @echo off
>
> cd .
>
> E:
>
> "e:\CMake 2.6\bin\cmake.exe"
> -DLD_LIBRARY_PATH=E:/sg14/linden/indra/../libraries/i686-win32/lib:/usr/lib
>
> -DTEST_CMD:STRING=E:/sg14/linden/indra/build-vc80/llmessage/RelWithDebInfo/lltrustedmessageservice_test.exe";"--touch=E:/sg14/linden/indra/build-vc80/llmessage/lltrustedmessageservice_test_ok.txt";"--sourcedir=E:/sg14/linden/indra/llmessage
> -P E:/sg14/linden/indra/cmake/RunBuildTest.cmake
>
>
>
> if errorlevel 1 goto VCReportError
>
> goto VCEnd
>
> :VCReportError
>
> echo Project : error PRJ0019: A tool returned an error code from
> "Generating lltrustedmessageservice_test_ok.txt"
>
> exit 1
>
> :VCEnd
> ]
> Creating command line
> "C:\DOCUME~1\jhwelch\LOCALS~1\Temp\BAT00014D13562988.bat"
> Output Window Generating lltrustedmessageservice_test_ok.txt
> -- Failure running:
>
> E:/sg14/linden/indra/build-vc80/llmessage/RelWithDebInfo/lltrustedmessageservice_test.exe;--touch=E:/sg14/linden/indra/build-vc80/llmessage/lltrustedmessageservice_test_ok.txt;--sourcedir=E:/sg14/linden/indra/llmessage
> CMake Error at E:/sg14/linden/indra/cmake/RunBuildTest.cmake:19 (message):
> Error: This application has failed to start because the application
> configuration is incorrect. Reinstalling the application may fix this
> problem
> Project : error PRJ0019: A tool returned an error code from
> "Generating lltrustedmessageservice_test_ok.txt"
> Results Build log was saved at
>
> "file://e:\sg14\linden\indra\build-vc80\llmessage\lltrustedmessageservice_test_ok.dir\RelWithDebInfo\BuildLog.htm"
> lltrustedmessageservice_test_ok - 1 error(s), 0 warning(s)
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20100507/dbdfad5f/attachment.htm
More information about the opensource-dev
mailing list