{"action":"created","issue":{"url":"https://api.github.com/repos/robotology/QA/issues/63","labels_url":"https://api.github.com/repos/robotology/QA/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/robotology/QA/issues/63/comments","events_url":"https://api.github.com/repos/robotology/QA/issues/63/events","html_url":"https://github.com/robotology/QA/issues/63","id":111776777,"number":63,"title":"Updating Yarp","user":{"login":"jpiabrantes","id":2369107,"avatar_url":"https://avatars.githubusercontent.com/u/2369107?v=3","gravatar_id":"","url":"https://api.github.com/users/jpiabrantes","html_url":"https://github.com/jpiabrantes","followers_url":"https://api.github.com/users/jpiabrantes/followers","following_url":"https://api.github.com/users/jpiabrantes/following{/other_user}","gists_url":"https://api.github.com/users/jpiabrantes/gists{/gist_id}","starred_url":"https://api.github.com/users/jpiabrantes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpiabrantes/subscriptions","organizations_url":"https://api.github.com/users/jpiabrantes/orgs","repos_url":"https://api.github.com/users/jpiabrantes/repos","events_url":"https://api.github.com/users/jpiabrantes/events{/privacy}","received_events_url":"https://api.github.com/users/jpiabrantes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/robotology/QA/labels/software","name":"software","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"vtikha","id":4537987,"avatar_url":"https://avatars.githubusercontent.com/u/4537987?v=3","gravatar_id":"","url":"https://api.github.com/users/vtikha","html_url":"https://github.com/vtikha","followers_url":"https://api.github.com/users/vtikha/followers","following_url":"https://api.github.com/users/vtikha/following{/other_user}","gists_url":"https://api.github.com/users/vtikha/gists{/gist_id}","starred_url":"https://api.github.com/users/vtikha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtikha/subscriptions","organizations_url":"https://api.github.com/users/vtikha/orgs","repos_url":"https://api.github.com/users/vtikha/repos","events_url":"https://api.github.com/users/vtikha/events{/privacy}","received_events_url":"https://api.github.com/users/vtikha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/robotology/QA/milestones/1","html_url":"https://github.com/robotology/QA/milestones/IFI%20Day%203","labels_url":"https://api.github.com/repos/robotology/QA/milestones/1/labels","id":1369898,"number":1,"title":"IFI Day 3","description":"","creator":{"login":"pattacini","id":3738070,"avatar_url":"https://avatars.githubusercontent.com/u/3738070?v=3","gravatar_id":"","url":"https://api.github.com/users/pattacini","html_url":"https://github.com/pattacini","followers_url":"https://api.github.com/users/pattacini/followers","following_url":"https://api.github.com/users/pattacini/following{/other_user}","gists_url":"https://api.github.com/users/pattacini/gists{/gist_id}","starred_url":"https://api.github.com/users/pattacini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pattacini/subscriptions","organizations_url":"https://api.github.com/users/pattacini/orgs","repos_url":"https://api.github.com/users/pattacini/repos","events_url":"https://api.github.com/users/pattacini/events{/privacy}","received_events_url":"https://api.github.com/users/pattacini/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":3,"state":"closed","created_at":"2015-10-22T09:04:31Z","updated_at":"2015-11-02T13:40:35Z","due_on":"2015-10-22T22:00:00Z","closed_at":"2015-10-23T22:03:16Z"},"comments":8,"created_at":"2015-10-16T07:33:16Z","updated_at":"2015-11-02T13:40:35Z","closed_at":null,"body":"I had my Yarp working but I decided to update it by doing `git pull`, I did `make clean`, `cmake..` and ran `make` again. I got a very strange error on the `make`:\r\n\r\n```\r\n[ 97%] Building CXX object src/yarpdataplayer-gtk/CMakeFiles/yarpdataplayer-gtk.dir/src/worker.cpp.o\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp: In member function ‘int WorkerClass::sendImages(int, int)’:\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:132:5: error: ‘string’ was not declared in this scope\r\n     string tmpPath = utilities->partDetails[part].path;\r\n     ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:132:5: note: suggested alternative:\r\nIn file included from /usr/include/c++/4.8/string:39:0,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/ConstString.h:32,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/PortReader.h:13,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/Portable.h:13,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/Stamp.h:15,\r\n                 from /home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:24:\r\n/usr/include/c++/4.8/bits/stringfwd.h:62:33: note:   ‘std::string’\r\n   typedef basic_string<char>    string;   \r\n                                 ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:132:12: error: expected ‘;’ before ‘tmpPath’\r\n     string tmpPath = utilities->partDetails[part].path;\r\n            ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:133:12: error: expected ‘;’ before ‘tmpName’\r\n     string tmpName;\r\n            ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:135:9: error: ‘tmpName’ was not declared in this scope\r\n         tmpName = utilities->partDetails[part].bot.get(frame).asList()->tail().tail().get(1).asString().c_str();\r\n         ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:137:9: error: ‘tmpName’ was not declared in this scope\r\n         tmpName = utilities->partDetails[part].bot.get(frame).asList()->tail().tail().get(0).asString().c_str();\r\n         ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:139:5: error: ‘tmpPath’ was not declared in this scope\r\n     tmpPath = tmpPath + tmpName;\r\n     ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:139:25: error: ‘tmpName’ was not declared in this scope\r\n     tmpPath = tmpPath + tmpName;\r\n                         ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:153:58: error: ‘cvCopyImage’ was not declared in this scope\r\n         cvCopyImage( img, (IplImage *) temp.getIplImage());\r\n                                                          ^\r\nmake[2]: *** [src/yarpdataplayer-gtk/CMakeFiles/yarpdataplayer-gtk.dir/src/worker.cpp.o] Error 1\r\nmake[1]: *** [src/yarpdataplayer-gtk/CMakeFiles/yarpdataplayer-gtk.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nCan anybody help me?\r\nI am using Ubuntu 14.04"},"comment":{"url":"https://api.github.com/repos/robotology/QA/issues/comments/153019243","html_url":"https://github.com/robotology/QA/issues/63#issuecomment-153019243","issue_url":"https://api.github.com/repos/robotology/QA/issues/63","id":153019243,"user":{"login":"vtikha","id":4537987,"avatar_url":"https://avatars.githubusercontent.com/u/4537987?v=3","gravatar_id":"","url":"https://api.github.com/users/vtikha","html_url":"https://github.com/vtikha","followers_url":"https://api.github.com/users/vtikha/followers","following_url":"https://api.github.com/users/vtikha/following{/other_user}","gists_url":"https://api.github.com/users/vtikha/gists{/gist_id}","starred_url":"https://api.github.com/users/vtikha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vtikha/subscriptions","organizations_url":"https://api.github.com/users/vtikha/orgs","repos_url":"https://api.github.com/users/vtikha/repos","events_url":"https://api.github.com/users/vtikha/events{/privacy}","received_events_url":"https://api.github.com/users/vtikha/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T13:40:35Z","updated_at":"2015-11-02T13:40:35Z","body":"Hi @jpiabrantes you confirm that the error is still the following?\r\n\r\n```\r\n[ 97%] Building CXX object src/yarpdataplayer-gtk/CMakeFiles/yarpdataplayer-gtk.dir/src/worker.cpp.o\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp: In member function ‘int WorkerClass::sendImages(int, int)’:\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:132:5: error: ‘string’ was not declared in this scope\r\n     string tmpPath = utilities->partDetails[part].path;\r\n     ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:132:5: note: suggested alternative:\r\nIn file included from /usr/include/c++/4.8/string:39:0,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/ConstString.h:32,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/PortReader.h:13,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/Portable.h:13,\r\n                 from /home/joao/github/yarp/src/libYARP_OS/include/yarp/os/Stamp.h:15,\r\n                 from /home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:24:\r\n/usr/include/c++/4.8/bits/stringfwd.h:62:33: note:   ‘std::string’\r\n   typedef basic_string<char>    string;   \r\n                                 ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:132:12: error: expected ‘;’ before ‘tmpPath’\r\n     string tmpPath = utilities->partDetails[part].path;\r\n            ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:133:12: error: expected ‘;’ before ‘tmpName’\r\n     string tmpName;\r\n            ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:135:9: error: ‘tmpName’ was not declared in this scope\r\n         tmpName = utilities->partDetails[part].bot.get(frame).asList()->tail().tail().get(1).asString().c_str();\r\n         ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:137:9: error: ‘tmpName’ was not declared in this scope\r\n         tmpName = utilities->partDetails[part].bot.get(frame).asList()->tail().tail().get(0).asString().c_str();\r\n         ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:139:5: error: ‘tmpPath’ was not declared in this scope\r\n     tmpPath = tmpPath + tmpName;\r\n     ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:139:25: error: ‘tmpName’ was not declared in this scope\r\n     tmpPath = tmpPath + tmpName;\r\n                         ^\r\n/home/joao/github/yarp/src/yarpdataplayer-gtk/src/worker.cpp:153:58: error: ‘cvCopyImage’ was not declared in this scope\r\n         cvCopyImage( img, (IplImage *) temp.getIplImage());\r\n                                                          ^\r\nmake[2]: *** [src/yarpdataplayer-gtk/CMakeFiles/yarpdataplayer-gtk.dir/src/worker.cpp.o] Error 1\r\nmake[1]: *** [src/yarpdataplayer-gtk/CMakeFiles/yarpdataplayer-gtk.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nI will try it out now on a similar system as yours.\r\nVadim"}}