mono / CppSharp

Tools and libraries to glue C/C++ APIs to high-level languages
MIT License
3.14k stars 518 forks source link

Fails to compile under gcc 4.8.5 (ubuntu 14.04.1) #627

Closed lilith closed 8 years ago

lilith commented 8 years ago
Generating bindings for Common (CSharp)
Looking for tests in: /home/n/Documents/imazen/CppSharp/tests/Common
Parsed 'AnotherUnit.h'
Error parsing 'Common.h'
/usr/include/wchar.h(39,11): fatal: 'stdarg.h' file not found
CppSharp has encountered an error while parsing code.
make[1]: *** No rule to make target `../gen/Common/AnotherUnit.cs', needed by `../lib/Release_x64/Common.CSharp.dll'.  Stop.
make: *** [Common.CSharp] Error 2
make: Leaving directory `/home/n/Documents/imazen/CppSharp/build/gmake'

Is there a blessed compiler version?

tritao commented 8 years ago

See https://github.com/mono/CppSharp/issues/625

tritao commented 8 years ago

This should be fixed by https://github.com/mono/CppSharp/commit/e5a667afc3504481c91b6092e7540a999144c5cf.