VisualGDB Build Variables – Command not found

Sysprogs forums Forums VisualGDB VisualGDB Build Variables – Command not found

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10674
    Zarathes
    Participant

    Good day,
    I’m trying to edit the Configuration Makefile settings, Include directories and library directories to be exact.
    I’m trying to make use of VisualGDB build variables to make some paths relative.
    When applying the changes however, the Toolchain test fails with the message:

    Tool arguments: -Wl,--start-group "/tmp/VisualGDB_ToolchainTestProgram.o" -o "/tmp/VisualGDB_ToolchainTestProgram" -Wl,-gc-sections -L$(BuildDir)/../MathLibrary/Debug -L/opt/vc/lib -L/usr/lib -L/arm-linux-gnueabihf -lMathLibrary -lGLESv2 -lEGL -lbcm_host -lpthread -Wl,--end-group
    bash: BuildDir: command not found
    /usr/bin/ld: cannot find -lMathLibrary
    collect2: error: ld returned 1 exit status

    Can anyone tell me what to make of this?
    The edits  I am trying to make are:
    “Include Directories – $(BuildDir)/../MathLibrary/include”
    “Library Directories – $(BuildDir)/../MathLibrary/Debug”
    Many thanks

    • This topic was modified 7 years, 1 month ago by Zarathes.
    #10693
    support
    Keymaster

    Hi,

    The Makefile-based projects are designed to be built outside VisualGDB as well, so they don’t support using VisualGDB variables in settings that are stored in Makefiles. Please use relative paths (e.g. ../MathLibrary/Debug) instead.

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