OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Problems building examples (UNCLASSIFIED)


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
TheButler
User


Joined: 30 Apr 2009
Posts: 42

PostPosted: Tue Jul 14, 2009 7:22 pm    Post subject:
Problems building examples (UNCLASSIFIED)
Reply with quote

Classification: UNCLASSIFIED
Caveats: NONE

I'm trying to build the examples under Linux x86_64 under RedHat 5. In
particular, the Qt and FLTK osgviewer examples. I'm using cmake 2.6-patch 4

Qt:
I've got Qt 4.5.2 installed (necessary for OSG) and have built non-OSG
applications with this version of Qt. I did have to install a newer version
of the fontconfig libraries to support Qt 4.5.2. In ccmake for OSG I've
made sure that QT_FONTCONFIG_LIBRARY is set to the right version of the
library (the 2.4.2 I compiled, not the older system one) Yet at link time in
examples/osgviewerQT I get:
/home/butler/src/Qt/qtsdk-2009.03/qt/lib/libQtGui.so: undefined
reference to FcFreeTypeQueryFace This indicates that it is not linking with
the fontconfig library I specified.
Any hints at getting this to link right would be most welcome.

FLTK:
Linking osgviewerFLTK doesn't pick up the -lXft -lXinerama flags needed to
link. The default FLTK 1.3 configuration includes Xft and Xinerama support
at this point. A CMakeList.txt entry for FLTK_XFT_LIBRARY and
FLTK_XINERAMA_LIBRARY would allow proper linking.

Linux:
Clearly RedHat 5 is *not* the linux of choice for OSG. The real question
is: Which distro *is* the preferred one?

Lee

Classification: UNCLASSIFIED
Caveats: NONE





------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Jason Daly
Guest





PostPosted: Tue Jul 14, 2009 10:58 pm    Post subject:
Problems building examples (UNCLASSIFIED)
Reply with quote

Butler, Lee Mr CIV USA USAMC wrote:
Quote:

Linux:
Clearly RedHat 5 is *not* the linux of choice for OSG. The real question
is: Which distro *is* the preferred one?


OSG works fine with Red Hat Enterprise 5, but it may not be the best
distro to use if you need to work with Qt 4.5. I'm not sure why you
felt it necessary to install your own fontconfig. My system shows that
fontconfig 2.4.1 is installed here, and I can't imagine a version that's
only 0.0.1 newer is that different.

Are you sure you need Qt 4.5 for that example? If you just need "a
version" of Qt 4, Red Hat Network has Qt 4.2.1 available, and you can
install it and all of its dependencies by running "yum install qt4"

I'd think FLTK would be fine, too. It might just be that that
particular example needs some work.

--"J"



------------------
Post generated by Mail2Forum
Back to top
TheButler
User


Joined: 30 Apr 2009
Posts: 42

PostPosted: Wed Jul 15, 2009 12:02 am    Post subject:
Problems building examples (UNCLASSIFIED)
Reply with quote

Qt 4.5 came because the osgAdapterWidget code relies on QMdiSubWinodw and QMdiArea which
don't exist in Qt 4.2.1 (the installed Qt on RedHat 5).

