Pulse-Eight/libcec — Issue #22: Compile error
Author: wiza
Created: 2012-02-10 18:22:23+00:00
State: open

Making all in src/testclient
make[1]: Entering directory `/home/wiza/dev/libcec/src/testclient'
g++ -DPACKAGE_NAME=\"libcec\" -DPACKAGE_TARNAME=\"libcec\" -DPACKAGE_VERSION=\"1:4:0\" -DPACKAGE_STRING=\"libcec\ 1:4:0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libcec\" -DVERSION=\"1:4:0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBUDEV=1 -I. -I/home/wiza/dev/libcec/include -fPIC -Wall -Wextra -Wno-missing-field-initializers -g -O2 -MT cec_client-main.o -MD -MP -MF .deps/cec_client-main.Tpo -c -o cec_client-main.o `test -f 'main.cpp' || echo './'`main.cpp
In file included from main.cpp:48:0:
/home/wiza/dev/libcec/include/cecloader.h:163:42: error: ‘CecAdapterConfiguration’ in namespace ‘CEC’ does not name a type
/home/wiza/dev/libcec/include/cecloader.h:163:72: error: ISO C++ forbids declaration of ‘configuration’ with no type [-fpermissive]
/home/wiza/dev/libcec/include/cecloader.h: In function ‘CEC::ICECAdapter* LibCecInitialise(const int&)’:
/home/wiza/dev/libcec/include/cecloader.h:170:23: error: ‘strLib’ was not declared in this scope
/home/wiza/dev/libcec/include/cecloader.h:183:41: error: ‘CecAdapterConfiguration’ in namespace ‘CEC’ does not name a type
/home/wiza/dev/libcec/include/cecloader.h:183:70: error: ISO C++ forbids declaration of ‘parameter’ with no type [-fpermissive]
main.cpp: In function ‘bool ProcessCommandLineArguments(int, char**)’:
main.cpp:968:57: error: invalid conversion from ‘CEC::libcec_configuration*’ to ‘int’ [-fpermissive]
/home/wiza/dev/libcec/include/cecloader.h:163:19: error: initializing argument 1 of ‘CEC::ICECAdapter* LibCecInitialise(const int&)’ [-fpermissive]
main.cpp: In function ‘int main(int, char**)’:
main.cpp:1042:51: error: invalid conversion from ‘CEC::libcec_configuration*’ to ‘int’ [-fpermissive]
/home/wiza/dev/libcec/include/cecloader.h:163:19: error: initializing argument 1 of ‘CEC::ICECAdapter* LibCecInitialise(const int&)’ [-fpermissive]
make[1]: *** [cec_client-main.o] Error 1
make[1]: Leaving directory `/home/wiza/dev/libcec/src/testclient'
make: *** [all-recursive] Error 1