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 9 years ago by John24.
-
This topic was modified 9 years ago by support.