Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-10-15 22:33:40



Reply to topic  [ 8 posts ] 
Build problem on Ubuntu 12.04.01 
Author Message

Joined: 2013-01-20 04:44:04
Posts: 12
Reply with quote
Edit 2/19/12: The result of the following step BROKE 12.04.1 Xwindow system, so do not use these steps. Forget 12.04.1. Use 10.10.
---------------------------------------------------------------------------------------------------
I am trying to build from sources on Ubuntu 12.04.01 AMD64.
Source files: slviewer-src-cool_vl_viewer-126711.tar
Following directions in LinuxBuildHowto.txt
All goes well until....
Linking CXX shared library libmedia_plugin_webkit.so
[ 39%] Building CXX object llmessage/CMakeFiles/llmessage.dir/llxfer_mem.cpp.o
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lXrender
/usr/bin/ld: cannot find -lGL

These libraries are in /usr/lib/x86_64-linux-gnu/.... so there is some kind of library path
problem with this platform.
Can anyone suggest best place to fix this?


Last edited by KittoFlora on 2013-02-19 18:08:53, edited 1 time in total.



2013-02-17 20:21:42
Profile

Joined: 2009-03-17 18:42:51
Posts: 6066
Reply with quote
You need the 32 bits library and devel packages... The viewer is a 32bits application.


2013-02-17 20:42:59
Profile WWW

Joined: 2013-01-20 04:44:04
Posts: 12
Reply with quote
$: sudo apt-get install ia32-libs
ia32-libs is already the newest version.

Which development packages?


2013-02-17 21:28:30
Profile

Joined: 2013-01-20 04:44:04
Posts: 12
Reply with quote
I found one of them....
sudo apt-get install libxrender-dev:i386
fixes the lX11 and lXrender problems.
Now searching for lGL library


2013-02-17 21:38:39
Profile

Joined: 2013-01-20 04:44:04
Posts: 12
Reply with quote
.. and 'cannot find -lGL' seems to be fixed by
sudo apt-get install libdrm-dev:i386
sudo apt-get install mesa-common-dev-lts-quantal:i386
sudo apt-get install libgl1-mesa-dev-lts-quantal:i386

Tnen we hit
linden/indra/llrender/llglheaders.h:287: fatal error: GL/glu.h: No such file or directory

/usr/include/GL/ exits but does not have glu.h in it. Investigating where that header comes from...


2013-02-17 22:01:34
Profile

Joined: 2013-01-20 04:44:04
Posts: 12
Reply with quote
glu.h missing fixed by:
sudo apt-get install libglu1-mesa-dev:i386


2013-02-17 22:05:51
Profile

Joined: 2011-09-27 11:18:31
Posts: 251
Reply with quote
http://wiki.secondlife.com/wiki/Compili ... provide.29
:)


2013-02-17 23:03:57
Profile

Joined: 2013-01-20 04:44:04
Posts: 12
Reply with quote
The apt-get steps I listed above resulted in the disabling of the Xwindow system in Ubuntu 12.04.1, therefore these steps are
*NOT RECOMMENDED*.
In G0rd's link above, search for "NOTE: If you are on Ubuntu 12.04 ("Precise") " where is talks about how 12.04.1 (Precise) does not yet have the packages and to link to Lucid packages.
For me this is getting to be all too much of a hack-job.
Xwindow could not be recovered by reinstalling original libraries. A re-install over-the-top of 12.04.1 resulted in a system with Xwindow, but no mouse, and all posted fixes for that problem failed.
So, i have reverted back to (good old) Ubuntu 10.10, which installed pretty smoothly, considering that Canonical is trying to bury it. All my 'fun stuff' is installed and working in 1 day. I previously used 10.10 for a year doing client and server design and compile, without significant issues.
To anyone compiling SL clients: From my pov Ubuntu 12.04.1 is NOT GOOD for such work. Stick to 10.10.


2013-02-19 18:06:49
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.