Skip to Content
author's profile photo Former Member
Former Member

SAP Visual enterprise iOS DVL library linker error

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?

DVL_link_error.png (203.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2013 at 07:05 PM

    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!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.