B4R Question Cannot compile, don't understand error

Mark Read

Well-Known Member
Licensed User
Longtime User
Can somebody suggest how I can solve this problem. When compiling, I get this error in B4R 3.31. Am I missing a library?

B4X:
B4R Version: 3.31
Parsing code.    (0.01s)
Building folders structure.    (0.01s)
Compiling code.    (0.01s)
Building project    (0.01s)
Compiling & deploying Ino project (Arduino/Genuino Mega or Mega 2560 - COM9)    Error
Loading configuration...
Initialising packages...
Preparing boards...
Verifying...
Archiving built core (caching) in: c:\temp\arduino_cache_947136\core\core_arduino_avr_mega_cpu_atmega2560_a6aa40ee4d62c2c530b0f7070a5713e2.a
c:\temp\cc2mDLni.ltrans0.ltrans.o: In function `main':
cc2mDLni.ltrans0.o:(.text.startup+0x336): undefined reference to `operator new(unsigned int, void*)'
cc2mDLni.ltrans0.o:(.text.startup+0x442): undefined reference to `operator new(unsigned int, void*)'
c:\temp\cc2mDLni.ltrans2.ltrans.o: In function `B4R::Common::JoinStrings(B4R::Array*)':
cc2mDLni.ltrans2.o:(.text+0x528): undefined reference to `operator new(unsigned int, void*)'
c:\temp\cc2mDLni.ltrans2.ltrans.o: In function `B4R::B4RString::fromNumber(long)':
cc2mDLni.ltrans2.o:(.text+0x62e): undefined reference to `operator new(unsigned int, void*)'
c:\temp\cc2mDLni.ltrans2.ltrans.o: In function `B4R::ByteConverter::StringFromBytes(B4R::Array*)':
cc2mDLni.ltrans2.o:(.text.unlikely+0x22): undefined reference to `operator new(unsigned int, void*)'
c:\temp\cc2mDLni.ltrans4.ltrans.o:cc2mDLni.ltrans4.o:(.text+0x38c): more undefined references to `operator new(unsigned int, void*)' follow
collect2.exe: error: ld returned 1 exit status
exit status 1

Many thanks.
Mark
 

Mark Read

Well-Known Member
Licensed User
Longtime User
No, I am using 1.8.5 which works at home but here not???
 
Upvote 0

Mark Read

Well-Known Member
Licensed User
Longtime User
Installed 1.8.12 and all is well, thx.
 
Upvote 0
Top