Project

General

Profile

Actions

Bug #1864

closed

Build error on OSX 10.9

Added by Alex Afanasyev over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Base
Target version:
Start date:
08/14/2014
Due date:
% Done:

100%

Estimated time:

Description

The following error is generated when building NFD (but it is ndn-cxx problem):

Waf: Entering directory `/opt/local/var/macports/build/_Users_jenkins_macports_net_nfd/nfd/work/NFD-f056c11fd4c1d9d6b7dae4de6b5ca304e5651fd8/build'
fatal: Not a git repository (or any of the parent directories): .git
[  2/103] gchx: common.hpp -> build/core-objects.2.pch
In file included from <built-in>:176:
In file included from <command line>:1:
In file included from ../common.hpp:50:
In file included from /opt/local/include/ndn-cxx/interest.hpp:29:
In file included from /opt/local/include/ndn-cxx/name.hpp:30:
In file included from /opt/local/include/ndn-cxx/name-component.hpp:30:
In file included from /opt/local/include/ndn-cxx/encoding/block.hpp:30:
/opt/local/include/ndn-cxx/encoding/tlv.hpp:363:7: error: implicit instantiation of undefined template 'std::__1::basic_ostream<char, std::__1::char_traits<char> >'
    os.put(static_cast<char>(varNumber));
      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:111:33: note: template is declared here
    class _LIBCPP_TYPE_VIS_ONLY basic_ostream;
                                ^

clang version:

bash-3.2# clang --version
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.3.0
Thread model: posix
Actions #1

Updated by Alex Afanasyev over 9 years ago

I believe that these are due to some changes in boost libraries (version 1.56).

Actions #2

Updated by Alex Afanasyev over 9 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF