getting v-rep to run

Typically: "How do I... ", "How can I... " questions
Post Reply
alphaUser
Posts: 19
Joined: 12 Feb 2013, 15:24

getting v-rep to run

Post by alphaUser »

Dear Sir,

I have been trying to get V-REP running under Gentoo-Linux (64bit). I
have successfully downloaded the educational package and as well the
source code, and with some minor adjustments, got it to compile
through (qtcreator). Unfortunately, I do not now where to start from
here, since only a .so file seems to be build. When I start vrep from
the binary distribution and even if I let it load the new build
libv_rep.so it will fail stating:

Error: could not find or correctly load the V-REP library

Thank you and Regards!

coppelia
Site Admin
Posts: 10364
Joined: 14 Dec 2012, 00:25

Re: getting v-rep to run

Post by coppelia »

Hello,

Did you copy-and-paste the created library into the original V-REP PRO
EDU folder?
Make sure to copy all created libv_rep.so.* files into that directory.
You may have to recompile the client application (vrep). At the same
time, if libv_rep.so itself cannot find what it needs, the client
application cannot load it (e.g. the Lua libraries are required as well)

Try ldd libv_rep.so to see if something is missing.

alphaUser
Posts: 19
Joined: 12 Feb 2013, 15:24

Re: getting v-rep to run

Post by alphaUser »

Dear coppelia,

thanks for the quick reply!

I did exactly as you told me. The only library missing is
libpng12.so, since I have libpng15.so on my system. I symlinked it, so
ldd shows that it finds all librarys both on libv_rep.so as well as
vrep. Also I did an strace on vrep, but I could not find a sign where it
might fail. I attached it if you want to have a look at it.

How to I rebuild vrep?!

Thanks and Regards
Last edited by alphaUser on 14 Feb 2013, 01:27, edited 1 time in total.

alphaUser
Posts: 19
Joined: 12 Feb 2013, 15:24

Re: getting v-rep to run

Post by alphaUser »

Hello again,

I could resolve the issue. It all had to do with a missing libpng12 (as
I have libpng15). So installing libpng12 fixed the issue.

I am looking forward to work with the environment. Seems quite
promissing to me.

Post Reply