Hello:
        there are problems about the version 8286 when i make it:
first:
-- checking for one of the modules 'websim'
  * WebSim not detected.
-- Installation path CMAKE_INSTALL_PREFIX=/usr/local
-- Configuring libstage
-- Configuring libstageplugin

second:
/home/jiangc/stage/libstage/model_wifi.cc: In constructor ‘Stg::ModelWifi::ModelWifi(Stg::World*, Stg::Model*, const std::string&)’:
/home/jiangc/stage/libstage/model_wifi.cc:341: 警告: 忽略声明有 warn_unused_result 属性的‘size_t fread(void*, size_t, size_t, FILE*)’的返回值
/home/jiangc/stage/libstage/model_wifi.cc: In constructor ‘Stg::ModelWifi::ModelWifi(Stg::World*, Stg::Model*, const std::string&)’:
/home/jiangc/stage/libstage/model_wifi.cc:341: 警告: 忽略声明有 warn_unused_result 属性的‘size_t fread(void*, size_t, size_t, FILE*)’的返回值
/home/jiangc/stage/libstage/model_wifi.cc: In constructor ‘Stg::ModelWifi::ModelWifi(Stg::World*, Stg::Model*, const std::string&)’:
/home/jiangc/stage/libstage/model_wifi.cc:341: 警告: 忽略声明有 warn_unused_result 属性的‘size_t fread(void*, size_t, size_t, FILE*)’的返回值

Also when i input player wifi.cfg ther appear:
error   : Failed to load plugin stageplugin.
error   : libtool reports error: file not found
error   : plugin search path: /home/jiangc/stage/worlds:.:/usr/local/lib/
error   : failed to load plugin: stageplugin
error   : failed to parse config file wifi.cfg driver blocks
     Can you give me some advie? Thanks!



2009/11/25 Tyler J. Gunn <tyler@egunn.com>
Hello:

      What about  "apply the patch to Stage from SVN (r8286)"means?,Can't i
patch the "wifi_comm.patch" basing on the  "stage 3.1.0"? .And i have looked
for the "SVN (r8286)" ,But there are so mang files.Witch I need to choose.

To apply the patch I submit, you need to check out the Stage code base from SVN, so:
svn co -r 8286
https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/stage/trunk stage

Go to the following URL:
http://sourceforge.net/tracker/?func=detail&aid=2878504&group_id=42445&atid=433166
Expand the "attached files" and download the files.
Put the file "wander_wifi.cc" into the stage/examples/ctrl/ directory.
Put the file "communication.cc" into the stage/libstage/ directory.
Put the file "wifi_comm.patch" into the stage/ directory

Go into the root of the stage distribution (ie stage/), and run the following command to apply the patch:
patch -p0 -i wifi_comm.patch

Follow the normal stage compile directions, to get everything built.

To see a demonstration of the wifi working, run stage and use the world file worlds/wifi.world.
To see how the communication interface works, look at the wander_wifi.cc file mentioned above.

Hope that helps!
Tyler