SmartFoxClientApi - MAC Sierra - Compilation Issues

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

petergpls
Posts: 16
Joined: 14 Apr 2013, 14:15

SmartFoxClientApi - MAC Sierra - Compilation Issues

Postby petergpls » 19 Jan 2017, 11:32

Hi

I followed the instructions for setting and building the SmartFoxClientApi exactly as stated and yet I am getting undefined symbols for the smart fox component

I have attached a biot of the output - if someone could tell me what may be the problem remembering that I followed the instructions as stated for the C++ MAC version:

Ld /Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Products/Debug/libSmartFoxClientApi.dylib normal x86_64
cd /Users/peterg/dev/sfs2x/SmartFoxClientApi
export MACOSX_DEPLOYMENT_TARGET=10.12
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -L/Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Products/Debug -L/usr/local/Cellar/openssl/1.0.2j/lib -L/Users/peterg/dev/sfs2x/SFS2X_API_Cpp_v1.6.4/Core/BoostAsio/Unix/stage/lib -F/Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Products/Debug -filelist /Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Intermediates/SmartFoxClientApi.build/Debug/SmartFoxClientApi.build/Objects-normal/x86_64/SmartFoxClientApi.LinkFileList -install_name /usr/local/lib/libSmartFoxClientApi.dylib -mmacosx-version-min=10.12 -Xlinker -object_path_lto -Xlinker /Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Intermediates/SmartFoxClientApi.build/Debug/SmartFoxClientApi.build/Objects-normal/x86_64/SmartFoxClientApi_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -lboost_wave -lboost_type_erasure -lboost_unit_test_framework -lboost_test_exec_monitor -lboost_prg_exec_monitor -lboost_timer -lboost_signals -lboost_wserialization -lboost_serialization -lboost_random -lboost_numpy -lboost_python -lboost_program_options -lboost_unit_test_framework -lboost_timer -lboost_math_c99l -lboost_math_c99f -lboost_math_c99 -lboost_math_tr1l -lboost_math_tr1f -lboost_math_tr1 -lboost_log_setup -lboost_log -lboost_locale -lboost_iostreams -lboost_graph -lboost_filesystem -lboost_exception -lboost_coroutine -lboost_context -lboost_container -lboost_coroutine -lboost_context -lboost_container -lboost_wave -lboost_type_erasure -lboost_prg_exec_monitor -lboost_signals -lboost_wserialization -lboost_serialization -lboost_random -lboost_numpy -lboost_python -lboost_program_options -lboost_math_c99l -lboost_math_c99f -lboost_math_c99 -lboost_math_tr1l -lboost_math_tr1f -lboost_math_tr1 -lboost_log_setup -lboost_log -lboost_locale -lboost_iostreams -lboost_graph -lboost_filesystem -lboost_chrono -lboost_system -lboost_regex -lboost_date_time -lboost_thread -lboost_chrono -lboost_atomic -lboost_date_time -lboost_system -lboost_thread -lboost_atomic -lboost_regex -lcrypto -lssl -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Intermediates/SmartFoxClientApi.build/Debug/SmartFoxClientApi.build/Objects-normal/x86_64/SmartFoxClientApi_dependency_info.dat -o /Users/peterg/Library/Developer/Xcode/DerivedData/SmartFoxClientApi-gtktcjwtgpzuwhbigjzqkdlojnpv/Build/Products/Debug/libSmartFoxClientApi.dylib

