I am not able to hit breakpoint in Visual studio C++ project in release mode which is created using CMake. Its giving warning "The breakpoint will not currently be hit, no symbols have been loaded for this document." Not able to get reason why this is happening. Source: Windows Que..
In visual studio 2017 I made some program using several library with vcpkg. and I build this program. program run in my computer but it doesn’t run on other desktop. I don’t know how to solve this problem. even though I searched a lot. I didn’t found any similar case. here is the error message. ..
When I define an unused variable in visual studio (2017 & 2019), I’m getting inconsistent warnings. Primitives and instances of classes I create seem to always give the warning while stl containers like std::vector do not get warnings. What could be causing this and is there a way to ensure the warning appears on stl ..
I am trying to run one of the example codes from the CPP Mex Repository of Matlab R2021a in the VS2017 IDE. Specifically, I am running the phonebook.cpp one. I previously ran with no problems when compiling other solutions in VS2017 with the C Mex API following this guide. However, I get the following message ..
I want to immigrate PageRank algorithm in the sgx enclave. The algorithm uses vector to save the edge relationship and matrix. vector<size_t> num_outgoing; // number of outgoing links per column vector< vector<size_t> > rows; // the rowns of the hyperlink matrix map<string, size_t> nodes_to_idx; // mapping from string node IDs to numeric map<size_t, string> idx_to_nodes; ..
I am building my code in visual studio 2017, release is working fine but debug build is throwing below error Error msg Thing that i have tried is method-1 url:- https://docs.microsoft.com/en-us/cpp/standard-library/iterator-debug-level?view=msvc-160 What should be it’s solution. Source: Windows Que..
When using absl::StrFormat, I’m getting static code analysis warnings in VisualStudio 2017 (Red underlines). My code builds and runs but I can’t figure out why I’m getting this warning. What could be causing this and is there anything I can do to fix or suppress the red underlines? Here is a simple example, absl::StrFormat("hello %s", ..
I’m trying to combine two project (QML widow project and OpenCV+Libtorch project) in QtCreator. Funny that I can run QML project properly in QtCreator by MSVC2017x64Release, and run OpenCV+libTorch project in Visual Studio 2017 by MSVC2017x64Release. However, When I trying to run my QML project in VS2017 using Qt VS Tool, error occured. In Debug ..
I’m trying to make single linked list’s fucntions. but it reports an error. like this.. i am trying to a lot of thing about that. like using rvlaue reference, double pointer but nothings work.. what is the problem? and can i return p pointer in getNode(int k) fucntion? #include<iostream> using namespace std; template<typename T> class ..
I am working on a c++ project using Microsoft visual studio 2017. We use boost::stacktrace::stacktrace() API to generate a functions stacktrace when the application crashes. Recently I noticed on Release build that when a PDB file is generated, its absolute path is embedded into the exe/dll file. IF the PDB file exists at that path ..