Category : visual-studio

The problem is quite strange. Basically my project works well, builds and there are no errors. All .h files are included and all was fine till now. I just cant open .h in Visual Studio. It gives no errors and just does not open files. Header files are situated in correct folders. I even reseted ..

Read more

Consider this little c++ waf project: main.cpp: #include <iostream> void main() { std::cout << "Hello world" << std::endl; } wscript def options(opt): opt.load(‘compiler_c’) def configure(conf): conf.load(‘compiler_c’) def build(bld): bld.program(source=’main.cpp’, target=’app’) I’d like to figure out how to build this project using different versions of visual studio compiler. In order to do that I use conemu ..

Read more

Header #include <iostream> #define GLFW_INCLUDE_VULKAN #include "GLFWglfw3.h" #include "PhysicalDeviceVK.h" #define CATCH(value) if(value != VK_SUCCESS){ __debugbreak;} class DeviceVK { private: /** * @return VkPhysicalDevice Get the best physical device. */ VkPhysicalDevice getPhysicalDevice(VkInstance instance); /** * @return uint32_t Get the index of the best queue family. */ uint32_t getQueueFamily(std::vector<VkQueueFamilyProperties> queueFamilies); /** * @return VkDeviceCreateInfo create the device ..

Read more

How to reproduce: (1) Extract sub folder "llvm" and "clang" in LLVM9.x source from the zip downloaded from LLVM GitHub (root folder in the zip is llvm-project-release-9.x) (2) Create a build folder "build-x64" at the same level, and cd to the folder in the VS2017 x64 native tools command line window. (3) execute: cmake -DLLVM_ENABLE_PROJECTS="clang" ..

Read more