Linking error on Stg::BlockGroup

Sterling McLeod <[email protected]> Wed, 26 Mar 2014 12:56:27 -0400
Newsgroups gmane.science.robotics.playerstage
Message-ID <CAOik0izayUq-RN15At8FiLGqeMipuky0LFE6T5raTMCi7wXs9Q@mail.gmail.com>
Hi,

I am receiving a linking error when trying to compile some basic source. I
am trying to create a Stg::Model object with the following:

#include <Stage-4.1/stage.hh>

int main(int argc, char** argv) {
  Stg::Model model;
}

I compile with "g++ stage_test.cpp -lstage". It returns the following error:

/tmp/ccFQf9jQ.o: In function `Stg::Model::Model()':
stage_test.cpp:(.text._ZN3Stg5ModelC2Ev[_ZN3Stg5ModelC5Ev]+0x5a): undefined
reference to `Stg::BlockGroup::BlockGroup()'
collect2: error: ld returned 1 exit status

When I install Stage, it installs /usr/local/lib64/libstage.so.4.1.1 and
/usr/local/lib64/libstage.so. Neither of these work.

Can anyone tell me what I am missing here?

Sterling

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech

_______________________________________________
Playerstage-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-developers