This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

linker error in Uvision5

Hello gentlemen,

i'm currently struggling trying to link a uc/GUI sample using Uvision 5.

so far compilation passed so i guess  my library headers are found

i added .lib file to my project

when it starts linking i get the following error:

.\Objects\ucGUI.axf: error: L6024U: Library GUI.lib contains an invalid member name.
Not enough information to list image symbols.
Not enough information to list the image map.

must be something silly but i'm running out of ideas there...

would be very gratefull if somebody could help me point where it goes wrong.

Best regards,

Parents Reply Children
  • from a visual studio 2015 project

    So a PC native project - for an x86 processor?

    That's certainly not going to work with Keil!

    Is there a way to convert lib  to a keil compatible excpet building it back from sources?

    No.

  • My Bad, it's a STM32 project but the sample projet is provided as a visual studio project bundle. it compiles great on VC2015 and i'm able to flash it to stm and that works. I just want to be able to work with UVision on this one.

    Best regards

  • Presumably, then, it's using a GCC toolchain ?

    I think it should be possible to get  GCC to build a library to be compatible with the Keil/ARM linker, but you have to put in the effort to make it so - it doesn't "just work".

    I think there's been threads here about that - so do a search

    Might be easier to just build it from source in uVision ?

    Or to just work in VS ?