Linking error when compiling Rbody projects

Help
MinhThanh
2005-03-20
2013-04-17
  • MinhThanh

    MinhThanh - 2005-03-20

    I've met these three error when trying to compile the projects. Anybody can help?

    Linking...
    LINK : fatal error LNK1104: cannot open file 'osgd.lib'

    Build log was saved at "file://d:\replicantbody\VisualStudio\vrutils_debug\BuildLog.htm"
    vrutils - 1 error(s), 0 warning(s)

    ------ Build started: Project: ConfigScript, Configuration: Debug Win32 ------

    Linking...
    LINK : fatal error LNK1104: cannot open file 'rvrutilsd.lib'

    Build log was saved at "file://d:\replicantbody\VisualStudio\ConfigScript_debug\BuildLog.htm"
    ConfigScript - 1 error(s), 0 warning(s)

    ------ Build started: Project: ReplicantBody, Configuration: Debug Win32 ------

    Linking...
    LINK : fatal error LNK1104: cannot open file 'rvrutilsd.lib'

    Build log was saved at "file://d:\replicantbody\VisualStudio\ReplicantBody_debug\BuildLog.htm"
    ReplicantBody - 1 error(s), 0 warning(s)

    ---------------------- Done ----------------------

        Build: 0 succeeded, 3 failed, 0 skipped

     
    • MinhThanh

      MinhThanh - 2005-03-20

      OK, I solved it by using OSG and Cal3D libraries. But I've got another when running the demo (demo_rbodyd.exe?).

      Environment variables REPLICANT_FILE_PATH & OSG_FILE_PATH are set correctly!

      ------------------------------------------------------------

      F:\Class\Computer Graphics and Virtual Reality\replicantbody>bin\demo_rbodyd.exe
      scene/environment.flt characters\character2.char
      Warning: Could not find plugin to read objects from file "scene/environment.flt"
      .
      bin\demo_rbodyd.exe: No model loaded
      ReplicantMgr::readCharacterFile: Unable to locate file: characters/character1.ch
      ar

      F:\Class\Computer Graphics and Virtual Reality\replicantbody>

      ----------------------------------------------------------

       
    • Peter S

      Peter S - 2005-03-22

      The first warning is probably because you're missing the openflight (.flt) plugin for osg. Check the osg-site (www.openscenegraph.org) for information on how to include  that plugin with your osg build.

      The error message "unable to local file" is as you can see referring to the "character1.char" file and not "character2.char". If you look at main.cpp in rbodydemo you'll see that "character1.char" is hard coded. If the paths are set correctly that file should be found however. Try using absolute paths when debugging to see if that solves the problem.

      regards
      Peter Sunna

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks