STemWin compiled Library

Sysprogs forums Forums VisualGDB STemWin compiled Library

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #799
    brettK
    Participant

    Hi
    I am having trouble trying to include the STM32 ARM STemWIN grahics Library into the Visual Studio Project-GDB. It is a binary compiled library with a file name of “STemWin522_CM4_GCC.a”.

    Does anyone know how to do this?

    Thanks
    Brett

    #3097
    support
    Keymaster

    Hi,

    You can add the full path to the file to the “Additional linker inputs” field. Let us know if that works for you.

    #3096
    brettK
    Participant

    Hi Thanks for the Info
    I did this and it compiles without error
    However the Library functions do not work.
    I i put a Breakpoint on the first function that i call from this Library. It will break, But it will not step into anything.

    Is there a way to set the Compiler to be C and not CPP only.?

    Thanks

    #3095
    support
    Keymaster

    Hi,

    Most likely your library was compiled without debugging symbols. You need to rebuild it yourself with debugging mode enabled (-ggdb) in order to be able to step into it.

    If you want to use Plain C, simply use files with .c extension, they will be compiled as C, not C++.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.