Issue I’m using GLM, which is a library that provides some low level math types and functions I use everywhere. But using this Visual Studio addon revealed that GLM comprises about 50% of my compilation time, or around 30 seconds,
Continue readingTag: c++
[SOLVED] Collapse all lines to one line in VS2019?
Issue I there any way to do the following in VS2019? Say I have code that looks like this: Somefunction(); SomeStatement; SomeOtherFunction(); I want to select these lines, and quickly and easily press a button or key and have it
Continue reading[SOLVED] Unexpected page fault when writing return value from assembly procedure
Issue I am experimenting mixing assembly(x86) and C++. I wrote a procedure in assembly and then called it from C++. However, when writing the returned value to a local variable I get a write permission violation error. #include <iostream> //
Continue reading[SOLVED] Why does Visual Studio go to the definition of SOME variables that are not defined?
Issue I endured a frustrating few hours trying to unravel a certain compiler error when I foolishly made the mistake of assuming that if Visual Studio was prepared to go to a definition of a variable that I right-clicked on,
Continue reading[SOLVED] Set icon for Qt application built in Visual Studio
Issue I have a Qt application that I’ve made in Visual Studio however I can’t figure out how to create the executable (on windows) with a specific icon instead of the default windows executable icon. Anyone know the simplest way
Continue reading[SOLVED] Visual Studio comment multiple variables at once?
Issue variables comment method in which a group of variables receive the same comment if the variables declared in a class is for the same task, I don’t want to write the same comment for each variable , it make
Continue reading[SOLVED] How to determine current build type of visual studio in CMakeList.txt
Issue This is my build command in CMD: cmake –build . –config Debug This Debug can sometimes be Release, or sometimes it is the default. And I have a code in my CMakeList.txt: if(CMAKE_BUILD_TYPE STREQUAL "Debug") target_link_libraries(${PROJECT_NAME} PRIVATE LLUd wstp64i4)
Continue reading[SOLVED] VS debugger – Identify DLL function names from DLL exports (no PDB available)
Issue I have a segfault in a mess of DLLs that I unfortunately cannot acquire .pdb files for. While I have a stack trace, this is unhelpful as I can’t pin down exactly where things are going wrong. I am
Continue reading[SOLVED] what does (template) rebind<> do?
Issue trying to learn more about how the standard library is actually implemented I’m inspecting all containers in visual studio.. Here I see some curious structure: In some base class of a std::list<> The following typedef is found typedef typename
Continue reading[SOLVED] error: command 'C:\\ Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.14.26428\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
Issue Hi so I was trying to pip install python-ldap using my git bash but at first it told me that i don’t have cl.exe so i downloaded the visual studio C++ pack now it’s showing this error error: command
Continue reading