Qt 4.5 required a newer version of fontconfig than was in RedHat 5 to avoid the otherwise undefined reference to `FcFreeTypeQueryFace' in libQtGui.so

Lee

----- Original Message -----
From: Jason Daly <>
Date: Tuesday, July 14, 2009 18:58
Subject: Re: Problems building examples (UNCLASSIFIED)
To: OpenSceneGraph Users <>


Quote:
Butler, Lee Mr CIV USA USAMC wrote:
Quote:

Linux:
Clearly RedHat 5 is *not* the linux of choice for OSG. The real
question> is: Which distro *is* the preferred one?

OSG works fine with Red Hat Enterprise 5, but it may not be the
best
distro to use if you need to work with Qt 4.5. I'm not sure why
you
felt it necessary to install your own fontconfig. My system shows
that
fontconfig 2.4.1 is installed here, and I can't imagine a version
that's
only 0.0.1 newer is that different.

Are you sure you need Qt 4.5 for that example? If you just need "a
version" of Qt 4, Red Hat Network has Qt 4.2.1 available, and you
can
install it and all of its dependencies by running "yum install qt4"

I'd think FLTK would be fine, too. It might just be that that
particular example needs some work.

--"J"


openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 8503

PostPosted: Wed Jul 15, 2009 6:38 am    Post subject:
Problems building examples (UNCLASSIFIED)
Reply with quote

Hi Lee,

On Tue, Jul 14, 2009 at 8:22 PM, Butler, Lee Mr CIV USA
USAMC<> wrote:
Quote:
      /home/butler/src/Qt/qtsdk-2009.03/qt/lib/libQtGui.so: undefined
reference to FcFreeTypeQueryFace This indicates that it is not linking with
the fontconfig library I specified.
Any hints at getting this to link right would be most welcome.

I'm afraid I'm no Qt expert so will have to defer to others on this issue.

Quote:
FLTK:
Linking osgviewerFLTK doesn't pick up the -lXft -lXinerama flags needed to
link.  The default FLTK 1.3 configuration includes Xft and Xinerama support
at this point.  A CMakeList.txt entry for FLTK_XFT_LIBRARY and
FLTK_XINERAMA_LIBRARY would allow proper linking.

Could you post this change to osg-submissions so I can review it.


Quote:
Linux:
Clearly RedHat 5 is *not* the linux of choice for OSG.  The real question
is:  Which distro *is* the preferred one?

There isn't a preferred choice, it should work across a wide range of
distributions. Good support for any particular distro is really down
to the community to ensure that it works as it's not practical for
engineers like myself to manage dozens of different OS variants. Even
if you use the same OS variant there are still variables such as
optional dependencies like Qt and FLTK that can be thrown into the mix
that make your particular build system unique. The upshot of this is
that to see good support of your chosen build combination then you
need to be prepared to step forward and help ensure that the wrinkles
are all smoothed out.

The alternative to need members of community be proactive would be to
restrict the list of supported OS variants to ones that I can support,
which right now would be... Kubuntu 9.04, while this is fine OS
variant for dev work, it won't be a perfect fit for everyone. I see
this as the beauty of open source - you aren't restricted to arbitrary
choices that I or other core developers make - you have the ability to
tune the software to work well on your own platform of choice ;-)

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
René Molenaar
Guest





PostPosted: Wed Jul 15, 2009 7:22 am    Post subject:
Problems building examples (UNCLASSIFIED)
Reply with quote

Which version of cmake are you using? I believe recent versions have updated FindQt modules.
You might want to build qt again with the font libs installed, the configure step can have different
results.

Rene



2009/7/15 Robert Osfield < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)>
Quote:
Hi Lee,

On Tue, Jul 14, 2009 at 8:22 PM, Butler, Lee Mr CIV USA
USAMC< (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
      /home/butler/src/Qt/qtsdk-2009.03/qt/lib/libQtGui.so: undefined
reference to FcFreeTypeQueryFace This indicates that it is not linking with
the fontconfig library I specified.
Any hints at getting this to link right would be most welcome.


I'm afraid I'm no Qt expert so will have to defer to others on this issue.

Quote:
FLTK:
Linking osgviewerFLTK doesn't pick up the -lXft -lXinerama flags needed to
link.  The default FLTK 1.3 configuration includes Xft and Xinerama support
at this point.  A CMakeList.txt entry for FLTK_XFT_LIBRARY and
FLTK_XINERAMA_LIBRARY would allow proper linking.


Could you post this change to osg-submissions so I can review it.


Quote:
Linux:
Clearly RedHat 5 is *not* the linux of choice for OSG.  The real question
is:  Which distro *is* the preferred one?


There isn't a preferred choice, it should work across a wide range of
distributions.  Good support for any particular distro is really down
to the community to ensure that it works as it's not practical for
engineers like myself to manage dozens of different OS variants. Even
if you use the same OS variant there are still variables such as
optional dependencies like Qt and FLTK that can be thrown into the mix
that make your particular build system unique.  The upshot of this is
that to see good support of your chosen build combination then you
need to be prepared to step forward and help ensure that the wrinkles
are all smoothed out.

The alternative to need members of community be proactive would be to
restrict the list of supported OS variants to ones that I can support,
which right now would be... Kubuntu 9.04, while this is fine OS
variant for dev work, it won't be a perfect fit for everyone.  I see
this as the beauty of open source - you aren't restricted to arbitrary
choices that I or other core developers make - you have the ability to
tune the software to work well on your own platform of choice Wink

Robert.

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




------------------
Post generated by Mail2Forum
Back to top
Jason Daly
Guest





PostPosted: Wed Jul 15, 2009 2:57 pm    Post subject:
Problems building examples (UNCLASSIFIED)
Reply with quote

Butler, Lee Mr CIV USA USAMC wrote:
Quote:
Qt 4.5 came because the osgAdapterWidget code relies on QMdiSubWinodw and QMdiArea which
don't exist in Qt 4.2.1 (the installed Qt on RedHat 5).

Qt 4.5 required a newer version of fontconfig than was in RedHat 5 to avoid the otherwise undefined reference to `FcFreeTypeQueryFace' in libQtGui.so


I did my own digging online, and it looks like you're right. I'm just
surprised that they'd add new symbols to fontconfig without bumping the
middle number.


--"J"




------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Stereo Problems when using DriveManip... Franz-Josef Schneider General 2 Fri Aug 15, 2014 1:30 pm View latest post
No new posts Building osgviewerWX example Bacttrack General 1 Mon Aug 11, 2014 6:04 am View latest post
No new posts Building for Android on Mac strean Build system [build] 8 Wed Aug 06, 2014 9:14 pm View latest post
No new posts Problems using ortho camera Jesus General 0 Wed Aug 06, 2014 3:50 pm View latest post
No new posts Shader Problems, AMD is Fine, NVIDIA ... SMesserschmidt General 4 Sat Jun 14, 2014 2:18 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP