bachabharat

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Split: I cannot compile VisualGDB project #22951
    bachabharat
    Participant

    Hi, I got it solved. You were right about preserving the folder structure. I had the error even after solving that. There was a pop-up window asking me to install CMake while adding custom actions, which I cancelled thinking that its not a CMake project. Installing CMake solved the problem.

    I truly appreciate the responsiveness  of the support team and thanks for helping me out.

    • This reply was modified 6 years, 7 months ago by bachabharat.
    in reply to: Split: I cannot compile VisualGDB project #22945
    bachabharat
    Participant

    My project hierarchy goes as follows:

    Shared Files
    A.cpp
    A.h
    B.h
    C.h
    C.cpp (includes B.h, PA.h)
    ProjectDirectory
    PA.cpp
    PA.h (includes B.h)

    I added action in “Custom Build Steps” to copy the ‘Shared Files’ directory to remote computer.  All files (Shared Files and Project Directory) are copied into single directory on to remote target before build starts (which is to be expected)

    Note: Custom Build action worked only with absolute path not relative.

    Still I see build error

    1>make[1]: *** No rule to make target ‘../Shared’, needed by ‘VisualGDB/Debug/A.o’. Stop.
    1>make: *** [VisualGDB/Debug/<ProjectName>.msbuild-mak:14: all] Error 2

    • This reply was modified 6 years, 7 months ago by bachabharat.
    Attachments:
    You must be logged in to view attached files.
    in reply to: Split: I cannot compile VisualGDB project #22940
    bachabharat
    Participant

    Its not working. I meant I have to make it work using that option. How can I achieve that

Viewing 3 posts - 1 through 3 (of 3 total)