CHAI3DCHAI3D

normal Not able to compile V-REP module in macOS Sierra

More
18 Mar 2017 18:19 #1

Hi, thanks in advance for any help with this issue. First I'd say that any other module and the examples in Chai3D are working properly.

When I compile V-REP module (macOS Sierra 10.12.3, Xcode 4.2.1), get this warning and error

d: warning: directory not found for option '-L/Users/seb/workspace/sdk/external/chai3d/external/DHD/lib/mac'
ld: library not found for -ldrd
clang: error: linker command failed with exit code 1 (use -v to see invocation


Again thanks for your support,

Attached is the complete log file.

Attachment Buildtargetv_repExtCHAI3D_2017-03-18T11-41-09_2017-03-18.rtf not found

Attachments:

Please Log in or Create an account to join the conversation.

More
21 Mar 2017 08:07 #2

Hello - this is a bug, an absolute path to a library found its way into the XCode project file. You can fix this by editing the file

modules/V-REP/chai3d-V-REP.xcodeproj/project.pbxproj
and changing lines 394 and 409 from
/Users/seb/workspace/sdk/external/chai3d/external/DHD/lib/mac
to
../../external/DHD/lib/mac
That should do the trick.
This will be fixed in the next release, thanks for pointing it out.

Please Log in or Create an account to join the conversation.

More
22 Mar 2017 20:51 #3

Thanks, this solved the problem.

Please Log in or Create an account to join the conversation.