0.9.6 compile erro on IOS

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

Post Reply
ganquan
Posts: 38
Joined: 17 Apr 2013, 01:42

0.9.6 compile erro on IOS

Post 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.
MBagnati
Posts: 126
Joined: 12 Feb 2013, 10:57

Re: 0.9.6 compile erro on IOS

Post by MBagnati »

Thanks for the notice.
We move the declaration from BBClient.h to BBClient.cpp as you have suggested
Post Reply