【发布时间】:2015-10-19 15:16:30
【问题描述】:
我刚刚将我的 MacBook 更新为 El Capitan,而我现在有了 Xcode 7.0.1。编译我的 NS-3 脚本时,我收到以下错误(更新之前我没有):
In file included from ../src/config-store/model/config-store.cc:11:
../src/config-store/model/xml-config.h:5:10: fatal error: 'libxml/xmlwriter.h' file not found
#include <libxml/xmlwriter.h>
^
1 error generated.
Waf: Leaving directory `/Users/marcogiordani/final-ns3-mmwave-dir/build'
Build failed
-> task in 'ns3-config-store' failed (exit status 1):
{task 4469735696: cxx config-store.cc -> config-store.cc.1.o}
['/usr/bin/g++', '-Wall', '-Werror', '-Wno-potentially-evaluated-expression', '-Wno-unused-local-typedefs', '-fPIC', '-I.', '-I..', '-I/usr/include/libxml2', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../src/config-store/model/config-store.cc', '-c', '-o', 'src/config-store/model/config-store.cc.1.o']
对这个问题有什么建议吗?
【问题讨论】:
标签: xml xcode7 osx-elcapitan ns-3