[opensource-dev] compiling viewer-external with ubuntu lucid 64bit

Marc Adored marc at inworlddesigns.com
Sun Jul 4 17:55:52 PDT 2010


I was wondering if anybody had any success compiling snowglobe on
ubuntu lucid 64bit and if they have what steps they took to prepare their system
for it. I have installed everything under the sun and my /usr/include
folder is a mess and I still can't get it to compile in 64bit or
32bit.

./develop.py -m64 -t Release
Gives me no errors until I do

./develop.py -m64 -t Release build then it gets to

-- snip --
[ 10%] Building CXX object llcommon/CMakeFiles/llcommon.dir/metaproperty.o
[ 10%] Building CXX object llcommon/CMakeFiles/llcommon.dir/reflective.o
[ 10%] Building CXX object llcommon/CMakeFiles/llcommon.dir/timing.o
[ 10%] Building CXX object llcommon/CMakeFiles/llcommon.dir/u64.o
Linking CXX shared library libllcommon.so
/usr/bin/ld: cannot find -lbreakpad_client
collect2: ld returned 1 exit status
make[2]: *** [llcommon/libllcommon.so] Error 1
make[1]: *** [llcommon/CMakeFiles/llcommon.dir/all] Error 2
make: *** [all] Error 2


 and it fails. The output above is from me going into
viewer-linux-x86_64-release and compiling with make to get the
individual error because ./develop.py doesn't provide it. When I build
with

./develop.py -m32 -t Release

-- snip --
-- Version of viewer is 2.1.0.206484
-- Configuring done
CMake Warning at newview/CMakeLists.txt:1393 (add_executable):
 Cannot generate a safe linker search path for target secondlife-bin because
 files in some directories may conflict with libraries in implicit
 directories:

   link library [libGLU.so] in /usr/lib may be hidden by files in:
     /media/Storage/src/snowglobe/viewer-external/indra/../libraries/i686-linux/lib_release_client

 Some of these libraries may not be found correctly.


CMake Warning at integration_tests/llui_libtest/CMakeLists.txt:53
(add_executable):
 Cannot generate a safe linker search path for target llui_libtest because
 files in some directories may conflict with libraries in implicit
 directories:

   link library [libGLU.so] in /usr/lib may be hidden by files in:
     /media/Storage/src/snowglobe/viewer-external/indra/../libraries/i686-linux/lib_release_client

 Some of these libraries may not be found correctly.


-- Generating done
-- Build files have been written to:
/media/Storage/src/snowglobe/viewer-external/indra/viewer-linux-i686-release


Which I assume is not good but it generated everything fine so I continue with

./develop.py -m32 -t Release build

and get:


[  0%] Built target cmake
[  1%] Built target llaudio
[  1%] Built target llcommon_tests
[  4%] Built target stage_third_party_libs
Linking CXX shared library libllcommon.so
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.4/libstdc++.so when searching for
-lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.4/libstdc++.a when searching for
-lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.4/libstdc++.so when searching for
-lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.4/libstdc++.a when searching for
-lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.4/../../../libstdc++.so when
searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/libstdc++.so when
searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[2]: *** [llcommon/libllcommon.so] Error 1
make[1]: *** [llcommon/CMakeFiles/llcommon.dir/all] Error 2
make: *** [all] Error 2

This is also after going into viewer-linux-i686-release and compiling
with make to see what the actual error was.

If anyone can help that would be greatly appreciated :) I really would
like to get a 64bit version compiled so I have my gstreamer back but
32bit will do. I am trying to also start dev work in snowglobe too. I
will note that I can successfully compile emerald viewer which is
based on snowglobe 1.4 code.


More information about the opensource-dev mailing list