Menu

Installing and using OpenSteer in Ubuntu 9.10

Ros NS
2010-04-20
2013-04-30
  • Ros NS

    Ros NS - 2010-04-20

    Hi everyone!!!

    I am new to OpenSteer and linux and was wondering how one can install and/or use opensteer??

    Thanks for your help!!!

     
  • Craig Reynolds

    Craig Reynolds - 2010-04-20

    Hi, its good you asked, since it will save you the step of installing the obsolete release!  Until I get my act together, the best thing to do is to get the latest sources from the SVN repository at SourceForge. See instructions here: http://opensteer.sourceforge.net/doc.html#InstallingOpenSteer

    After you do a "make" then run the app OpenSteerDemo. A good way to get started is to pick one of the plug-ins that seems most similar to what you want to do, make a copy of that, then begin making incremental changes to it.

    Good luck,
    Craig

     
  • Ros NS

    Ros NS - 2010-04-21

    Hello and thanks for the quick reply.
    When I'm doing 'make', it comes up with an error at the end. The following is the generated text.
    By the way, I'm a newbie in linux, sooooo i don't get most of these things!!! I'm doing this for a project that I need to use and link it with a program I'm using in Ubuntu.
    ----------------- Building OpenSteerDemo.elf; Current build = optimized

    Making dependencies for ../src/lq.c…
    Making dependencies for ../plugins/Soccer.cpp…
    Making dependencies for ../plugins/Pedestrian.cpp…
    Making dependencies for ../plugins/OneTurning.cpp…
    Making dependencies for ../plugins/MultiplePursuit.cpp…
    Making dependencies for ../plugins/MapDrive.cpp…
    Making dependencies for ../plugins/LowSpeedTurn.cpp…
    Making dependencies for ../plugins/CaptureTheFlag.cpp…
    Making dependencies for ../plugins/Boids.cpp…
    Making dependencies for ../src/Vec3.cpp…
    Making dependencies for ../src/SimpleVehicle.cpp…
    Making dependencies for ../src/PlugIn.cpp…
    Making dependencies for ../src/Pathway.cpp…
    Making dependencies for ../src/OpenSteerDemo.cpp…
    Making dependencies for ../src/main.cpp…
    Making dependencies for ../src/Draw.cpp…
    Making dependencies for ../src/Clock.cpp…
    Making dependencies for ../src/Camera.cpp…

    ----------------- Building OpenSteerDemo.elf; Current build = optimized

    Compiling ../src/Camera.cpp…
    ../src/Camera.cpp: In member function ‘char* OpenSteer::Camera::modeName()’:
    ../src/Camera.cpp:311: warning: deprecated conversion from string constant to ‘char*’
    ../src/Camera.cpp:312: warning: deprecated conversion from string constant to ‘char*’
    ../src/Camera.cpp:313: warning: deprecated conversion from string constant to ‘char*’
    ../src/Camera.cpp:314: warning: deprecated conversion from string constant to ‘char*’
    ../src/Camera.cpp:315: warning: deprecated conversion from string constant to ‘char*’
    ../src/Camera.cpp:316: warning: deprecated conversion from string constant to ‘char*’
    Compiling ../src/Clock.cpp…
    Compiling ../src/Draw.cpp…
    ../src/Draw.cpp:77: warning: deprecated conversion from string constant to ‘char*’
    Compiling ../src/main.cpp…
    Compiling ../src/OpenSteerDemo.cpp…
    Compiling ../src/Pathway.cpp…
    Compiling ../src/PlugIn.cpp…
    ../src/PlugIn.cpp: In static member function ‘static OpenSteer::PlugIn* OpenSteer::PlugIn::findByName(const char*)’:
    ../src/PlugIn.cpp:105: error: ‘strcmp’ was not declared in this scope
    make: ***  Error 1

    That's the error at the end and I have no clue what I should do!!!???!!?!?

    Thanks for the help and sorry for bugging you. It might happen a lot. :P

    cheers

     

Log in to post a comment.

MongoDB Logo MongoDB