Hi,

On Thu, 2008-08-07 at 16:37 +0800, Gerrit Voss wrote:
> Hi,
> 
> On Thu, 2008-08-07 at 16:14 +0800, Eng Yuit Fun, Melvin wrote:
> > Hi,
> > 
> > I deleted the executables and that seemed to move things forward a bit.
> > However I now get the following message:
> > "/usr/bin/ld: skipping incompatible 
> > /home/engyf/Desktop/OpenSG-1.8.0-redhat4-opt//lib/opt/libOSGWindowGLUT.so 
> > when searching for -lOSGWindowGLUT
> > /usr/bin/ld: cannot find -lOSGWindowGLUT"
> > I'm now wondering where the lib files for linking are? (the "lib" folder 
> > only contains the runtime shared object files)
> 
> looks like you are running a x86_64 linux but the OpenSG version you
> downloaded is 32bit. IIRC the makefile only does native builds so
> you try to link your 64bit executable against 32bit libs, that is the
> 'skipping incompatible' part.
> 
> Let me check how to convince the makefile to build 32bit exectuables.

if you look at Tutorials/Makefile the last two lines:

%$(EXEEXT): %.cpp
        $(CC) $(CCFLAGS) $< $(LDFLAGS) $(LDOUT)$@ 

can you change the last line to

        $(CC) -m32 $(CCFLAGS) $< $(LDFLAGS) $(LDOUT)$@ 

This should build the tutorials 32bit. 

But you might run into problems if not all of the system libs (like
libtiff or libjpeg) have their 32bit development packages installed.

In this case the easiest solutions (besides installing the 32bit dev 
packages) is, go to the lib/opt dir of OpenSG and add some links, like
the following for libtiff:

ln -s /usr/lib/libtiff.so.3.6 libtiff.so


kind regards,
  gerrit




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to