From: <am...@ii...> - 2012-02-09 12:23:06
|
Dear Sir/Madam, I am working on Player Stage (player 3.1.0-svn and stage 3.2.2 on ubuntu 10.10). I can execute example (simple.cfg) successfully. It includes "wander" file, i think it is wander.cc. I can create .cfg, .world and .inc files. I have written .cc file also. But I am unable to compile and execute this .cc file. I tried to compile and execute already given "example0.cc" file. I compiled it with g++ -o example0 $(pkg-config --cflags playerc++) example0.cc $(pkg-config --libs playerc++) command. Then I type ccmake .. in the directory root@ubuntu:~/playersrc/examples/libplayerc++# A new window appered. I pressed 'c' to configure and 'g' to generate and exit. I was successfull. Then I type cmake . in the same directory root@ubuntu:~/playersrc/examples/libplayerc++# Now it is giving playerc++ examples will not be built - playerc++ client library is disabled -- ==================== -- -- Configuring done -- Generating done -- Build files have been written to: /home/amit/playersrc/examples/libplayerc++ How can I enable playerc++ client library? Am I going in right direction? Please tell me step by step procedure to execute my own wtitten .cc file. Thanks and Regards, Amit Kumar IIIT India |