Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #5

Closed
lyokka opened this issue Nov 6, 2017 · 7 comments
Closed

build error #5

lyokka opened this issue Nov 6, 2017 · 7 comments

Comments

@lyokka
Copy link

lyokka commented Nov 6, 2017

Hello, when I try to "make config=debug64"

I got this error

Linking DeepLoco
/usr/bin/ld: cannot find -lBulletDynamics_gmake_x64_debug
/usr/bin/ld: cannot find -lBulletCollision_gmake_x64_debug
/usr/bin/ld: cannot find -lLinearMath_gmake_x64_debug
collect2: error: ld returned 1 exit status
DeepLoco.make:130: recipe for target '../x64/Debug/DeepLoco' failed
make[1]: *** [../x64/Debug/DeepLoco] Error 1
Makefile:16: recipe for target 'DeepLoco' failed
make: *** [DeepLoco] Error 2
make: *** Waiting for unfinished jobs....
Linking DeepLoco_Optimizer
/usr/bin/ld: cannot find -lBulletDynamics_gmake_x64_debug
/usr/bin/ld: cannot find -lBulletCollision_gmake_x64_debug
/usr/bin/ld: cannot find -lLinearMath_gmake_x64_debug
collect2: error: ld returned 1 exit status
DeepLoco_Optimizer.make:143: recipe for target '../x64/Debug/DeepLoco_Optimizer' failed
make[1]: *** [../x64/Debug/DeepLoco_Optimizer] Error 1
Makefile:44: recipe for target 'DeepLoco_Optimizer' failed
make: *** [DeepLoco_Optimizer] Error 2

@xbpeng
Copy link
Owner

xbpeng commented Nov 7, 2017

It looks like it is having trouble finding Bullet. Have you built bullet yet?

@lyokka
Copy link
Author

lyokka commented Nov 8, 2017

Thanks for your reply, this happened during building those packages, I read your readme which I think that I don't need to install Bullet previously.

@Neo-X
Copy link
Collaborator

Neo-X commented Nov 9, 2017

Please execute step 7 in the build instructions for the README.

Copy the prebuilt libraries from the external folder

cp external/caffe/build/lib/libcaffe.* lib/
cp external/Bullet/bin/.so lib/
cp external/jsoncpp/build/debug/src/lib_json/
.so* lib/

I fixed the ordering in the build instructions.

@ghost
Copy link

ghost commented Nov 10, 2017

I am trying to make on Ubuntu 16.04. I got same problem as the first asker after I followed the instructions of read.me. although I tried to install bullet of https://github.com/lunkhound/bullet3, the problem was not solved. Would you please telling the way to solve this problem.

@Neo-X
Copy link
Collaborator

Neo-X commented Nov 10, 2017

Please copy the prebuild versions of Bullet form the given external library folder (https://github.com/xbpeng/DeepLoco/releases) to your lib directory.

@hframa hframa mentioned this issue Nov 11, 2017
@hframa
Copy link

hframa commented Nov 11, 2017

Copy and Rename following three files in external/Bullet/bin folder:

libBulletDynamics_gmake_x64_release.so
libBulletCollision_gmake_x64_release.so
libLinearMath_gmake_x64_release.so

To:

libBulletDynamics_gmake_x64_debug.so
libBulletCollision_gmake_x64_debug.so
libLinearMath_gmake_x64_debug.so

Then follow step 5 to copy prebuild version from external library folders to your lib directory.

@Neo-X
Copy link
Collaborator

Neo-X commented Nov 15, 2017

Yep, that would work fine. You should not need to debug bullet anyway.

@Neo-X Neo-X closed this as completed Nov 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants