Page 1 of 1

0.9.6 compile erro on IOS

Posted: 14 Jun 2013, 09:35
by ganquan
i got an link error when compile 0.9.6 on IOS

Code: Select all

Undefined symbols for architecture i386:
  "Sfs2X::Bitswarm::BBox::BBClient::SEP", referenced from:
      Sfs2X::Bitswarm::BBox::BBClient::EncodeRequest(boost::shared_ptr<std::string>, boost::shared_ptr<void>) in BBClient.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
move the

Code: Select all

const static char SEP = '|';
form BBClient.h to BBClient.cpp will make it work fine.

Re: 0.9.6 compile erro on IOS

Posted: 14 Jun 2013, 16:03
by MBagnati
Thanks for the notice.
We move the declaration from BBClient.h to BBClient.cpp as you have suggested