[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Помогите, плз, со сборкой приложений



On Tue, 6 Nov 2012, Руслан Зиганшин wrote:

make останавливается с ошибкой, возможно важный вывод программы я указал ниже:
In file included from midi_null.cpp:1:0:
audiere.h: In function 'void audiere::SplitString(std::vector<std::basic_string<char> >&, const char*, char)':
audiere.h:1148:42: error: 'strchr' was not declared in this scope
audiere.h: In function 'void audiere::GetSupportedFileFormats(std::vector<audiere::FileFormatDesc>&)':
audiere.h:1177:40: error: 'strchr' was not declared in this scope
audiere.h: In function 'void audiere::EnumerateCDDevices(std::vector<std::basic_string<char> >&)':
audiere.h:1535:20: error: 'strlen' was not declared in this scope
make[3]: *** [midi_null.lo] Ошибка 1
make[3]: Leaving directory `/home/ruslan/audiere-1.9.4/src'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/home/ruslan/audiere-1.9.4/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/ruslan/audiere-1.9.4'
make: *** [all] Ошибка 2

Что делать дальше?

 В audiere.h дописать в начало
#include <cstring>

 Это ошибка языка, так что и другие ошибки могут вылезти...

Ю.

Reply to: