Hello:
the second problem is about warnings when i make them:
/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: warning: neglect the "size_t
fread(void*, size_t, size_t, FILE*)"return value of the
"warn_unused_result" property in statement.
/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: warning:neglect the "size_t
fread(void*, size_t, size_t, FILE*)" return value of
the "warn_unused_result" property in statement.
/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: warning: neglect the "size_t
fread(void*,
size_t, size_t, FILE*)" return value of the "warn_unused_result" property in
statement.
I think there maybe some bugs about the model_wifi.cc .but i don't find
it out.
the last problem appears when i input player wifi.cfg.
I use the player-3.0.0, running Ubuntu 8.10 on an x86.Shoud i
use another player vertion?
running stage wifi.world is only a still image.I want to see how them
working by running player wifi.world .
2009/11/29 Tyler Gunn <tyler@...>
> 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
>>
>>
> This shouldn't be a problem; websim isn't a requirement for building this.
>
>
> 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*)’的返回值
>>
>>
> Sorry, I am not sure what those compile messages are; can you please
> translate them to english? Are they warnings or errors?
>
>
> 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!
>>
>
> I would try running stage wifi.world, rather than going through player. I
> haven't made any changes to wifi support in player, so it probably isn't
> going to work properly.
>
> I just tried getting the 8286 version of Stage from SVN and applying the
> patch files. Everything worked fine for me.
> You can download my patched copy of the source from:
> http://www.egunn.com/dl/wifistg.zip
> I'm compiling this on Mac OS X, what are you using?
>
> Tyler
> --
> Tyler Gunn
> tyler@...
> http://www.egunn.com/
>
>
>
|