ofxPixelPusher icon indicating copy to clipboard operation
ofxPixelPusher copied to clipboard

Needs Xcode support

Open morphogencc opened this issue 9 years ago • 4 comments

Right now the library hasn't been tested on OSX at all. This is a relatively low priority for me, so someone else going ahead and making the project / testing it would greatly expedite the process.

morphogencc avatar Feb 16 '16 18:02 morphogencc

Testing now,

/Users/dd/src/of_v0.9.3_osx_release/addons/ofxPixelPusher/src/Utilities.h
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxPixelPusher/src/Utilities.h:43:23: Use of undeclared identifier 'NAN'
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxPixelPusher/src/Pixel.cpp
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxPixelPusher/src/Pixel.cpp:83:3: No member named 'printf' in namespace 'std'; did you mean simply 'printf'?

and after trying to fix this, some more warnings / errors

/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/impl/src.cpp
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/impl/src.cpp:21:3: "This file is deprecated."
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/impl/src.cpp:22:3: "Please #include <asio/impl/src.hpp> instead."
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/impl/src.hpp
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/impl/src.hpp:19:3: Do not compile Asio library source with ASIO_HEADER_ONLY defined
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/time_traits.hpp
/Users/dd/src/of_v0.9.3_osx_release/addons/ofxAsio/libs/asio-1.11.0/include/asio/time_traits.hpp:23:10: 'boost/date_time/posix_time/posix_time_types.hpp' file not found

dimitre avatar Aug 11 '16 21:08 dimitre

The latter ones are from ofxAsio -- in the repository it explains what the errors are. It sounds like you're including \libs in the source code; you'll need to remove it and just reference the headers in the include directories. Then don't forget to set the compilers flags to C++11; you'll want at least ASIO_STANDALONE if not a few other flags to force your compiler to use C++11.

morphogencc avatar Aug 11 '16 21:08 morphogencc

@godowichuk also got the repo to work in Xcode, and may have some useful insights.

morphogencc avatar Aug 11 '16 21:08 morphogencc

Thank you! @godowichuk any chance of sharing the xcode proj. file or the steps to make it run? Thanks

dimitre avatar Aug 11 '16 22:08 dimitre