Category : include-path

In a .cpp file i have icluded the following #include "MatlabDataArray.hpp" #include "MatlabEngine.hpp" And I get the following error: fatal error: MatlabDataArray.hpp: No such file or directory the path of the files is /usr/local/MATLAB/R2020b/extern/include/ and I have tried to put it in the c_cpp_properties.json: { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/**", "../../../../usr/local/MATLAB/R2020b/extern/include", "/usr/local/MATLAB/R2020b/extern/include/**", ..

Read more

I am trying to work with the aws-sdk-cpp library in VScode on my Windows 10 64bit machine. Setup: I’ve installed the C/C++ extension in VScode and MinGW-64x following this tutorial: https://code.visualstudio.com/docs/languages/cpp. I am able to compile and build the following simple hello world example. #include <iostream> #include <aws-sdk-cpp> using namespace std; int main() { cout ..

Read more

I’m trying to build Kalman Filter with mingw32-make (TDM-GCC-64) and compilation stops with fatal error: C:Usersdanny23Desktopkalman-1.3kalman>mingw32-make g++ -c -Wall -W -Wfloat-equal -Winline -Wno-deprecated -O3 -DNDEBUG -I`pwd` -o kstatics.o kstatics.cpp In file include`enter code here`d from kstatics.cpp:32:0: kalman/kvector.hpp:37:29: fatal error: kalman/ktypes.hpp: No such file or directory compilation terminated. makefile:42: recipe for target ‘kstatics.o’ failed mingw32-make: *** ..

Read more

I am trying my best to include FreeRTOS into a new Project on VS Code for Mac. I have created a directory for my project, added a main.cpp, configure the default build task for C/C++ clang. I have also created the c_cpp_properties.json. My project consists of three folders; ‘src’ containing my main.cpp, and ‘FreeRTOS’ containing ..

Read more

After downloading, compiling and installing poppler-21.02.0, I’m having difficulty in including header files and linking the library. O.S. : Ubuntu 18.04 Desktop in .bashrc file : export CPATH=/usr/local/include/ export CPLUS_INCLUDE=/usr/local/include export PATH=$PATH:/usr/local/include/poppler export PATH=$PATH:/usr/local/lib If I put in docOpening.cpp : #include <iostream> #include "/home/marco/poppler-21.02.0/cpp/poppler-document.h" #include "/home/marco/poppler-21.02.0/cpp/poppler-page.h" using namespace std; int main() { return 0; } ..

Read more