embedded - (error) unresolved symbols when build C++ application for ARM using Green Hills toolchain -


i cross compile application target device using arm arch using green hills toolchain (the device run integrity os) fail error that

__vec_new ... __vec_delete ... 

i don't understand means , how resolve it. can me ?

unresolved symbols indicate failure link necessary object code or libraries defining said symbols. these particular symbols related implementations of new , delete c++ operators, , indicate have not linked c++ library. not familiar green hills tool chain, but, in cases invoke linker separately compiler, may need explicitly specify c++ linking.

if using ide possible have created c project added c++ code - may result in linker options not link c++ support , libraries.

the green hill's compiler has choice of c++ libraries selected either language variant option, or linker override option. these options can set in multi ide settings or on command line depending on how managing project. consult compiler/linker documentation - have found following:

enter image description here

you should have access full documentation, pages following describe how teh linker searches libraries , how specify alternate libraries. if have disabled automatic library search specifying -nostdlib, automatic linking not performed , have explicitly link necessary libraries.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -