Not able to add C++ libraries in keil c project -


this question has answer here:

i trying add c++ library c project in keil. code getting compiled , linked properly, not able debug not reaching main.it getting stopped @ function sys_open @ bkpt 0xab instruction. tried posting in keil forum.

http://www.keil.com/forum/59982/#msg195240

i think related semihosting in arm. tried using no semi hosting , re-implemented following functions in retarget.c. getting linker error sys_open multiply defined.

error: l6200e: symbol _sys_open multiply defined (by sys_io.o , retarget.o). 

i removing definition getting following linker error.

.\objects\stm32429i_eval.axf: error: l6915e: library reports error: __use_no_semihosting requested, _sys_open referenced 

what mistake doing??

the lib file have added project makes use of assert functions. if problem, how can re-implement assert in retarget?

push_back() causes program stop before entering main()

i got answer above link. please mark question duplicate.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -