{"id":867,"date":"2015-06-02T23:21:32","date_gmt":"2015-06-03T08:21:32","guid":{"rendered":"http:\/\/blog.box.kr\/?p=867"},"modified":"2015-06-02T23:21:32","modified_gmt":"2015-06-03T08:21:32","slug":"fix8-lib-install-on-osx","status":"publish","type":"post","link":"https:\/\/blog.box.kr\/?p=867","title":{"rendered":"FIX8 lib. install on OSX"},"content":{"rendered":"<p>1. open source download<br \/>\nhttp:\/\/fix8.org\/downloads.html<\/p>\n<p>2. un tar<\/p>\n<p>3.<br \/>\n<code>brew install automake<\/code><\/p>\n<p>4.<br \/>\nbrew install poco<\/p>\n<p>5.<br \/>\nconfigure &#8211;with-poco=\/usr\/local\/opt\/poco<\/p>\n<p>6.<br \/>\nmake<\/p>\n<p>7. but&#8230; error<br \/>\nIn file included from xml.cpp:38:<br \/>\nIn file included from ..\/include\/fix8\/f8includes.<wbr \/>hpp:84:<br \/>\n..\/include\/fix8\/tickval.hpp:<wbr \/>67:34: error: in-class initializer for static data member is not a constant expression<br \/>\nstatic const ticks errorticks = f8_time_point::max().time_<wbr \/>since_epoch().count(); \/\/ 2262-04-12 09:47:16.854775807<br \/>\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr \/>~~~~~~~~~~~~~~~~~<br \/>\n..\/include\/fix8\/tickval.hpp:<wbr \/>102:12: error: no member named &#8216;from_time_t&#8217; in &#8216;std::__1::chrono::steady_<wbr \/>clock&#8217;; did you mean &#8216;std::chrono::system_clock::<wbr \/>from_time_t&#8217;?<br \/>\n: _value(std::chrono::high_<wbr \/>resolution_clock::from_time_t(<wbr \/>secs) + std::chrono::duration_cast&lt;<wbr \/>duration&gt;(std::chrono::<wbr \/>nanoseconds(nsecs))) {}<br \/>\n^~~~~~~~~~~~~~~~~~~~~~~~~~~~~<wbr \/>~~~~~~~~~~~~~~~~~~<br \/>\nstd::chrono::system_clock::<wbr \/>from_time_t<br \/>\n\/Applications\/Xcode.app\/<wbr \/>Contents\/Developer\/Toolchains\/<wbr \/>XcodeDefault.xctoolchain\/usr\/<wbr \/>bin\/..\/include\/c++\/v1\/chrono:<wbr \/>926:23: note: &#8216;std::chrono::system_clock::<wbr \/>from_time_t&#8217; declared here<br \/>\nstatic time_point from_time_t(time_t __t) _NOEXCEPT;<br \/>\n^<br \/>\nIn file included from xml.cpp:38:<br \/>\nIn file included from ..\/include\/fix8\/f8includes.<wbr \/>hpp:84:<br \/>\n..\/include\/fix8\/tickval.hpp:<wbr \/>102:5: error: no matching constructor for initialization of &#8216;f8_time_point&#8217; (aka &#8216;time_point&lt;std::chrono::high_<wbr \/>resolution_clock&gt;&#8217;)<br \/>\n: _value(std::chrono::high_<wbr \/>resolution_clock::from_time_t(<wbr \/>secs) + std::chrono::duration_cast&lt;<wbr \/>duration&gt;(std::chrono::<wbr \/>nanoseconds(nsecs))) {}<br \/>\nIn file included from xml.cpp:38:<br \/>\nIn file included from ..\/include\/fix8\/f8includes.<wbr \/>hpp:84:<br \/>\n..\/include\/fix8\/tickval.hpp:<wbr \/>196:60: error: no viable conversion from &#8216;const time_point&lt;std::chrono::high_<wbr \/>resolution_clock&gt;&#8217; to &#8216;const time_point&lt;std::__1::chrono::<wbr \/>system_clock&gt;&#8217;<br \/>\nconst time_t insecs(std::chrono::system_<wbr \/>clock::to_time_t(_value));<\/p>\n<p>8. patch<br \/>\n<a href=\"https:\/\/groups.google.com\/forum\/#!topic\/fix8-support\/ZY22FwMZzIU\">https:\/\/groups.google.com\/forum\/#!topic\/fix8-support\/ZY22FwMZzIU<\/a><\/p>\n<p><a href=\"http:\/\/192.168.1.200\/wordpress\/wp-content\/uploads\/2015\/06\/fix8-1.3.3-osx-10.10.patch_.zip\">fix8-1.3.3-osx-10.10.patch<\/a><\/p>\n<p>9.<br \/>\npatch &lt;\u00a0<a href=\"http:\/\/192.168.1.200\/wordpress\/wp-content\/uploads\/2015\/06\/fix8-1.3.3-osx-10.10.patch_.zip\">fix8-1.3.3-osx-10.10.patch<\/a><\/p>\n<p>10. re make &amp; make install<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. open source download http:\/\/fix8.org\/downloads.html 2. un tar 3. brew install automake 4. brew install poco 5. configure &#8211;with-poco=\/usr\/local\/opt\/poco 6. make 7. but&#8230; error In file included from xml.cpp:38: In file included from ..\/include\/fix8\/f8includes.hpp:84: ..\/include\/fix8\/tickval.hpp:67:34: error: in-class initializer for static data member is not a constant expression static const ticks errorticks = f8_time_point::max().time_since_epoch().count(); \/\/ 2262-04-12 09:47:16.854775807 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ..\/include\/fix8\/tickval.hpp:102:12: error: no member named &#8216;from_time_t&#8217; in &#8216;std::__1::chrono::steady_clock&#8217;; did you mean &#8216;std::chrono::system_clock::from_time_t&#8217;? : _value(std::chrono::high_resolution_clock::from_time_t(secs) + std::chrono::duration_cast&lt;duration&gt;(std::chrono::nanoseconds(nsecs))) {} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ std::chrono::system_clock::from_time_t \/Applications\/Xcode.app\/Contents\/Developer\/Toolchains\/XcodeDefault.xctoolchain\/usr\/bin\/..\/include\/c++\/v1\/chrono:926:23: note: &#8216;std::chrono::system_clock::from_time_t&#8217; declared here static time_point from_time_t(time_t __t) _NOEXCEPT; ^ In file included from xml.cpp:38: In file included from ..\/include\/fix8\/f8includes.hpp:84: ..\/include\/fix8\/tickval.hpp:102:5: error: no matching constructor for initialization of &#8216;f8_time_point&#8217; (aka &#8216;time_point&lt;std::chrono::high_resolution_clock&gt;&#8217;) : _value(std::chrono::high_resolution_clock::from_time_t(secs) + std::chrono::duration_cast&lt;duration&gt;(std::chrono::nanoseconds(nsecs))) {} In file included from xml.cpp:38: In file included from ..\/include\/fix8\/f8includes.hpp:84: ..\/include\/fix8\/tickval.hpp:196:60: error: no viable conversion from &#8216;const time_point&lt;std::chrono::high_resolution_clock&gt;&#8217; to &#8216;const time_point&lt;std::__1::chrono::system_clock&gt;&#8217; const time_t insecs(std::chrono::system_clock::to_time_t(_value)); 8. patch https:\/\/groups.google.com\/forum\/#!topic\/fix8-support\/ZY22FwMZzIU fix8-1.3.3-osx-10.10.patch 9. patch &lt;\u00a0fix8-1.3.3-osx-10.10.patch 10. re make &amp; make install &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"ngg_post_thumbnail":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[4],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5q9Zn-dZ","jetpack-related-posts":[{"id":339,"url":"https:\/\/blog.box.kr\/?p=339","url_meta":{"origin":867,"position":0},"title":"[c++11] \uc798 \uc4f0\uba74 \ub9e4\uc6b0 \ud3b8\ub9ac\ud55c C++11\uc758 \ubb38\ubc95\ub4e4","date":"2014-08-12","format":false,"excerpt":"C\/C++\uc5b8\uc5b4\ub294 \uc800\uc218\uc900\uae4c\uc9c0 \uc815\ubc00\ud558\uac8c \ub2e4\ub8f0 \uc218 \uc788\ub294 \ubc18\uba74, \ud504\ub85c\uadf8\ub798\uba38\uac00 \uc77c\uc77c\ud788 \uad00\ub9ac\ud574\uc918\uc57c\ud558\ub294 \ubd80\ubd84\uc774 \ub9ce\ub2e4\ub294\uac8c C\/C++\uc5b8\uc5b4\uc5d0 \ub300\ud55c \uc77c\ubc18\uc801\uc778 \uacac\ud574\uc785\ub2c8\ub2e4. \uadf8\ub798\uc11c \uc800\uc218\uc900\uae4c\uc9c0 \uc77c\uc77c\ud788 \uc2e0\uacbd\uc4f0\uc9c0 \uc54a\uc544\ub3c4 \ub418\ub294 \ucfe8\ud55c \uc5b8\uc5b4\ub97c \uac00\uc9c0\uace0 \ub192\uc740 \uc0dd\uc0b0\uc131\uc744 \ucd94\uad6c\ud558\ub294\uac8c \ucd94\uc138\uc774\uae30\ub3c4 \ud569\ub2c8\ub2e4. . . . \ub9cc, C++\uc758 \uace8\uc218\ube60\ub85c\uc11c C++11\uc744 \ud1b5\ud574 C++\ub85c\ub3c4 \ucda9\ubd84\ud788 \ucfe8\ud558\uace0 \uc0dd\uc0b0\uc131 \ub192\uc740 \ucf54-\ub4dc\ub97c \uc791\uc131\ud560\uc218 \uc788\ub2e4\uace0 \ubcc0\ud638\ub97c \ud574\ubcf4\ub824\uace0 \ud569\ub2c8\ub2e4. Visual\u2026","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":899,"url":"https:\/\/blog.box.kr\/?p=899","url_meta":{"origin":867,"position":1},"title":"Cassandra cpp driver install","date":"2015-06-16","format":false,"excerpt":"http:\/\/datastax.github.io\/cpp-driver\/topics\/building\/ \u00a0 Building Supported Platforms The driver is known to work on CentOS\/RHEL 5\/6\/7, Mac OS X 10.8\/10.9 (Mavericks and Yosemite), Ubuntu 12.04\/14.04 LTS, and Windows 7 SP1. It has been built using GCC 4.1.2+, Clang 3.4+, and MSVC 2010\/2012\/2013. Dependencies Driver CMake libuv (1.x or 0.10.x) OpenSSL (optional) NOTE:\u2026","rel":"","context":"In &quot;\uae30\uc220&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":178,"url":"https:\/\/blog.box.kr\/?p=178","url_meta":{"origin":867,"position":2},"title":"std::map example","date":"2014-07-09","format":false,"excerpt":"\/\/ std::map example \/\/ opposite words #include <iostream> #include <map> #include <string> using namespace std; typedef std::map<std::string, std::string> TStrStrMap; typedef std::pair<std::string, std::string> TStrStrPair; int main(int argc, char *argv[]) { TStrStrMap tMap; tMap.insert(TStrStrPair(\"yes\", \"no\")); tMap.insert(TStrStrPair(\"up\", \"down\")); tMap.insert(TStrStrPair(\"left\", \"right\")); tMap.insert(TStrStrPair(\"good\", \"bad\")); std::string s; std::cout << \"Enter word: \" << std::endl;; std::cin >>\u2026","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":335,"url":"https:\/\/blog.box.kr\/?p=335","url_meta":{"origin":867,"position":3},"title":"\uc815\uaddc\ud45c\ud604\uc2dd(Regular Expression) on C++","date":"2014-08-11","format":false,"excerpt":"*\u00a0C++ Regex 2011\ub144 \uacbd C++\uc758 \uc0c8\ub85c\uc6b4 \ud45c\uc900 C++11 (C++0x)\uc744 \uc815\uc758\ud558\ub294 \uacfc\uc815\uc5d0\uc11c Boost.Regex\uac00 \ud45c\uc900\uc73c\ub85c \ud3ec\ud568\ub418\uc5c8\ub2e4. C++11\uc758 \uc815\uaddc\ud45c\ud604\uc2dd \ub77c\uc774\ube0c\ub7ec\ub9ac\ub294 <regex> \ud5e4\ub354\uc5d0 \uc815\uc758\ub418\uc5b4 \uc788\ub2e4.\uc774\ub85c \uc778\ud574 \ubcc4\ub3c4\uc758 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc124\uce58\ud558\uc9c0 \uc54a\uace0\ub3c4 \uc190\uc27d\uac8c \uc815\uaddc\ud45c\ud604\uc2dd \uae30\ub2a5\uc744 \ud65c\uc6a9\ud560 \uc218 \uc788\uac8c \ub418\uc5c8\ub2e4. \ucd5c\uc2e0 \ubc84\uc804\uc758 Visual C++, GNU C++ \ucef4\ud30c\uc77c\ub7ec\ub294 std::regex\ub97c \ud3ec\ud568\ud55c C++11 \ud45c\uc900\uc774 \uc815\uc758\ud55c \ub300\ubd80\ubd84\uc758 \uae30\ub2a5\uc744 \uc9c0\uc6d0\ud55c\ub2e4. \ucef4\ud30c\uc77c\ub7ec\ubcc4 C++11\u2026","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":143,"url":"https:\/\/blog.box.kr\/?p=143","url_meta":{"origin":867,"position":4},"title":"Splitting a C++ std::string using tokens, e.g. \u201c;\u201d [duplicate]","date":"2014-06-29","format":false,"excerpt":"std::vector<std::string> split(const std::string& s,char seperator){ std::vector<std::string> output; std::string::size_type prev_pos =0, pos =0;while((pos = s.find(seperator, pos))!= std::string::npos){ std::string substring( s.substr(prev_pos, pos-prev_pos)); output.push_back(substring); prev_pos =++pos;} output.push_back(s.substr(prev_pos, pos-prev_pos));\/\/ Last wordreturn output;}","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":890,"url":"https:\/\/blog.box.kr\/?p=890","url_meta":{"origin":867,"position":5},"title":"CMAKE compile options and etc options","date":"2015-06-11","format":false,"excerpt":"cmake -G \"Unix Makefiles\" -DCMAKE_INSTALL_PREFIX=`pwd`\/install -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_C_COMPILER=`xcrun -f clang` -DCMAKE_CXX_COMPILER=`xcrun -f clang++` -DwxWidgets_CONFIG_EXECUTABLE=..\/..\/..\/wxWidgets\/install\/bin\/wx-config -DwxWidgets_COMPONENTS=\"stc;html;aui;adv;core;net;base\" -DwxLuaBind_COMPONENTS=\"stc;html;aui;adv;core;net;base\" -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE -DwxLua_LUA_LIBRARY_VERSION=5.2 -DBUILD_USE_PRECOMPILED_HEADERS=FALSE -DCMAKE_CXX_FLAGS='-std=c++11 -stdlib=libc++ -Wno-c++11-narrowing' -DwxLua_LUA_LIBRARY_USE_BUILTIN=TRUE -DwxLua_LUA_LIBRARY_BUILD_SHARED=TRUE \u00a0 fin.","rel":"","context":"In &quot;C\/C++&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/867"}],"collection":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=867"}],"version-history":[{"count":0,"href":"https:\/\/blog.box.kr\/index.php?rest_route=\/wp\/v2\/posts\/867\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.box.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}