Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-08-26 23:04:34



Reply to topic  [ 5 posts ] 
building on openSUSE 12.1 
Author Message

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
hi,
I'm trying to build the latest cool viewer on openSUSE 12.1 (I'd rather have a RPM than that executable installer, makes it easier to maintain more than one PC), but I'm running into the following build failure:

Code:
/usr/src/packages/BUILD/linden/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetLong'
/usr/src/packages/BUILD/linden/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetShort'
collect2: ld returned 1 exit status
make[2]: *** [linux_crash_logger/linux-crash-logger] Fehler 1
make[1]: *** [linux_crash_logger/CMakeFiles/linux-crash-logger.dir/all] Fehler 2
make: *** [all] Fehler 2


I remember having the same issue with Viewer 2 sources, and solving it by rebuilding/repackaging the freetype libs... but where do i find instructions on how to do that for a Viewer1 source?


2012-07-12 09:02:55
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
You might want to wait till the end of this week, when I will publish v1.26.5.0, which reuses LL's v3 viewer pre-compiled libraries instead of a mix of the old Snowglobe ones and of custom, re-compiled v3 libraries.
v1.26.5.0 already compiles fine under Linux and I'm currently trying to convince it to play nice with VS2010.

Also, note that using the system freetype to compile the viewer will make you loose support for the viewer-supplied fonts (LL's pre-compiled freetype library is patched so to use those). That's one of the reasons behind the cmake-SL script that entitles you to compile a viewer with a mix of LL's and your system's libraries, instead of being left with only two choice: "standalone" (i.e. system-only libraries) and "release" (i.e. only with LL's libraries)...


2012-07-12 12:10:16
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
trying to build 1.26.5.1 now... and it still gives me the same error.

Code:
/usr/src/packages/BUILD/linden/indra/../lib/release/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetLong'
/usr/src/packages/BUILD/linden/indra/../lib/release/libpangoft2-1.0.so: undefined reference to `FT_Stream_GetShort'
collect2: ld returned 1 exit status
make[2]: *** [linux_crash_logger/linux-crash-logger] Error 1
make[1]: *** [linux_crash_logger/CMakeFiles/linux-crash-logger.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.W5wXDA (%build)


2012-07-30 08:31:28
Profile YIM WWW

Joined: 2009-03-17 18:42:51
Posts: 6043
Reply with quote
I guess you could rebuild LL's 3p-freetype on OpenSuse like you did with v2 viewers (the Cool VL Viewer v1.26.5 now uses the same packages as v3), but be sure to pick up the last good v2.4.4 version of freetype in the repository, because LL apparently f*cked up the revert to v2.3.9, and the resulting library would fail to use the viewer bundled fonts (v2.3.9 is used in Windows v3 builds and I had to revert to Snowglobe's v1.5 package for the Cool VL Viewer so that the bundled fonts are found: Linux and Darwin builds of v3 viewers still use an old build of freetype v2.4.4 that works just fine, so I'm just using LL's provided pre-built freetype for them).


2012-07-30 09:13:43
Profile WWW

Joined: 2009-03-18 09:32:02
Posts: 246
Reply with quote
thanks! now it builds!


2012-07-30 10:22:27
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 0 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.