2017-11-02 33 views
0

SWIGを使用してC#ラッパーを作成しましたが、対応する.iライブラリを組み込んだ後でもエラーが発生しているようです。オプションでSWIG:エラー: 'stdexcept'を見つけることができません

core\Expected.hpp(18) : Error: Unable to find 'memory' 
core\Expected.hpp(19) : Error: Unable to find 'utility' 
core\Expected.hpp(20) : Error: Unable to find 'typeinfo' 
core\Expected.hpp(21) : Error: Unable to find 'exception' 
core\Expected.hpp(22) : Error: Unable to find 'stdexcept' 
core\Expected.hpp(23) : Error: Unable to find 'type_traits' 
core\Definitions.hpp(22) : Error: Unable to find 'inttypes.h' 
core\Definitions.hpp(23) : Error: Unable to find 'type_traits' 
core\Definitions.hpp(24) : Error: Unable to find 'stddef.h' 
core\Definitions.hpp(25) : Error: Unable to find 'stdint.h' 
core\EnumBitMaskGenerator.hpp(18) : Error: Unable to find 'type_traits' 
core\PImpl.hpp(20) : Error: Unable to find 'type_traits' 
core\PImpl.hpp(21) : Error: Unable to find 'memory' 
core\PImplSizes.hpp(18) : Error: Unable to find 'vector' 
core\PImplSizes.hpp(19) : Error: Unable to find 'deque' 
core\PImplSizes.hpp(20) : Error: Unable to find 'fstream' 
core\PImplSizes.hpp(21) : Error: Unable to find 'memory' 
core\PImplSizes.hpp(22) : Error: Unable to find 'map' 
core\PImplSizes.hpp(23) : Error: Unable to find 'mutex' 
core\PImplSizes.hpp(24) : Error: Unable to find 'atomic' 
concurrency\ThreadLocalPointer.hpp(20) : Error: Unable to find 'thread' 
concurrency\ThreadLocalPointer.hpp(21) : Error: Unable to find 'unordered_map' 

そしてここで、コマンドライン、::

swig.exe -includeall -C++ここ

%モジュールtest_module

%include <stl.i> 
%include <windows.i> 
%include <typemaps.i> 
%include <stdint.i> 
%include <std_string.i> 
%include <std_vector.i> 
%include <inttypes.i> 
%include <attribute.i> 
%include <cpointer.i> 
%include <exception.i> 
%include <carrays.i> 
%include <cdata.i> 
%include <cmalloc.i> 
%include <constraints.i> 
%include <cpointer.i> 
%include <cwstring.i> 
%include <intrusive_ptr.i> 
%include <math.i> 
%include <pointer.i> 
%include <std_except.i> 
%include <swigarch.i> 
%include <swigrun.i> 
%include <wchar.i> 
%include <shared_ptr.i> 

%{ 
    #include "Context.hpp" 
%} 

%feature("nspace") Context; 

%include "Context.hpp" 

は、エラーのリストです-csharp -macroerrors -cppext cpp ...

ご存知ですか?

ありがとうございました

答えて

関連する問題