BlackLib help

Greetings

I am trying to use the BlackLib package to allow me to use C++ for development. I’m struggling to get it working.

Here is the background:
I’m using Debian 4.6.3-14 and GCC 4.6.3

I’ve tried compiling the code but gcc does not like the -std=c++11 command and it throws a ton of errors if I omit it.

Here are all the errors. Many I am guessing because I am not using C++11 Id there a better way to do use the BlackLib?
Thanks

lackPWM.cpp: In member function ‘virtual std::string BlackLib::BlackPWM::getValue()’:
BlackPWM.cpp:214:59: error: ‘class BlackLib::BlackPWM’ has no member named ‘getNumericPeriodValue’
BlackPWM.cpp:215:59: error: ‘class BlackLib::BlackPWM’ has no member named ‘getNumericDutyValue’
BlackPWM.cpp: In member function ‘float BlackLib::BlackPWM::getNumericValue()’:
BlackPWM.cpp:310:59: error: ‘class BlackLib::BlackPWM’ has no member named ‘getNumericPeriodValue’
BlackPWM.cpp:311:59: error: ‘class BlackLib::BlackPWM’ has no member named ‘getNumericDutyValue’
BlackPWM.cpp: At global scope:
BlackPWM.cpp:316:12: error: ‘int64_t’ does not name a type
BlackPWM.cpp:338:12: error: ‘int64_t’ does not name a type
BlackPWM.cpp: In member function ‘bool BlackLib::BlackPWM::setDutyPercent(float)’:
BlackPWM.cpp:382:37: error: expected type-specifier before ‘int64_t’
BlackPWM.cpp:382:37: error: expected ‘>’ before ‘int64_t’
BlackPWM.cpp:382:37: error: expected ‘(’ before ‘int64_t’
BlackPWM.cpp:382:37: error: ‘int64_t’ was not declared in this scope
BlackPWM.cpp:382:46: error: ‘round’ is not a member of ‘std’
BlackPWM.cpp:382:46: note: suggested alternative:
/usr/include/arm-linux-gnueabihf/bits/mathcalls.h:310:1: note: ‘round’
BlackPWM.cpp:382:64: error: ‘class BlackLib::BlackPWM’ has no member named ‘getNumericPeriodValue’
BlackPWM.cpp:382:117: error: expected ‘)’ before ‘;’ token
BlackPWM.cpp: At global scope:
BlackPWM.cpp:390:41: error: ‘bool BlackLib::BlackPWM::setPeriodTime’ is not a static member of ‘class BlackLib::BlackPWM’
BlackPWM.cpp:390:41: error: ‘uint64_t’ was not declared in this scope
BlackPWM.cpp:390:67: error: expected primary-expression before ‘tType’
BlackPWM.cpp:390:72: error: expression list treated as compound expression in initializer [-fpermissive]
BlackPWM.cpp:391:5: error: expected ‘,’ or ‘;’ before ‘{’ token
BlackPWM.cpp:594:1: error: expected ‘}’ at end of input
In file included from /usr/include/c++/4.6/cstdint:35:0,
from /home/UART/Setup/header/BlackSPI.h:43,
from BlackSPI.cpp:34:
/usr/include/c++/4.6/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
In file included from BlackSPI.cpp:34:0:
/home/UART/Setup/header/BlackSPI.h:101:9: error: ‘uint8_t’ does not name a type
/home/UART/Setup/header/BlackSPI.h:102:9: error: ‘uint8_t’ does not name a type
/home/UART/Setup/header/BlackSPI.h:103:9: error: ‘uint32_t’ does not name a type
/home/UART/Setup/header/BlackSPI.h:120:36: error: expected ‘)’ before ‘bits’

Your asking too much of GCC 4.6.3:

https://gcc.gnu.org/projects/cxx-status.html#cxx11

switch to the Debian Jessie image and you'll get gcc 4.9.x

Regards,