0.9.6 compile erro on IOS

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

Moderators: Lapo, Bax, MBagnati

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

0.9.6 compile erro on IOS

Postby ganquan » 14 Jun 2013, 09:35

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

Postby MBagnati » 14 Jun 2013, 16:03

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

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 48 guests