Hey Geoff,

Thanks for the quick reply. I do realise that CMake is a preferable system for installing player, it certainly makes getting the configuration options working correctly on a Mac far easier, for which I am very grateful.

In this case, however I am installing a plugin driver on a pioneer (on a miniITX) which doesn't have cmake installed (and I don't have priveledges to install it on them). I realise now that I could have just got the Makefiles from the share directory on the mini ITX (but my laptop which I've been working on the files on has the svn version so doesn't have the Makefiles).

However, I still think that Makefiles should be included for the examples as well as the CMakeLists.txt . Though CMake does simplify the building of plugins, I personally have had no experience (other that installing player) with CMake, but a reasonable amount with standard Makefiles, so for me it will be easier to edit a makefile to suit my needs when making a multi-file driver, and I imagine that there are quite a few people out there using player who are in a similar position.

Thanks for your help though,

~Chris


On Thu, May 29, 2008 at 6:56 PM, gbiggs <gbiggs@killbots.net> wrote:
The Makefile.example files were removed and replaced with generated
example CMakeLists.txt files, as CMake is the preferred way of compiling
Player clients and plugins now. If you're compiling clients or plugins,
you have a compiler available, and so are most likely to have compiled
and installed Player locally, which requires CMake be installed... thus
you would have CMake available for the examples and for your clients and
drivers. There are a couple of SCons files in some of the plugin
directories, but they're old and I don't even know if they still work.

One important thing to note is that you should not be building, nor
looking at, the examples in the Player source tree anymore. The examples
get installed when you install Player, and the installed version differs
from the version in the source tree (an example CMakeLists.txt is
generated, they are configured to match your installation options, stuff
like that). They get installed in
${CMAKE_BUILD_PREFIX}/share/player/examples/. There is a README file for
each example that tells you how to build and run them. Please read these
as they do contain quite a bit of detail.

If you're working with the SVN head, please also look over the
CMakeLists.txt files in the installed examples carefully. They
illustrate how to use the new CMake modules for Player, which greatly
simplify building clients and plugins. There is also brief documentation
in the modules themselves.

Geoff

Chris Chambers wrote:
> Hi,
>
> The Makefile.example files have been removed from the examples directory
> of the svn head version of player. Even though there is now a scons file
> that make them the Makefile is good for using on systems without scons.
> I'm guessing that this is due to removing all Makefile.* files in the
> move to cmake. You can still get the old files from
> release-2-1-branches. Could these be moved back into the head?
>
> Thanks
>
> ~Chris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers