libxml/xmlreader.h
【エラー文】
error: libxml/xmlreader.h: No such file or directory
【発生条件】
・新規作成したプロジェクトに既存のソースからxml解析を行うクラスを移植した時
【対処】
①ライブラリにlibxml2.dylibを追加(targets→buildphases→LinkBinaryWithLibraries→+)
②ヘッダ検索パスに「$SDKROOT/usr/include/libxml2」を追加(targets→BuildSettings→SearchPaths→HeaderSearchPaths)
参照:http://www.ashlux.com/wordpress/2009/10/04/compiling-mgtwitterengine-for-the-iphone-using-xcode/
error: libxml/xmlreader.h: No such file or directory
【発生条件】
・新規作成したプロジェクトに既存のソースからxml解析を行うクラスを移植した時
【対処】
①ライブラリにlibxml2.dylibを追加(targets→buildphases→LinkBinaryWithLibraries→+)
②ヘッダ検索パスに「$SDKROOT/usr/include/libxml2」を追加(targets→BuildSettings→SearchPaths→HeaderSearchPaths)
参照:http://www.ashlux.com/wordpress/2009/10/04/compiling-mgtwitterengine-for-the-iphone-using-xcode/
by Plateaua
| 2011-06-08 01:05
| iOS