B4R Question First Time IDE Compile Failure

PhilipK

Member
Licensed User
Longtime User
Hi

I've been using the Arduino IDE (1.8.11) for some time now; programming testbed UNO without incident.

Decided to swap to B4R and installed as per guide instructions. However, on first compile, it fails, producing a stream of debug. Your help is much appreciated!

Here's a screen dump image:

B4R error.jpg
 

PhilipK

Member
Licensed User
Longtime User
Trawling the internet, discovered the excessive debug is caused by Java and have found a remedy to cut away the straw by doing this:
'It seems the excessive debug logging is caused by running Java with -DDEBUG=true. Adding -DDEBUG=false to the C:\Program Files (x86)\Arduino\arduino_debug.l4j.ini fixes it for me. '
Now have a slightly clearer failure report from the log:

Set log4j store directory C:\Users\PhilipK\AppData\Local\Arduino15
Loading configuration...
Initialising packages...
Preparing boards...
Verifying...
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\PhilipK\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\PhilipK\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\PhilipK\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2A03_0X0043 -ide-version=10811 -build-path C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin -warnings=none -prefs=build.path=C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -verbose C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\src\src.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\PhilipK\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\PhilipK\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\PhilipK\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2A03_0X0043 -ide-version=10811 -build-path C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin -warnings=none -prefs=build.path=C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.arduinoOTA.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avr-gcc.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\PhilipK\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -verbose C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\src\src.ino
Using board 'uno' from platform in folder: C:\Program
Using core 'arduino' from platform in folder: C:\Program
Detecting libraries used...
"C:\\Users\\PhilipK\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\src.ino.cpp" -o nul
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RArduino.cpp
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RCore.cpp
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RStream.cpp
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\Scheduler.cpp
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\b4r_main.cpp
Generating function prototypes...
"C:\\Users\\PhilipK\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\src.ino.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RStream.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\Scheduler.cpp.o
"C:\\Users\\PhilipK\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\src.ino.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\src.ino.cpp.o"
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\b4r_main.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RArduino.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RCore.cpp.o
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\wiring_pulse.S.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\WInterrupts.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\wiring_analog.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\hooks.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\wiring.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\wiring_pulse.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\wiring_digital.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\wiring_shift.c.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\CDC.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\HardwareSerial.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\HardwareSerial1.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\HardwareSerial0.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\HardwareSerial2.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\HardwareSerial3.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\PluggableUSB.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\IPAddress.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\Print.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\USBCore.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\WMath.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\Stream.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\WString.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\abi.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\Tone.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\new.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\main.cpp.o
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\core\core.a
Linking everything together...
"C:\\Users\\PhilipK\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin/src.ino.elf" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\B4RArduino.cpp.o" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\B4RCore.cpp.o" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\B4RStream.cpp.o" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\Scheduler.cpp.o" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\b4r_main.cpp.o" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin\\sketch\\src.ino.cpp.o" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin/core\\core.a" "-LC:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\Objects\\bin" -lm
new.cpp.o (symbol from plugin): In function `operator new(unsigned int)':
(.text+0x0): multiple definition of `operator new(unsigned int, void*)'
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\Objects\bin\sketch\B4RCore.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
 
Upvote 0

PhilipK

Member
Licensed User
Longtime User
Hi Erel

I've removed and reinstalled the Arduino 1.8 IDE, erased appdata/local/arduino15, changed the debug stream=false in the arduino_debug.l4i.ini file, added #DefineExtra: Skip_B4RNEW and tried to run the Bluetooth LE code:

B4R error2.jpg


And get errors:

