B4R Question B4R v1.50 BETA

newbie

Member
Licensed User
Longtime User
Hi Erel,
after installing the new version i get the following error when i try to compile my application

B4X:
B4R version: 1.50 BETA #1
Parsing code.  (0.01s)
Compiling code.  (0.02s)
Building project  (0.02s)
Compiling & deploying Ino project (Arduino Due (Programming Port) - COM8)  Error
Konfiguration wird geladen...
Pakete werden initialisiert...
Boards werden vorbereitet...
Überprüfungs- und Hochladevorgang...
sketch\B4RSerializator.cpp: In member function 'B4R::ArrayObject* B4R::B4RSerializator::ConvertBytesToArray(B4R::ArrayByte*, B4R::ArrayObject*)':
B4RSerializator.cpp:114: error: call of overloaded 'wrapNumber(Byte)' is ambiguous
  o->wrapNumber(raf.ReadByte(raf.CurrentPosition));
  ^
sketch\B4RSerializator.cpp:114:55: note: candidates are:
In file included from sketch\B4RDefines.h:24:0,
  from sketch\B4RSerializator.cpp:1:
sketch\rCore.h:88:11: note: B4R::Object* B4R::Object::wrapNumber(ULong)
  Object* wrapNumber(ULong i);
  ^
sketch\rCore.h:89:11: note: B4R::Object* B4R::Object::wrapNumber(Long)
  Object* wrapNumber(Long i);
  ^
sketch\rCore.h:90:11: note: B4R::Object* B4R::Object::wrapNumber(Int)
  Object* wrapNumber(Int i);
  ^
sketch\rCore.h:91:11: note: B4R::Object* B4R::Object::wrapNumber(float)
  Object* wrapNumber(float d);
  ^
sketch\rCore.h:92:11: note: B4R::Object* B4R::Object::wrapNumber(double)
  Object* wrapNumber(double d);
  ^
B4RSerializator.cpp:142: error: call of overloaded 'wrapNumber(int)' is ambiguous
  o->wrapNumber(recordType & ~T_SMALL_UINT);
  ^
sketch\B4RSerializator.cpp:142:49: note: candidates are:
In file included from sketch\B4RDefines.h:24:0,
  from sketch\B4RSerializator.cpp:1:
sketch\rCore.h:88:11: note: B4R::Object* B4R::Object::wrapNumber(ULong)
  Object* wrapNumber(ULong i);
  ^
sketch\rCore.h:89:11: note: B4R::Object* B4R::Object::wrapNumber(Long)
  Object* wrapNumber(Long i);
  ^
sketch\rCore.h:90:11: note: B4R::Object* B4R::Object::wrapNumber(Int)
  Object* wrapNumber(Int i);
  ^
sketch\rCore.h:91:11: note: B4R::Object* B4R::Object::wrapNumber(float)
  Object* wrapNumber(float d);

  ^
sketch\rCore.h:92:11: note: B4R::Object* B4R::Object::wrapNumber(double)
  Object* wrapNumber(double d);
  ^
exit status 1
call of overloaded 'wrapNumber(Byte)' is ambiguous
 

Cableguy

Expert
Licensed User
Longtime User
Your error is not related to the beta version of B4R but with the serialize object. Have you refreshed your libs? B4RSerializator is par of the rRandomFile lib
 
Upvote 0

newbie

Member
Licensed User
Longtime User
Your error is not related to the beta version of B4R but with the serialize object. Have you refreshed your libs? B4RSerializator is par of the rRandomFile lib

I have refreshed the libs, but the problem is the same :-((
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Post your code so we can try to help you with...
 
Upvote 0
Top