{"action":"created","issue":{"url":"https://api.github.com/repos/segwayrmp/libsegwayrmp/issues/16","labels_url":"https://api.github.com/repos/segwayrmp/libsegwayrmp/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/segwayrmp/libsegwayrmp/issues/16/comments","events_url":"https://api.github.com/repos/segwayrmp/libsegwayrmp/issues/16/events","html_url":"https://github.com/segwayrmp/libsegwayrmp/issues/16","id":97766999,"number":16,"title":"Object Library Compilation Failure","user":{"login":"Roboman95","id":13543201,"avatar_url":"https://avatars.githubusercontent.com/u/13543201?v=3","gravatar_id":"","url":"https://api.github.com/users/Roboman95","html_url":"https://github.com/Roboman95","followers_url":"https://api.github.com/users/Roboman95/followers","following_url":"https://api.github.com/users/Roboman95/following{/other_user}","gists_url":"https://api.github.com/users/Roboman95/gists{/gist_id}","starred_url":"https://api.github.com/users/Roboman95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roboman95/subscriptions","organizations_url":"https://api.github.com/users/Roboman95/orgs","repos_url":"https://api.github.com/users/Roboman95/repos","events_url":"https://api.github.com/users/Roboman95/events{/privacy}","received_events_url":"https://api.github.com/users/Roboman95/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-28T18:11:42Z","updated_at":"2015-08-07T19:35:11Z","closed_at":null,"body":"I'm currently working on implementing the libsegwayrmp library with vision processing logic using Code::Blocks as the IDE. I made a header file to interface with vision processing logic by using the example file of libsegwayrmp. After stabilizing the vision processing libraries, the only library issues I have left are the libraries of the libsegwayrmp. I linked the libsegwayrmp.a file to the project and compiled and got the compile error of:\r\n ||=== Build: Debug in SegwayBot (compiler: GNU GCC Compiler) ===|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::disconnect()':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|251|undefined reference to `FT_Close'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|251|undefined reference to `FT_Close'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::connectBySerial()':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|312|undefined reference to `FT_OpenEx'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::connectByDescription()':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|339|undefined reference to `FT_OpenEx'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::connectByIndex()':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|364|undefined reference to `FT_Open'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::read(unsigned char*, int)':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|262|undefined reference to `FT_Read'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::write(unsigned char*, int)':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|279|undefined reference to `FT_Write'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::enumerateUSBDevices()':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|89|undefined reference to `FT_SetVIDPID'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|100|undefined reference to `FT_CreateDeviceInfoList'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|118|undefined reference to `FT_GetDeviceInfoList'|\r\n/usr/local/libsegwayrmp/lib/libsegwayrmp.a(rmp_ftd2xx.cc.o)||In function `segwayrmp::FTD2XXRMPIO::connect()':|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|191|undefined reference to `FT_SetBaudRate'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|203|undefined reference to `FT_SetTimeouts'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|214|undefined reference to `FT_SetLatencyTimer'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|225|undefined reference to `FT_SetFlowControl'|\r\n/usr/local/libsegwayrmp/src/impl/rmp_ftd2xx.cc|236|undefined reference to `FT_Purge'|\r\n||=== Build failed: 15 error(s), (0 minute(s), 0 second(s)) ===|\r\n\r\nThen I linked the libftd2xx.a file to the project. Compile and got the error:\r\n/usr/bin/ld: /usr/local/libsegwayrmp/lib/libftd2xx.a(ftd2xx.o)||undefined reference to symbol 'dlclose@@GLIBC_2.2.5'|\r\n\r\nI don't think these set of errors are related both are  concerning for me.  Am I linking the libraries the wrong way?"},"comment":{"url":"https://api.github.com/repos/segwayrmp/libsegwayrmp/issues/comments/128804742","html_url":"https://github.com/segwayrmp/libsegwayrmp/issues/16#issuecomment-128804742","issue_url":"https://api.github.com/repos/segwayrmp/libsegwayrmp/issues/16","id":128804742,"user":{"login":"Roboman95","id":13543201,"avatar_url":"https://avatars.githubusercontent.com/u/13543201?v=3","gravatar_id":"","url":"https://api.github.com/users/Roboman95","html_url":"https://github.com/Roboman95","followers_url":"https://api.github.com/users/Roboman95/followers","following_url":"https://api.github.com/users/Roboman95/following{/other_user}","gists_url":"https://api.github.com/users/Roboman95/gists{/gist_id}","starred_url":"https://api.github.com/users/Roboman95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roboman95/subscriptions","organizations_url":"https://api.github.com/users/Roboman95/orgs","repos_url":"https://api.github.com/users/Roboman95/repos","events_url":"https://api.github.com/users/Roboman95/events{/privacy}","received_events_url":"https://api.github.com/users/Roboman95/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T19:35:11Z","updated_at":"2015-08-07T19:35:11Z","body":"The library file that resolves this error is called \"libdl.so.2\" for 32 bit. The file is located /usr/local/lib."}}