Hi Kevin,

Thank you very much for your tip! It was not my case, but led me to figure out my problem!
Basically, I didn't have any problems when installing Player 2.1.1 because the patch you mentioned was on Player 2.1.1 and it worked straightaway for my installation on mac.
I could solve it by typing the following on the link.txt file (<stage 3.0.1 source folder>/libstageplugin/CMakeFiles/stageplugin.dir):
<Player 2.1.1 source folder>/replace/clock_gettime.o
Notice that this object file is generated when installing player and it's the patch mentioned on the thread you sent me the link!!!

It linked and I could install and get it to work on mac!

Now I have Player 2.1.1 and Stage 3.0.1 working on Mac OS X 10.4 Tiger working properly!

Cheers,

Murilo

2008/9/26 Kevin Barry <barryk@gmail.com>
> I'm now trying to install Stage 3.0.1 and everything goes perfectly well until I get to the point where object files and libraries are linked altogether in order to generate > the libstageplugin.so library. The linker returns an Undefined Symbols error (_clock_gettime symbol).

I ran an early version of Stage3 (Either from SVN (pre 3.0) or 3.0.0, I don't recall) and it worked fine on Mac OS X. But the clock_gettime issue I also faced in Player 2.1.0. Check out this thread for information about it and a link to the patch which includes a fake gettime function that works on Mac.

http://sourceforge.net/mailarchive/message.php?msg_name=c8db6ec20806150921m649bc1adscbe16620485de275%40mail.gmail.com



On Fri, Sep 26, 2008 at 12:40 PM, Murilo Fernandes Martins <muhrix@gmail.com> wrote:
Hello Khawaja,

I'm on the process to install Stage 3.0.1 on my Mac OS 10.4.
When running make, I didn't get the same error you're describing.
Let me ask you a couple of things that might lead us to sort it out.
Have you ever installed Stage (previous versions) on your Mac? What about Player?

I'm currently running Player 2.1.1 and Stage 2.1.0 gracefully.
I'm now trying to install Stage 3.0.1 and everything goes perfectly well until I get to the point where object files and libraries are linked altogether in order to generate the libstageplugin.so library. The linker returns an Undefined Symbols error (_clock_gettime symbol).

Are you using Fink or macports (or whatever other tool to install linux libs on macs)?
I may be a bit naive, but this GL thing on the names might have something to do with OpenGL...?!?!

Do not trust the output of cmake, btw... it found my FLTK and used fltk-config, but (perhaps because it's on a non-default folder - /sw/include - which is used by Fink) it returned errors when attempting to find the FLTK header files. I changed some flags using ccmake and got it to find the header files.

Cheers,

Murilo

2008/9/17 Khawaja Shams <ksshams@gmail.com>
Hello, 
   I am having trouble installing stage on OSX.  When I do a make, I get the following output:
/Users/khawajashams/Desktop/psg/Stage-3.0.1-Source/libstage/canvas.cc: In member function 'void Stg::StgCanvas::CanvasToWorld(int, int, double*, double*, double*)':
/Users/khawajashams/Desktop/psg/Stage-3.0.1-Source/libstage/canvas.cc:226: error: invalid conversion from 'int*' to 'GLint*'
/Users/khawajashams/Desktop/psg/Stage-3.0.1-Source/libstage/canvas.cc:226: error:   initializing argument 2 of 'void glGetIntegerv(GLenum, GLint*)'
/Users/khawajashams/Desktop/psg/Stage-3.0.1-Source/libstage/canvas.cc:236: error: invalid conversion from 'int*' to 'const GLint*'
/Users/khawajashams/Desktop/psg/Stage-3.0.1-Source/libstage/canvas.cc:236: error:   initializing argument 6 of 'GLint gluUnProject(GLdouble, GLdouble, GLdouble, const GLdouble*, const GLdouble*, const GLint*, GLdouble*, GLdouble*, GLdouble*)'
make[2]: *** [libstage/CMakeFiles/stage.dir/canvas.o] Error 1
make[1]: *** [libstage/CMakeFiles/stage.dir/all] Error 2
make: *** [all] Error 2



Here is the output from the CMake:
-- Stage version 3.0.1
-- Checking for OpenGL
-- OpenGL found
-- Checking for Player
--   Player headers found in /usr/local/include/player-2.1
--   Player libs found in /usr/local/lib
-- Looking for FLTK
--   found, using /usr/local/bin/fltk-config
-- Setting Apple specific flags
-- Checking for libtool
--   found
-- Building Player plugin
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/khawajashams/Desktop/psg/Stage-3.0.1-Source




If anyone know what this is about, it would be great if I can get pointed in the right direction in resolving this issue. I would sincerely appreciate any help on the matter.  Thanks in advance.


Khawaja Shams

-------------------------------------------------------------------------
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=/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



-------------------------------------------------------------------------
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=/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



-------------------------------------------------------------------------
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=/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users