## How to configure Qt program to communicate with v-rep via b0 remote api?

Typically: "How do I... ", "How can I... " questions
wangsc
Posts: 2
Joined: 10 Jul 2019, 04:15

### How to configure Qt program to communicate with v-rep via b0 remote api?

Hi,

I am using b0 remote api to connect Qt with v-rep, I have put the Qt program to the same path of the official bubbleRobClinet program, i.e. programming/b0RemoteApiBindings/cpp, and configured the .pro file almost the same as bubbleRobClient.pro.
However, there are still some dependency problems in my program. Firstly, I have included the path to programming/blueZero/include/b0/bindings with the following code the same as official bubbleRobClient.pro:

Code: Select all

INCLUDEPATH += $$B0_INCLUDEPATH/b0/bindings and I got an error from b0RemoteApi.h: Code: Select all 'c.h' file not found Then I used relative path: Code: Select all INCLUDEPATH += ../../../bluezero/include/b0/bindings and I got another error: Code: Select all error: LNK1146: no argument specified with option '/LIBPATH:' The absolute path didn't work either. How can I configure my Qt program properly? Any help would be appreciated. coppelia Site Admin Posts: 7396 Joined: 14 Dec 2012, 00:25 ### Re: How to configure Qt program to communicate with v-rep via b0 remote api? Hello, you must do something wrong in the way you are specifying the includepath. Which platform are you on? Cheers wangsc Posts: 2 Joined: 10 Jul 2019, 04:15 ### Re: How to configure Qt program to communicate with v-rep via b0 remote api? coppelia wrote: 15 Jul 2019, 06:33 Hello, you must do something wrong in the way you are specifying the includepath. Which platform are you on? Cheers Thank you for your reply. I'm using v-rep pro edu v3.6.1 and Qt Creator on Windows 10, and this is how I include the required paths: Code: Select all INCLUDEPATH += E:\boost_1_68_0 INCLUDEPATH +=$$B0_INCLUDEPATH/b0/bindings
INCLUDEPATH += ..
INCLUDEPATH += ../msgpack-c/include
BTW, I also have problem to link the bluezero library, because I find b0.dll in the root directory of vrep and b0.h in programming/bluezero/include/b0/.