ofxOSXBoost icon indicating copy to clipboard operation
ofxOSXBoost copied to clipboard

I Can't compile your xcode project.

Open genosyde opened this issue 9 years ago • 6 comments

i've post my problem. please click below line and give me a good solution.

http://forum.openframeworks.cc/t/compiling-error-with-boost-c-library-in-xcode-project/21575

genosyde avatar Nov 27 '15 09:11 genosyde

I'm not exactly sure whats happening here. Could you copy and paste the error rather than screenshot?

danoli3 avatar Dec 04 '15 08:12 danoli3

I'm sorry too late for your request. I've tried to test with your example xcode project. your code and boost/foreach.hpp library works perfectly. But, when I add one more header, that is boost/circular_buffer.hpp, happened many errors. as your wish, now I post error logs. thanks for reading and have a good day.

/Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:39:27: No member named 'remove_pointer' in namespace 'boost::move_detail' /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:40:27: No member named 'add_pointer' in namespace 'boost::move_detail' /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:45:7: No member named 'disable_if_c' in namespace 'boost::move_detail'; did you mean '::boost::disable_if_c'? /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:50:27: No member named 'is_const' in namespace 'boost::move_detail' /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:56:7: No member named 'enable_if_convertible' in namespace 'boost::move_detail'; did you mean '::boost::enable_if_convertible'? /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:57:7: No member named 'disable_if_convertible' in namespace 'boost::move_detail'; did you mean '::boost::enable_if_convertible'? /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:58:27: No member named 'bool_' in namespace 'boost::move_detail' /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:59:27: No member named 'true_' in namespace 'boost::move_detail' /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:60:7: No member named 'false_' in namespace 'boost::move_detail'; did you mean 'mpl::false_'? /Users/genosyde/Downloads/Coding/ofFrameWork/of_v0.9.4_osx_release/addons/ofxOSXBoost-master/libs/boost/include/boost/intrusive/detail/mpl.hpp:61:7: No member named 'yes_type' in namespace 'boost::move_detail'; did you mean 'range_detail::yes_type'?

genosyde avatar Dec 16 '15 08:12 genosyde

hey @danoli3, im also getting compiler errors when building the example with OF 0.9.4

julapy avatar Mar 28 '16 02:03 julapy

Hey @julapy @genosyde,

I've updated master and added some new releases for 1.60.0. Try out the example now.

Also in a custom project just make sure the following:

How To Link to an Xcode Project? In Xcode Build Settings for your project:

Add to Library Search Paths ( LIBRARY_SEARCH_PATHS ) $(SRCROOT)/../../../addons/ofxOSXBoost/libs/boost/lib/osx Add to Header Search Paths ( HEADER_SEARCH_PATHS ) $(SRCROOT)/../../../addons/ofxOSXBoost/libs/boost/include In the Target under Build Phases

Add to 'Link Binary With Libraries' the boost.a found in the ofxOSXBoost/libs/boost/lib/osx directory.

danoli3 avatar Mar 28 '16 22:03 danoli3

cool thanks @danoli3, will check it out.

julapy avatar Mar 29 '16 01:03 julapy

working for me :)

julapy avatar Mar 29 '16 02:03 julapy