lashmuelE

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: gdbserver missing error #34757
    lashmuelE
    Participant

    i copied gdbserver to the deployed machine (same directory where the executable file) and still get the same error message

    Attachments:
    You must be logged in to view attached files.
    in reply to: gdbserver missing error #34755
    lashmuelE
    Participant

    Hello
    The VisualGDb indeed build on one machine and deployed to another machine but until yesterday i did not use gdbserver on the deployed machine.
    do i need to copy  the gdbserver to the deployed machine? why the VisualGDb did not request it until few days ago?
    Best
    Shmuel

    lashmuelE
    Participant

    Hello,

    This time you solve the problem. Thank you!!

    lashmuelE
    Participant

    Hello,
    if it helps you can change the test project definitions so it pass the build and run on your machine and then send it to me for check

    maybe the compiler is not the issue here….

    lashmuelE
    Participant

    Hello,

    All the information you requested in the attached file

     

    Attachments:
    You must be logged in to view attached files.
    lashmuelE
    Participant

    Hello,

    I did the exact screen shot but still i get error pressing to the failed build line ( Test.cpp(9): error: expected a”;” )

    Attached to demo project i used for this problem

    Please advise according to this demo project

    Attachments:
    You must be logged in to view attached files.
    lashmuelE
    Participant

    Attach the log you requested

    Attachments:
    You must be logged in to view attached files.
    lashmuelE
    Participant

    Attached the screen shots you requetsed

    Attachments:
    You must be logged in to view attached files.
    lashmuelE
    Participant

    attached the screen shots you request

    Attachments:
    You must be logged in to view attached files.
    lashmuelE
    Participant

    Hello,
    i created test solution for easier problem demonstration

    Attachments:
    You must be logged in to view attached files.
    lashmuelE
    Participant

    Hello,
    Sorry for leaving this post for long time. I wanna solve this issue this time.
    Shortly, i created error compilation in file N:\6731_OMFV\SHMUEL\rdpMRS\rdp\dsg_cmp\src\main.cpp. the full path in Linux is  /6731_OMFV/SHMUEL/rdpMRS/rdp/dsg_cmp/src/main.cpp

    when i tried in Path mapping to define /6731/omfv and in windows section N:/6731_omfv.
    when i press the error link i get VisualGDB error dialog: Failed to open ‘/6731_OMFV/SHMUEL/rdpMRS/rdp/dsg_cmp/src\..src\main.cpp(322)’.
    Please advise what i must do to get/jump to error line on mouse click

    in reply to: VisualGDB 5.6 Clean And Source line Build Fail connection #33757
    lashmuelE
    Participant

    Hello,
    i made mistake on the bit.cpp path. the correct path is /6731_omfv/SHMUEL/tdp_develop-linux/tdp/dsg_cmp/src/bit/bit.cpp and not as i mentioned before. so there is a match.
    also the window path computed by VisualGDB is n:\6731_omfv\SHMUEL\tdp_develop-linux\tdp\dsc_cmp\src\bit\bit.cpp  and not what you mentioned in par 4.

    so in short there is no inconsistencies as far as i understand.

    does it change the your conclusion? do you have other suggestion now?

    in reply to: VisualGDB 5.6 Clean And Source line Build Fail connection #33748
    lashmuelE
    Participant

    Hello,
    i tried your solution and still doesn’t work
    When i press the open directory button and select the 6731_OMV directory (as seen in PathToMountDirectory.JPG) i get automatic complete of $(ProjectDirLinux) to 6731_OMFV as seen in PathMappingAfterSelectLinuxDirectory.JPG
    When i manually type the Linux path and start with / i get “nothing found” comment and of course this option also doesn’t work.
    Also attached 2 more files to clarify the ProjectDirLinux
    Best regards
    Shmuel

    Attachments:
    You must be logged in to view attached files.
    in reply to: VisualGDB 5.6 Clean And Source line Build Fail connection #33740
    lashmuelE
    Participant

    Hello,
    The variable $(ProjectDirLinux) was created because i understood that Local directory (windows) and Remote directory (Linux) should point to the same directory where the project file is located.
    Since i have $(ProjectDir) that defines automatically the project path to windows and i don’t have such variable for Linux, so i had to create $(ProjectDirLinux).
    You wrote “the contents of its directory will be copied to $(ProjectDirLinux)” i guess you meant the compiler output (such as obj files)
    you also wrote “it will copy them ALL into the same $(ProjectDirLinux) directory” but the projects in the solution are stored in different directories, hence $(ProjectDirLinux) creates different path for each project.
    The full path of bit.cpp in windows is: n:\6731_omfv\SHMUEL\tdp_develop-linux\tdp\dsg_cmp\src\bit.cpp
    The full path of project file that include bit.cpp is: n:\6731_omfv\SHMUEL\tdp_develop-linux\tdp\dsc_cmp\projects\rdp.vcxproj
    N: is network drive in windows
    6731_omfv is folder that mounted from the Linux build machine to N drive hence the full path in Linux to bit.cpp file is: /6731_omfv/SHMUEL/tdp_develop-linux/tdp/dsg_cmp/src/bit.cpp
    Also when i go to Custom build steps and press the “Test the command now” (for ProjectDirLinux) i get: “Success: ProjectDirLinux=/6731_omfv/SHMUEL/tdp_develop-linux/tdp/dsg_cmp/projects”

    Best regards

    Shmuel

    • This reply was modified 1 year, 11 months ago by support. Reason: highlighted paths
    in reply to: VisualGDB 5.6 Clean And Source line Build Fail connection #33675
    lashmuelE
    Participant

    Hello,
    I created a project as you can see in the screenshot VisualGDBProjectSettings.JPG
    I had to create environment variable $(ProjectDirLinux) that defined automatically the Linux project directory as exists in windows at the variable $(ProjectDir). no such variable for Linux.
    It Works great for Build and Debug
    So i tried to Define the path you suggested in VisualGDB Project Properties -> Synchronized Directories using that variable (ProjectDirLinux) as you can see in VisualGDBSyncDirectories.JPG
    then i create a deliberate compile error but when i press error line in FailureLine.JPG i get the error message in VisualGDBFailureOpenException.JPG
    What i did wrong?
    Best regards
    Shmuel

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 19 total)