VisualDGB error MSB3073 including a library

Sysprogs forums Forums VisualGDB VisualDGB error MSB3073 including a library

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7384
    John24
    Participant

    Hello I am having issues with VisualGDB and Raspberry pi.

    So on the raspberry pi I have installed multiple libraries among them PCL and OpenCV.

    I have included the “include directories” properly as they do show up, as well as library directories and the library names as it passes the VisualGDB checks.

    So the code I am running looks like this:

    #include <iostream>
    #include <opencv2/opencv.hpp>
    //#include <pcl/point_types.h>
    //#include <pcl/io/pcd_io.h>

    using namespace std;

    int main()
    {
    cv::Mat img = cv::imread(“/home/pi/Desktop/depth/Head/IMG_0174.jpg”);
    cv::imshow(“Window”, img);
    cv::waitKey(0);

    return 0;
    }

    And it works fine loads an image and displays it but the moment I uncomment: //#include <pcl/io/pcd_io.h> or any file from the PCL library I get this error:

    1>  Executable: cmd.exe
    1>  Arguments: /c “C:\PiGCC\raspberry\bin\make.exe” CONFIG=Debug
    1>  Directory: C:\PiGCC\Projects\pi_Mathcing\pi_Mathcing
    1>VisualGDB : error : Command-line action failed
    1>EXEC : error : Build has failed. See the Output window for more details.
    1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “”C:\Program Files (x86)\Sysprogs\VisualGDB\\VisualGDB.exe” /build “C:\PiGCC\Projects\pi_Mathcing\pi_Mathcing\pi_Mathcing.vcxproj” “/solution:C:\PiGCC\Projects\pi_Mathcing\pi_Mathcing.sln” “/config:Debug” “/platform:Win32″” exited with code 1.

     

    And I really have no idea why this is happening.

    Any ideas?

    Thank you

     

     

     

    • This topic was modified 8 years, 10 months ago by John24.
    • This topic was modified 8 years, 10 months ago by support.
    #7388
    support
    Keymaster

    Hi,

    Please check the Output window for further details on the error. If this does not help, please share the contents of the Output window here so that we could help you.

    #7394
    John24
    Participant

    That was the output window content.

     

    But after trial and error I found out that there was a dependency issue, when I included PCL library it needed to include another library. All fixed now 🙂

    #7398
    support
    Keymaster

    Hi,

    Strange. If you are sure that the output window did not contain any other text or error messages, please feel free to send us the project causing this so that we could fix that. If VisualGDB skips some relevant error messages, we would rather fix it.

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