Set log4j store directory C:\Users\PhilipK\AppData\Local\Arduino15
Loading configuration...
Initialising packages...
Preparing boards...
Verifying...
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\PhilipK\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2A03_0X0043 -ide-version=10811 -build-path C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin -warnings=null -prefs=build.path=C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\src\src.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\PhilipK\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0X2A03_0X0043 -ide-version=10811 -build-path C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin -warnings=null -prefs=build.path=C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\src\src.ino
Using board 'uno' from platform in folder: C:\Program
Using core 'arduino' from platform in folder: C:\Program
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\src.ino.cpp" -o nul
Alternatives for SoftwareSerial.h: [[email protected]]
ResolveLibrary(SoftwareSerial.h)
-> candidates: [[email protected]]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\src.ino.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\AsyncStreams.cpp" -o nul
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RArduino.cpp
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RCore.cpp
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\B4RSerializator.cpp" -o nul
Using cached library dependencies for file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RStream.cpp
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\ByteConverter.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\RandomAccessFile.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\Scheduler.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\b4r_main.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\rSoftwareSerial.cpp" -o nul
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src\\SoftwareSerial.cpp" -o nul
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\src.ino.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\AsyncStreams.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\AsyncStreams.cpp.o"
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RCore.cpp.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\B4RSerializator.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\B4RSerializator.cpp.o"
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RStream.cpp.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\ByteConverter.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\ByteConverter.cpp.o"
Using previously compiled file: C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RArduino.cpp.o
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\RandomAccessFile.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\RandomAccessFile.cpp.o"
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RSerializator.cpp:161:52: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = Result->length == length ? Result : CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\AsyncStreams.cpp:1:
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\AsyncStreams.cpp: In static member function 'static void B4R::AsyncStreams::checkForData(void*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\AsyncStreams.cpp:37:20: note: in expansion of macro 'CreateStackMemoryObject'
ArrayByte* arr = CreateStackMemoryObject(ArrayByte);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\RandomAccessFile.cpp:1:
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\RandomAccessFile.cpp: In member function 'B4R::ArrayByte* B4R::RandomAccessFile::ReadBytes2(int, UInt)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\RandomAccessFile.cpp:77:16: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\Scheduler.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\Scheduler.cpp.o"
In file included from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:1:
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::HexToBytes(B4R::B4RString*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:16:20: note: in expansion of macro 'CreateStackMemoryObject'
ArrayByte* arr = CreateStackMemoryObject(ArrayByte);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In static member function 'static B4R::Array* B4R::ByteConverter::convertBytesToArray(B4R::Array*, size_t)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:30:16: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In static member function 'static B4R::Array* B4R::ByteConverter::convertArrayToBytes(B4R::Array*, size_t)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:36:18: note: in expansion of macro 'CreateStackMemoryObject'
Array* Bytes = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::ObjectToBytes(B4R::Object*, UInt)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:42:18: note: in expansion of macro 'CreateStackMemoryObject'
Array* Bytes = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::Object* B4R::ByteConverter::ObjectFromBytes(B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:48:17: note: in expansion of macro 'CreateStackMemoryObject'
Object* obj = CreateStackMemoryObject(Object);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::SubString2(B4R::ArrayByte*, UInt, UInt)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:77:16: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::SplitIterator* B4R::ByteConverter::Split(B4R::ArrayByte*, B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:121:20: note: in expansion of macro 'CreateStackMemoryObject'
ArrayByte* arr = CreateStackMemoryObject(ArrayByte);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:122:23: note: in expansion of macro 'CreateStackMemoryObject'
SplitIterator* si = CreateStackMemoryObject(SplitIterator);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::Trim(B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:168:18: note: in expansion of macro 'CreateStackMemoryObject'
Array* Bytes = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::B4RString* B4R::ByteConverter::StringFromBytes(B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RSerializator.cpp:161:52: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = Result->length == length ? Result : CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\AsyncStreams.cpp:1:
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\AsyncStreams.cpp: In static member function 'static void B4R::AsyncStreams::checkForData(void*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\AsyncStreams.cpp:37:20: note: in expansion of macro 'CreateStackMemoryObject'
ArrayByte* arr = CreateStackMemoryObject(ArrayByte);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
In file included from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\RandomAccessFile.cpp:1:
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\RandomAccessFile.cpp: In member function 'B4R::ArrayByte* B4R::RandomAccessFile::ReadBytes2(int, UInt)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\RandomAccessFile.cpp:77:16: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\SoftwareSerial\\src" "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\Scheduler.cpp" -o "C:\\Users\\PhilipK\\DOCUME~1\\Arduino\\B4R\\Samples\\BLUETO~1\\Objects\\bin\\sketch\\Scheduler.cpp.o"
In file included from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\B4RDefines.h:26:0,
from C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:1:
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::HexToBytes(B4R::B4RString*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:16:20: note: in expansion of macro 'CreateStackMemoryObject'
ArrayByte* arr = CreateStackMemoryObject(ArrayByte);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In static member function 'static B4R::Array* B4R::ByteConverter::convertBytesToArray(B4R::Array*, size_t)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:30:16: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In static member function 'static B4R::Array* B4R::ByteConverter::convertArrayToBytes(B4R::Array*, size_t)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:36:18: note: in expansion of macro 'CreateStackMemoryObject'
Array* Bytes = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::ObjectToBytes(B4R::Object*, UInt)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:42:18: note: in expansion of macro 'CreateStackMemoryObject'
Array* Bytes = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::Object* B4R::ByteConverter::ObjectFromBytes(B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:48:17: note: in expansion of macro 'CreateStackMemoryObject'
Object* obj = CreateStackMemoryObject(Object);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::SubString2(B4R::ArrayByte*, UInt, UInt)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:77:16: note: in expansion of macro 'CreateStackMemoryObject'
Array* arr = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::SplitIterator* B4R::ByteConverter::Split(B4R::ArrayByte*, B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:121:20: note: in expansion of macro 'CreateStackMemoryObject'
ArrayByte* arr = CreateStackMemoryObject(ArrayByte);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:122:23: note: in expansion of macro 'CreateStackMemoryObject'
SplitIterator* si = CreateStackMemoryObject(SplitIterator);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::ArrayByte* B4R::ByteConverter::Trim(B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:168:18: note: in expansion of macro 'CreateStackMemoryObject'
Array* Bytes = CreateStackMemoryObject(Array);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp: In member function 'B4R::B4RString* B4R::ByteConverter::StringFromBytes(B4R::ArrayByte*)':
rCore.h:580:82: error: no matching function for call to 'operator new(sizetype, byte*)'
#define CreateStackMemoryObject(type) new (StackMemory::buffer + AlignCP) type(); StackMemory::cp += sizeof(type)
^
C:\Users\PhilipK\DOCUME~1\Arduino\B4R\Samples\BLUETO~1\Objects\bin\sketch\ByteConverter.cpp:185:20: note: in expansion of macro 'CreateStackMemoryObject'
B4RString* str = CreateStackMemoryObject(B4RString);
^~~~~~~~~~~~~~~~~~~~~~~
<built-in>: note: candidate: void* operator new(unsigned int)
<built-in>: note: candidate expects 1 argument, 2 provided
Using library SoftwareSerial at version 1.0 in folder: C:\Program Files
exit status 1
 
Upvote 0
Top