VisualGDB and libopencm3

Sysprogs forums Forums VisualGDB VisualGDB and libopencm3

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #770
    Anonymous
    Participant

    Hi,

    i’m trying to include libopencm3 in a project i want to create usind VisualGDB. I compiled libopencm3 into the toolchain, so far so good. But when i create a project with VisualGDB and want to reference functionality from libopencm3, i always get undefined reference errors. The functions themself are found by the intellisense and ‘Go To Reference’, but compiling is impossible.

    Do i have to set some other references in the settings dialog or something?

    Greets,

    **Jürgen**

    #3022
    ket
    Participant

    Hi,

    If the library is available locally on your development machine and you have referenced the library (the library name and potentially the library directory as well) on the Makefile settings page of VisualGDB Project Properties, then that should be all you need to do.
    If you have done the previous, then please check if you using a c library in c++ code without having extern “C” {} around the include header statements of the library.

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