cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Visual enterprise iOS DVL library linker error

Former Member
0 Kudos

Hello

I have found a problem in iOS DVL library. There are no symbols for i386 architecture for cVDSWriteContext::AddID

Undefined symbols for architecture i386:

  "cVDSWriteContext::AddID(cVDSID const&)", referenced from:

      cVDSDataTypeWriter_Animation::WriteCustomData(unsigned char*, cVDSWriteContext&) in libDVL.a(VDSAnimationWrite.o)

      cVDSDataTypeWriter_Mesh::WriteCustomData(unsigned char*, cVDSWriteContext&) in libDVL.a(VDSMeshWrite.o)

      cVDSDataTypeWriter_Reference::Write(cVDSBuffer&, cVDSWriteContext&) in libDVL.a(VDSReferenceWrite.o)

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

You could reproduce problem in "Gesture" project from examples of SAP 3D Visual Enterprise application SDK 1.1

You just should add flag "-all_load" in other linker flags of project properties and try to compile for simulator (see attached screenshot).

For other architectures project linked without the error.

We  should use this flag in our project and now we can't to test application in simulators, only on devices.


Does anybody know how I could inform developers about the problem?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I just experienced exactly the same problem, and the solution I finally got is,

1. add -lstdc++ to your other linker flag

2. make sure your Compiler for C/C++/Objective-C is "Default Compiler (Apple LLVM5.0)

good luck!