Hi Gerrick.

Unfortunately I do not have Mac to test the
compilation process. But it seems that the linker try
to search for the main function, which is of course
not there, since this is a library. I do not know how
gcc on mac works, hence I cannot say which parameters
need to pass to gcc on mac to force it to create
library.

The current build routine was only tested on linux and
should be replaced later by more powerfull like CMake
or something else. 

Sorry for that inconvience. I hope there will be
someone who can help you. If you are able to fix the
buidl process by yourself, so let me know how ;-)


Best regards,
Art

 
--- Gerrick Bivins <[EMAIL PROTECTED]> schrieb:

> Hi. I'm trying to compile on Mac (OSX 10.5.1) but
> I'm receiving the
> following errors.
> [EMAIL PROTECTED]/devEnv/research/APIs/osgPPU$ make
> prefix=/Users/gbivins/devEnv/research/APIs/installs/
> Used flags for compilation are:
> CFLAGS = -m32 -pthread -O2 -Wall -I../../include
>
-I/Users/gbivins/devEnv/research/APIs/installs//include
> -I/usr/local/include
> -I/usr/include
> LDFLAGS = -shared -L../../lib
> -L/Users/gbivins/devEnv/research/APIs/installs//lib
> -L/usr/local/lib
> -L/usr/lib
>
-L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
> -lGL
> Used flags for compilation are:
> CFLAGS = -m32 -pthread -O2 -Wall -I../../include
>
-I/Users/gbivins/devEnv/research/APIs/installs//include
> -I/usr/local/include
> -I/usr/include -I../../include -fPIC
> LDFLAGS = -shared -L../../lib
> -L/Users/gbivins/devEnv/research/APIs/installs//lib
> -L/usr/local/lib
> -L/usr/lib
>
-L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
> -lGL
> -losg -losgUtil -losgDB -losgText
> -n Combine dependencies list into make.dep ...
>  OK
> Compile PostProcessUnit.cpp ... OK
> Compile PPUInOut.cpp ... OK
> Compile Shader.cpp ... OK
> Compile PPUText.cpp ... OK
> Compile Text.cpp ... OK
> Create libosgPPU.so ...Undefined symbols:
>   "_main", referenced from:
>       start in crt1.10.5.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [libosgPPU.so] Error 1
> Used flags for compilation are:
> CFLAGS = -m32 -pthread -O2 -Wall -I../../include
>
-I/Users/gbivins/devEnv/research/APIs/installs//include
> -I/usr/local/include
> -I/usr/include -I../../include
> LDFLAGS = -L../../lib
> -L/Users/gbivins/devEnv/research/APIs/installs//lib
> -L/usr/local/lib -L/usr/lib
>
-L/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
> -lGL
> -losgPPU -losgViewer
> Create osgppu ...ld: library not found for -losgPPU
> collect2: ld returned 1 exit status
> make[2]: *** [osgppu] Error 1
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> [EMAIL PROTECTED]/devEnv/research/APIs/osgPPU$
> 
> It's probably something simple I'm
> overlooking...Does anyone have any ideas?
> biv
> On Jan 8, 2008 9:10 AM, Art Tevs
> <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> >
> > No, I do not have the latest drivers. Here at my
> work
> > I have 8800Ultra with just 100.14 version of the
> > drivers, hence pretty old. At home I've got
> 8800GTS
> > also with not the newest drivers as far as I know.
> > I'll try today evening to install newest driver to
> see
> > if I can reproduce the linker problems.
> >
> > Cheers,
> > Art
> >
> > P.S. Could you please post me the complete error
> log?
> >
> > > Hi Art,
> > >
> > >
> > > Art Tevs schrieb:
> > > >  Could you please send me a
> > > > complete list of errors, so that I try to fix
> > > them.
> > > > Or if you want to, you can fix them and send
> me
> > > the
> > > > corresponding patches (just corrected files).
> > > I will try to fix it for my installation and
> send
> > > you the fixed files. I
> > > have linked against a osg-2.2 installation but I
> > > don't think there ist
> > > the reason for why my glsl linker comes with
> errors.
> > >  Did you try with
> > > the latest nvidia drivers (needed for the new
> 8800GT
> > > adapters etc.)?
> > >
> > > I saw GLSL Problems under Win32 & Linux but only
> > > with the latest Nvidia
> > > Drivers installed . Older Drivers could work.
> > >
> > > regards, Markus
> > >
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > >
> >
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> > >
> >
> >
> >
> >      Jetzt Mails schnell in einem Vorschaufenster
> überfliegen. Dies und
> > viel mehr bietet das neue Yahoo! Mail -
> www.yahoo.de/mail
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
> > _______________________________________________
> osg-users mailing list
> [email protected]
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 



        __________________________________  Ihr erstes Baby? Holen Sie sich 
Tipps von anderen Eltern.  www.yahoo.de/clever
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to