Undefined symbols for architecture x86_64:
"Sfs2X::SmartFox::LagMonitor()", referenced from:
Sfs2X::Controllers::SystemController::FnPingPong(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::GetRoomById(long)", referenced from:
Sfs2X::Controllers::SystemController::FnSetMMOItemVariables(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::HandleLogin(boost::shared_ptr<Sfs2X::Core::BaseEvent>)", referenced from:
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::IsConnected()", referenced from:
Sfs2X::Util::CryptoInitializer::CryptoInitializer(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::JoinedRooms()", referenced from:
Sfs2X::Controllers::SystemController::FnUserExitRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::LeaveRoomRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::SpectatorToPlayerRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::PlayerToSpectatorRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::RoomManager()", referenced from:
Sfs2X::Controllers::SystemController::FnJoinRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnCreateRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnChangeRoomName(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnChangeRoomPassword(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnChangeRoomCapacity(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnSetRoomVariables(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnSubscribeRoomGroup(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::UserManager()", referenced from:
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnSetUserVariables(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnSpectatorToPlayer(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnPlayerToSpectator(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnInviteUsers(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnInvitationReply(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnUserLost(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::BuddyManager()", referenced from:
Sfs2X::Requests::Buddylist::SetBuddyVariablesRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::Buddylist::BlockBuddyRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnInitBuddyList(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnAddBuddy(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnRemoveBuddy(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnBlockBuddy(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnGoOnline(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::GetIPAddress(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, long)", referenced from:
Sfs2X::Util::CryptoInitializer::RunHelperSSLAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::HandleLogout()", referenced from:
Sfs2X::Controllers::SystemController::FnLogout(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::IsConnecting()", referenced from:
Sfs2X::Bitswarm::BitSwarmClient::OnSocketError(unsigned long long, boost::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, Sfs2X::Core::Sockets::SocketErrors) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::SessionToken()", referenced from:
Sfs2X::Requests::LoginRequest::Execute(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperSSLAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::DispatchEvent(boost::shared_ptr<Sfs2X::Core::BaseEvent>)", referenced from:
Sfs2X::Logging::Logger::Log(Sfs2X::Logging::LogLevel, boost::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::ExtensionController::HandleMessage(boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnHandshake(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnLogout(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnJoinRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnCreateRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::LastJoinedRoom(boost::shared_ptr<Sfs2X::Entities::Room>)", referenced from:
Sfs2X::Controllers::SystemController::FnJoinRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnUserExitRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::LastJoinedRoom()", referenced from:
Sfs2X::Requests::MMO::SetUserPositionRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::SetRoomVariablesRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::SetRoomVariablesRequest::Execute(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Entities::SFSUser::PlayerId() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::GenericMessageRequest::ExecutePublicMessage(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::GenericMessageRequest::ExecuteObjectMessage(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::SpectatorToPlayerRequest::Execute(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::GetBoostService()", referenced from:
Sfs2X::Bitswarm::BitSwarmClient::GetBoostService() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperSSLAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::GetSocketEngine()", referenced from:
Sfs2X::Util::CryptoInitializer::CryptoInitializer(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::OnHttpResponse(boost::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Bitswarm::UDPManager::UDPManager(boost::asio::io_service&, boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Bitswarm::UDPManager::OnUDPData(unsigned long long, boost::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::HandleHandShake(boost::shared_ptr<Sfs2X::Core::BaseEvent>)", referenced from:
Sfs2X::Controllers::SystemController::FnHandshake(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::GetReconnectionSeconds()", referenced from:
Sfs2X::Bitswarm::BitSwarmClient::OnSocketClose(unsigned long long) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::SetReconnectionSeconds(long)", referenced from:
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::HandleClientDisconnection(boost::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >)", referenced from:
Sfs2X::Controllers::SystemController::FnClientDisconnection(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::HandleReconnectionFailure()", referenced from:
Sfs2X::Controllers::SystemController::FnReconnectionFailure(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::Log()", referenced from:
Sfs2X::Entities::Managers::SFSUserManager::LogWarn(boost::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnJoinRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnCreateRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnChangeRoomName(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnChangeRoomPassword(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnChangeRoomCapacity(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::Send(boost::shared_ptr<Sfs2X::Requests::IRequest>)", referenced from:
Sfs2X::Util::LagMonitor::OnPollEvent(boost::system::error_code const&) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::Debug()", referenced from:
Sfs2X::Controllers::ExtensionController::HandleMessage(boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::HandleMessage(boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Core::SFSIOHandler::OnDataRead(boost::shared_ptr<Sfs2X::Util::ByteArray>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Bitswarm::BitSwarmClient::Debug() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Bitswarm::UDPManager::OnUDPData(unsigned long long, boost::shared_ptr<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Bitswarm::UDPManager::Send(boost::shared_ptr<Sfs2X::Util::ByteArray>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::Config()", referenced from:
Sfs2X::Bitswarm::BitSwarmClient::Connect(boost::shared_ptr<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, unsigned short) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::LoginRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperSSLAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Util::CryptoInitializer::RunHelperAsync() in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::MySelf(boost::shared_ptr<Sfs2X::Entities::User>)", referenced from:
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::MySelf()", referenced from:
Sfs2X::Requests::Game::InviteUsersRequest::Execute(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::KickUserRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Requests::BanUserRequest::Validate(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnLogin(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnGoOnline(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnSetBuddyVariables(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
Sfs2X::Controllers::SystemController::FnFindUsers(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
...
"Sfs2X::SmartFox::BitSwarm()", referenced from:
Sfs2X::Core::Sockets::UDPSocketLayer::UDPSocketLayer(boost::shared_ptr<Sfs2X::SmartFox>) in libSmartFoxClientApi.dylib-x86_64-master.o
"Sfs2X::SmartFox::IsJoining(bool)", referenced from:
Sfs2X::Controllers::SystemController::FnJoinRoom(unsigned long long, boost::shared_ptr<Sfs2X::Bitswarm::IMessage>) in libSmartFoxClientApi.dylib-x86_64-master.o
"_compress", referenced from:
Sfs2X::Util::ByteArray::Compress() in libSmartFoxClientApi.dylib-x86_64-master.o
"_uncompress", referenced from:
Sfs2X::Util::ByteArray::Uncompress() in libSmartFoxClientApi.dylib-x86_64-master.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Thanks
Peter
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SmartFoxClientApi - MAC Sierra - Compilation Issues

Postby Lapo » 19 Jan 2017, 11:49

Hi,
I have forwarded your request to our C++ expert. We'll get back to you asap.

Are you working with XCode 7.x or 8?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
petergpls
Posts: 16
Joined: 14 Apr 2013, 14:15

Re: SmartFoxClientApi - MAC Sierra - Compilation Issues

Postby petergpls » 19 Jan 2017, 19:38

Hi and Thanks

I am working with Xcode 8

Regards
petergpls
Posts: 16
Joined: 14 Apr 2013, 14:15

Re: SmartFoxClientApi - MAC Sierra - Compilation Issues

Postby petergpls » 20 Jan 2017, 21:50

I solved two reference issues for _compress and _uncompress by including ZLib library BUT still have all of the other link errors
Any progress?
Thanks
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SmartFoxClientApi - MAC Sierra - Compilation Issues

Postby Lapo » 21 Jan 2017, 09:40

Sorry, this is taking longer than expected as we have to setup a machine with the same config ( OS and Xcode. )
We have many machines and VMs with all flavors of Linux, Windows and OSX but Sierra + XCode 8 is not one of those :)

We'll get back to you early next week
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SmartFoxClientApi - MAC Sierra - Compilation Issues

Postby Lapo » 23 Jan 2017, 08:26

UPDATE:
We have tested under Sierra + XCode 8.1 and did not find any issues compiling the C++ API.

Does your project's "Build Phases" section look like this?
image001.png
(162.85 KiB) Not downloaded yet
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 47 guests