I want to start a project in C++ and run on the osx so I followed the guide for xcode on osx:
http://docs2x.smartfoxserver.com/GettingStarted/client-api-cpp-macos-xcode7
the first step of the guide told me build a dynamic API Library. but, in the next step it's all about on using static API library to set up an SFS2X project, which made me really confused as I only got a dylib file in previous step, please tell me what i have missed to get a static lib file, and happy new year to all you guys
xcode set up guide first step said build a dylib then next step said use a static lib
Moderators: Lapo, Bax, MBagnati
Re: xcode set up guide first step said build a dylib then next step said use a static lib
Hi,
thanks for reporting.
It looks like a mistake in the docs, because indeed the final product you should obtain is a static library, which is easier to distribute in your project. I think we need to correct the project screenshot so that it shows the selection on "Static", rather than dynamic.
In any case if you change that parameter in the project settings you should be fine following the compilation steps.
Let us know.
thanks for reporting.
It looks like a mistake in the docs, because indeed the final product you should obtain is a static library, which is easier to distribute in your project. I think we need to correct the project screenshot so that it shows the selection on "Static", rather than dynamic.
In any case if you change that parameter in the project settings you should be fine following the compilation steps.
Let us know.
Who is online
Users browsing this forum: No registered users and 22 guests